| 1 | <?php |
||
| 13 | abstract class AbstractPaginatedModel |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | * @Type("App\Model\PaginationLinks") |
||
| 18 | * @Expose |
||
| 19 | */ |
||
| 20 | protected $_links; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var integer |
||
| 24 | * @Type("integer") |
||
| 25 | */ |
||
| 26 | protected $pageCount; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var int |
||
| 30 | * |
||
| 31 | * @Type("integer") |
||
| 32 | * @Expose |
||
| 33 | */ |
||
| 34 | protected $page; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @var int |
||
| 38 | * |
||
| 39 | * @Type("integer") |
||
| 40 | * @Expose |
||
| 41 | */ |
||
| 42 | protected $totalCount; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return mixed |
||
| 46 | */ |
||
| 47 | 8 | public function getPageCount() |
|
| 51 | |||
| 52 | /** |
||
| 53 | * @param mixed $pageCount |
||
| 54 | */ |
||
| 55 | 8 | public function setPageCount($pageCount) |
|
| 59 | |||
| 60 | /** |
||
| 61 | * @return mixed |
||
| 62 | */ |
||
| 63 | public function getPage() |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @param mixed $page |
||
| 70 | */ |
||
| 71 | 8 | public function setPage($page) |
|
| 75 | |||
| 76 | /** |
||
| 77 | * @return int |
||
| 78 | */ |
||
| 79 | 8 | public function getTotalCount() |
|
| 83 | |||
| 84 | /** |
||
| 85 | * @param $totalCount |
||
| 86 | */ |
||
| 87 | 8 | public function setTotalCount($totalCount) |
|
| 91 | |||
| 92 | /** |
||
| 93 | * @return mixed |
||
| 94 | */ |
||
| 95 | public function getLinks() |
||
| 99 | |||
| 100 | /** |
||
| 101 | * @param mixed $_links |
||
| 102 | * @return $this |
||
| 103 | */ |
||
| 104 | 8 | public function setLinks($_links) |
|
| 110 | } |
||
| 111 |