| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function __construct( |
||
| 35 | $page, |
||
| 36 | $recordsPerPage, |
||
| 37 | $totalPages, |
||
| 38 | $totalCount, |
||
| 39 | $links |
||
| 40 | ) { |
||
| 41 | $this->page = $page; |
||
| 42 | $this->recordsPerPage = $recordsPerPage; |
||
| 43 | $this->totalPages = $totalPages; |
||
| 44 | $this->totalCount = $totalCount; |
||
| 45 | $this->currentLink = $links['current']; |
||
| 46 | $this->prevLink = $links['prev']; |
||
| 47 | $this->nextLink = $links['next']; |
||
| 48 | $this->lastLink = $links['last']; |
||
| 49 | } |
||
| 59 |