You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
238 B

7 years ago
<?php
/**
* @var $this \yii\web\View
* @var $view string
* @var $posts \core\entities\post\Post[]
*/
?>
<?php foreach ( $posts as $post ): ?>
<?= $this->render( $view . '_item', [
'post' => $post
] ) ?>
<?php endforeach; ?>