title = '文件收集'; $this->params['breadcrumbs'][] = $this->title; ?>
= Html::a('创建文件收集', ['home/index'], ['class' => 'btn btn-success']) ?>
render('_search', ['model' => $searchModel]); ?> = GridView::widget([ 'dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'columns' => [ ['class' => 'yii\grid\SerialColumn'], 'id', // 'user_id', 'folder_path', 'created_at', 'secret', [ 'class' => ActionColumn::className(), 'template' => '{view} {delete}', 'urlCreator' => function ($action, CollectionTasks $model, $key, $index, $column) { return Url::toRoute([$action, 'id' => $model->id]); } ], ], ]); ?>