Property | Type | Description | |
---|---|---|---|
$input | array |
Method | 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. |
Method | 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 | |
return | array |
protected getOffsetFromNumber ( integer $perPage ) : integer | ||
$perPage | integer | |
return | integer |