*/ interface DatatableRequest { const PARAM_ROWS = 'rows'; const PARAM_PAGE = 'page'; const PARAM_SORT_BY = 'sortby'; const PARAM_SORT_ORDER = 'sortorder'; const PARAM_SORT_TYPE = 'sorttype'; const PARAM_FILTERS = 'filtercolumns'; /** * Get amount of records per page * @return integer */ public function getRows(); /** * Get page number * @return integer */ public function getPage(); /** * Get sorting column name * @return string */ public function getSortBy(); /** * Get sorting direction * @return string */ public function getSortOrder(); /** * Get sorting type * @return string */ public function getSortType(); /** * Get filters * @return array */ public function getFilters(); }