| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class Pagination extends AbstractComponent |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Create a paginator. |
||
| 12 | * |
||
| 13 | * @param int $nPageNumber The current page number |
||
| 14 | * @param int $nItemsPerPage The number of items per page |
||
| 15 | * @param int $nTotalItems The total number of items |
||
| 16 | * |
||
| 17 | * @return Paginator |
||
| 18 | */ |
||
| 19 | final public function paginator(int $nPageNumber, int $nItemsPerPage, int $nTotalItems): Paginator |
||
| 20 | { |
||
| 21 | return $this->_response()->paginator($nPageNumber, $nItemsPerPage, $nTotalItems); |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @inheritDoc |
||
| 26 | */ |
||
| 27 | final public function render(): AjaxResponse |
||
| 30 | } |
||
| 31 | } |
||
| 32 |