芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/airport-back/vendor/yiisoft/yii2-gii/src/generators/crud/default/views/update.php
generateUrlParams(); $modelClassName = Inflector::camel2words(StringHelper::basename($generator->modelClass)); $nameAttributeTemplate = '$model->' . $generator->getNameAttribute(); $titleTemplate = $generator->generateString('Update ' . $modelClassName . ': {name}', ['name' => '{nameAttribute}']); if ($generator->enableI18N) { $title = strtr($titleTemplate, ['\'{nameAttribute}\'' => $nameAttributeTemplate]); } else { $title = strtr($titleTemplate, ['{nameAttribute}\'' => '\' . ' . $nameAttributeTemplate]); } echo " use yii\helpers\Html; /** @var yii\web\View $this */ /** @var = ltrim($generator->modelClass, '\\') ?> $model */ $this->title = = $title ?>; $this->params['breadcrumbs'][] = ['label' => = $generator->generateString(Inflector::pluralize(Inflector::camel2words(StringHelper::basename($generator->modelClass)))) ?>, 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->= $generator->getNameAttribute() ?>, 'url' => ['view', = $urlParams ?>]]; $this->params['breadcrumbs'][] = = $generator->generateString('Update') ?>; ?>
= '= ' ?>Html::encode($this->title) ?>
= '= ' ?>$this->render('_form', [ 'model' => $model, ]) ?>