PHP Classes

File: views/backend/media/images-gallery.php

Recommend this page to a friend!
  Classes of Gabriel Alejandro López López   Yii2 Website Module   views/backend/media/images-gallery.php   Download  
File: views/backend/media/images-gallery.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Yii2 Website Module
Add a content page management system to a site
Author: By
Last change:
Date: 1 month ago
Size: 249 bytes
 

Contents

Class file image Download
<?php

use yii\widgets\ListView;

?>

<?=
ListView
::widget([
   
'dataProvider' => $dataProvider,
   
'layout' => '<div class="row image-gallery">{items}</div>{pager}',
   
'itemOptions' => ['class' => 'col-md-3'],
   
'itemView' => '_image',
])
?>