Свойство | Type | Description | |
---|---|---|---|
$input | array |
Méthode | Description | |
---|---|---|
__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. |
Méthode | Description | |
---|---|---|
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 | |
Résultat | array |
protected getOffsetFromNumber ( integer $perPage ) : integer | ||
$perPage | integer | |
Résultat | integer |