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