| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 14 | protected function getColumns() |
||
| 15 | { |
||
| 16 | $showColumn = array( |
||
| 17 | array( |
||
| 18 | 'type'=>'raw', |
||
| 19 | 'name'=>'showtitle', |
||
| 20 | 'header'=>Yii::t('RecentlyAddedEpisodes', 'TV Show'), |
||
| 21 | 'value'=>function($data) { |
||
| 22 | return CHtml::link($data->showtitle, Yii::app()->createUrl('tvShow/details', array('id'=>$data->tvshowid))); |
||
| 23 | } |
||
| 24 | ) |
||
| 25 | ); |
||
| 26 | |||
| 27 | return array_merge($showColumn, parent::getColumns()); |
||
| 28 | } |
||
| 31 |