%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11585/cwd/html/egp/vendor/yiisoft/yii2-gii/src/generators/crud/default/views/ |
Upload File : |
<?php use yii\helpers\Inflector; use yii\helpers\StringHelper; /* @var $this yii\web\View */ /* @var $generator yii\gii\generators\crud\Generator */ $urlParams = $generator->generateUrlParams(); echo "<?php\n"; ?> use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model <?= ltrim($generator->modelClass, '\\') ?> */ $this->title = $model-><?= $generator->getNameAttribute() ?>; $this->params['breadcrumbs'][] = ['label' => <?= $generator->generateString(Inflector::pluralize(Inflector::camel2words(StringHelper::basename($generator->modelClass)))) ?>, 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($this); ?> <div class="<?= Inflector::camel2id(StringHelper::basename($generator->modelClass)) ?>-view"> <h1><?= "<?= " ?>Html::encode($this->title) ?></h1> <p> <?= "<?= " ?>Html::a(<?= $generator->generateString('Update') ?>, ['update', <?= $urlParams ?>], ['class' => 'btn btn-primary']) ?> <?= "<?= " ?>Html::a(<?= $generator->generateString('Delete') ?>, ['delete', <?= $urlParams ?>], [ 'class' => 'btn btn-danger', 'data' => [ 'confirm' => <?= $generator->generateString('Are you sure you want to delete this item?') ?>, 'method' => 'post', ], ]) ?> </p> <?= "<?= " ?>DetailView::widget([ 'model' => $model, 'attributes' => [ <?php if (($tableSchema = $generator->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"; } } ?> ], ]) ?> </div>