1 | <?php |
||
2 | class JqmLinkPager extends CLinkPager |
||
3 | { |
||
4 | public $header = ''; |
||
|
|||
5 | public $htmlOptions = array('class'=>'', 'data-role'=>'controlgroup', 'data-type'=>'horizontal', 'data-mini'=>'true'); |
||
6 | public $maxButtonCount=5; |
||
7 | public $nextPageLabel = '>'; |
||
8 | public $prevPageLabel = '<'; |
||
9 | public $firstPageLabel = '<<'; |
||
10 | public $lastPageLabel = '>>'; |
||
11 | |||
12 | /** |
||
13 | * @return string |
||
14 | */ |
||
15 | protected function createPageButton($label, $page, $class, $hidden, $selected) |
||
27 | } |
||
28 |
This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line.
To visualize
will produce issues in the first and second line, while this second example
will produce no issues.