Код: Выделить всё
Html::activeTextInput($model, 'attribute', $options=[]);
Код: Выделить всё
Html::activeTextInput($model, 'attribute', $options=[]);
Код: Выделить всё
var csrf = $('meta[name="csrf-token"]').attr("content");
$.ajax({
data: {_csrf : csrf}
});
а теперь composer self-updatekeltstr писал(а):Обновил плагин до 1.0.0-beta-4 - работает
composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
Note: The options you set in a bundle class apply to every CSS/JavaScript file in the bundle. If you want to use different options for different files, you should create separate asset bundles, and use one set of options in each bundle.
namespaceRAPOS писал(а):Что использовать вместо $this->setImport?
Код: Выделить всё
$this->registerMetaTag('description', ['content' => 'description page']);
Код: Выделить всё
Yii::$app->formatter->asDate(strtotime($model->pubDate), "php:d/m");