generateUrlParams(); echo " use yii\helpers\Html; use yii\widgets\DetailView; /** * @var yii\web\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']) ?> Html::a('Delete', ['delete', ], [ 'class' => 'btn btn-danger', 'data' => [ 'confirm' => Yii::t('app', 'Are you sure you want to delete this item?'), 'method' => 'post', ], ]) ?>

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