| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function compile(JsUtils $js=NULL,&$view=NULL){ |
||
| 20 | $this->insertItem(new HtmlIcon("", "left chevron"))->setProperty("data-page", \max([1,$this->_page-1])); |
||
| 21 | $this->addItem(new HtmlIcon("", "right chevron"))->setProperty("data-page", \min([\sizeof($this->content)-2,$this->_page+1])); |
||
| 22 | $this->asPagination(); |
||
| 23 | return parent::compile($js,$view); |
||
| 24 | } |
||
| 25 | |||
| 36 | } |