Свойство | Тип | Описание | |
---|---|---|---|
$input | array |
Метод | Описание | |
---|---|---|
__construct ( array $input ) | ||
getFields ( ) : array | Get the fields requested for inclusion. | |
getFilter ( ) : mixed | Get a filter item. | |
getInclude ( array $available = [] ) : array | Get the includes. | |
getLimit ( integer | null $max = null ) : integer | null | Get the limit. | |
getOffset ( integer | null $perPage = null ) : integer | Get number of offset. | |
getSort ( array $available = [] ) : array | Get the sort. |
Метод | Описание | |
---|---|---|
getInput ( string $key, null $default = null ) : mixed | Get an input item. | |
getOffsetFromNumber ( integer $perPage ) : integer | Calculate the offset based on the page[number] parameter. | |
getPage ( string $key ) : string | Get the page. |
public getInclude ( array $available = [] ) : array | ||
$available | array | |
Результат | array |
protected getOffsetFromNumber ( integer $perPage ) : integer | ||
$perPage | integer | |
Результат | integer |