request->get('page'));
$this->title = 'Подписи фото отсутствуют';
$this->params['breadcrumbs'][] = ['label' => 'Подписи фото', 'url' => ['phototitle']];
$this->params['breadcrumbs'][] = $this->title;
if ($this->beginCache('fd7fsdt8f_'.$page, ['duration' => 3600])) {
$dataProvider = new \yii\data\ActiveDataProvider(
[
"query"=>\app\models\front\News::find()->andWhere(['>', 'dt_pub', Yii::$app->params['delPhotoE'] ])->andWhere([ 'or',"`photo_title`=''", ['or', '`photo_title`="\'\'"']])->orderBy(['dt_pub'=>SORT_DESC]),
'pagination' => [
'pageSize' => 30,
],
]
);
?>
фото |
дата |
Статья |
Фото подпись |
= ListView::widget([
'dataProvider' => $dataProvider,
'options' => [
'tag' => "div",
'class' => 'list-wrapper',
'id' => 'list-wrapper',
],
"itemOptions"=>[
"tag"=>"tr",'class' => '',
],
"itemView" => "_itemtitles",
"layout" => "{items}\n{pager}\n{summary}",
'pager' => [
'prevPageCssClass' => 'page-item',
'firstPageLabel' => 'Начало',
'lastPageLabel' => 'Конец',
'linkOptions' => [ 'class'=>'page-link'],
'pageCssClass' => 'page-item',
'disabledListItemSubTagOptions' => ['tag' => 'a', 'class' => 'page-link'],
]
]) ?>
$this->endCache();
}