Answer the question
In order to leave comments, you need to log in
How to install Yii 2 advanced via composer?
Good afternoon,
I can't install Yii 2 advanced via composer.
I use, as in the manual, through the command line:
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced advanced
Answer the question
In order to leave comments, you need to log in
<?= GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
['class' => 'yii\grid\SerialColumn'],
...
[
'class' => 'yii\grid\ActionColumn',
'template' => '{view} {update} {mydelete}',
'buttons' => [
'mydelete' => function ($url,$model) {
return Html::a(
'удаляшка',
['/controller/delete', 'id'=>$model->id, 'second_hren'=>'hihichpock']);
},
],
],
],
]); ?>
As I understand it, the token from GitHub a. What is the problem?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question