<!-- begin categories widget -->
<?php 
Yii::beginProfile("CategoriesWidget - menu render");
echo yii\widgets\Menu::Widget(['items' => $possible_selections, 'options' => ['class' => 'widget-categories']]);
Yii::endProfile("CategoriesWidget - menu render");
?>
<!-- end of categories widget -->
예제 #2
0
파일: tree.php 프로젝트: tqsq2005/dotplant2
<?php

/**
 * @var \yii\web\View $this
 * @var array $tree
 */
echo yii\widgets\Menu::Widget(['items' => $tree, 'activeCssClass' => $activeClass, 'activateParents' => $activateParents, 'options' => ['class' => 'widget-categories']]);
예제 #3
0
파일: tree.php 프로젝트: Razzwan/dotplant2
<?php

/**
 * @var \yii\web\View $this
 * @var array $tree
 */
echo yii\widgets\Menu::Widget(['items' => $tree, 'options' => ['class' => 'widget-categories']]);