1 | <?php |
||
7 | class Paginator |
||
8 | { |
||
9 | private $options; |
||
10 | private $numberOfRecords; |
||
11 | |||
12 | public function __construct(GridContext $options, int $numberOfRecordsOnPage, int $numberOfRecords = null) |
||
18 | |||
19 | public function getPageSize(): int |
||
23 | |||
24 | public function getCurrentPage(): int |
||
28 | |||
29 | public function getNumberOfRecords() |
||
33 | |||
34 | public function getLastPage(): int |
||
38 | |||
39 | public function isLastPage(): bool |
||
43 | |||
44 | public function getLinkParams($page = null) |
||
50 | } |
||
51 |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.