title = '分享'; $this->params['breadcrumbs'][] = $this->title; ?>

title) ?>

'btn btn-success']) ?>

render('_search', ['model' => $searchModel]); ?> $dataProvider, 'filterModel' => $searchModel, 'columns' => [ ['class' => 'yii\grid\SerialColumn', 'headerOptions' => ['style' => 'width:4%;'], ], [ 'attribute' => 'share_id', 'headerOptions' => ['style' => 'width:6%;'], ], // 'sharer_id', [ 'attribute' => 'file_relative_path', 'headerOptions' => ['style' => 'width:60%;'], ], [ 'attribute' => 'access_code', 'headerOptions' => ['style' => 'width:7%;'], ], [ 'attribute' => 'creation_date', 'headerOptions' => ['style' => 'width:15%;'], ], [ 'class' => ActionColumn::className(), 'headerOptions' => ['style' => 'width:8%;'], 'urlCreator' => function ($action, Share $model, $key, $index, $column) { return Url::toRoute([$action, 'share_id' => $model->share_id]); } ], ], ]); ?>