Calls
5 days ago
.htaccess
1 year ago
Ajax.php
5 days ago
ListRecord.php
1 year ago
aAjax.php
1 year ago
iAjax.php
1 year ago
index.html
1 year ago
web.config
1 year ago
ListRecord.php
34 lines
| 1 | <?php |
| 2 | |
| 3 | namespace JetBackup\Ajax; |
| 4 | |
| 5 | if (!defined( '__JETBACKUP__')) die('Direct access is not allowed'); |
| 6 | |
| 7 | abstract class ListRecord extends aAjax { |
| 8 | |
| 9 | /** |
| 10 | * @return int |
| 11 | */ |
| 12 | public function getSkip():int { return (int) $this->_data->get('skip', 0); } |
| 13 | |
| 14 | /** |
| 15 | * @return int |
| 16 | */ |
| 17 | public function getLimit():int { return (int) $this->_data->get('limit', 0); } |
| 18 | |
| 19 | /** |
| 20 | * @return array |
| 21 | */ |
| 22 | public function getSort():array { return (array) $this->_data->get('sort', []); } |
| 23 | |
| 24 | /** |
| 25 | * @return array |
| 26 | */ |
| 27 | public function getFind():array { return $this->_data->get('find', []); } |
| 28 | |
| 29 | /** |
| 30 | * @return string |
| 31 | */ |
| 32 | public function getFilter():string { return $this->_data->get('filter'); } |
| 33 | |
| 34 | } |