Example #1
0
<?php

$this->breadcrumbs = array(ClassGuitar::label(2), Yii::t('app', 'Index'));
$this->menu = array(array('label' => Yii::t('app', 'Create') . ' ' . ClassGuitar::label(), 'url' => array('create')), array('label' => Yii::t('app', 'Manage') . ' ' . ClassGuitar::label(2), 'url' => array('admin')));
?>

<h1><?php 
echo GxHtml::encode(ClassGuitar::label(2));
?>
</h1>

<?php 
$this->widget('zii.widgets.CListView', array('dataProvider' => $dataProvider, 'itemView' => '_view'));