EpisodeGrid   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 16
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A renderKeys() 0 2 1
A registerClientScript() 0 2 1
1
<?php
2
3
/**
4
 * Custom grid view for the episode list. Same as in ResultGrid we don't need 
5
 * keys or scripts so we override the respective methods.
6
 *
7
 * @see ResultGrid
8
 * @author Sam Stenvall <[email protected]>
9
 * @copyright Copyright &copy; Sam Stenvall 2013-
10
 * @license https://www.gnu.org/licenses/gpl.html The GNU General Public License v3.0
11
 */
12
Yii::import('bootstrap.widgets.TbGridView');
13
14
class EpisodeGrid extends TbGridView
15
{
16
17
	/**
18
	 * Override parent implementation and do nothing
19
	 */
20
	public function renderKeys()
21
	{
22
		
23
	}
24
25
	/**
26
	 * Override parent implementation and do nothing
27
	 */
28
	public function registerClientScript()
29
	{
30
		
31
	}
32
33
}