Source

Uva Searchengines / protected / views / word / index.php

Full commit
<?php
$this->breadcrumbs = array(
    'Woorden',
);

$this->menu = array(
    array('label' => 'Create Word', 'url' => array('create')),
    array('label' => 'Manage Word', 'url' => array('admin')),
);
?>

<h1>Woorden</h1>

<?php $this->widget('zii.widgets.grid.CGridView', array(
        'dataProvider' => $dataProvider,
        'template' => "{summary}\n{pager}<br>\n\n{items}\n{pager}",
        'columns' => array(
            'id',
            array(
                'class' => 'CLinkColumn',
                'labelExpression' => '$data->text',
                'urlExpression' => 'Yii::app()->createUrl("word/view", array("id"=>$data->id))',
            ),
            'count',
        )
    )
); ?>