| 1 | <?php |
||
| 7 | class PagedModel extends Model |
||
| 8 | { |
||
| 9 | protected $page = null; |
||
| 10 | |||
| 11 | protected $total = null; |
||
| 12 | |||
| 13 | protected $count = null; |
||
| 14 | |||
| 15 | protected $items = null; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Retrieve the count property |
||
| 19 | * |
||
| 20 | * @return int|null |
||
| 21 | */ |
||
| 22 | 14 | public function getCount() |
|
| 26 | |||
| 27 | /** |
||
| 28 | * Retrieve the page property |
||
| 29 | * |
||
| 30 | * @return int|null |
||
| 31 | */ |
||
| 32 | 14 | public function getPage() |
|
| 36 | |||
| 37 | /** |
||
| 38 | * Retrieve the total property |
||
| 39 | * |
||
| 40 | * @return int|null |
||
| 41 | */ |
||
| 42 | 14 | public function getTotal() |
|
| 46 | |||
| 47 | /** |
||
| 48 | * Retrieve the items property |
||
| 49 | * |
||
| 50 | * @return ObjectModel|null |
||
| 51 | */ |
||
| 52 | 15 | public function getItems() |
|
| 56 | } |
||
| 57 |