generateUrlParams(); echo " use yii\helpers\Html; use yii\widgets\DetailView; /** * @var yii\base\View $this * @var modelClass, '\\') ?> $model */ $this->title = $model->getNameAttribute() ?>; $this->params['breadcrumbs'][] = ['label' => 'modelClass))) ?>', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?>

Html::encode($this->title) ?>

Html::a('Update', ['update', ], ['class' => 'btn btn-primary']) ?> echo Html::a('Delete', ['delete', ], [ 'class' => 'btn btn-danger', 'data-confirm' => Yii::t('app', 'Are you sure to delete this item?'), 'data-method' => 'post', ]); ?>

echo DetailView::widget([ 'model' => $model, 'attributes' => [ getTableSchema()->columns as $column) { $format = $generator->generateColumnFormat($column); echo "\t\t\t'" . $column->name . ($format === 'text' ? "" : ":" . $format) . "',\n"; } ?> ], ]); ?>