Exemplo n.º 1
0
<?php

use yii\helpers\Html;
use oknetsun\axis\widgets\category\CategoryWidget;
/* @var $this yii\web\View */
/* @var $searchModel app\models\ArticlesSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Category';
//$this->params['breadcrumbs'][] = $this->title;
?>
<div id="category" class="row">

    <?php 
echo CategoryWidget::widget(['cat_id' => $model->id]);
?>

</div>
Exemplo n.º 2
0
<?php

use oknetsun\axis\widgets\category\CategoryWidget;
$this->title = 'Cui prodest?';
?>


<div class="site-index">
 	<?php 
echo CategoryWidget::widget(['cat_id' => 0]);
?>
</div>