BaseFilter
extends Data
in package
AbstractYes
Table of Contents
Properties
Methods
- __construct() : mixed
- getLimit() : int
- getOffset() : int
- setLimit() : void
- setOffset() : void
- toQueryParameters() : array<string|int, mixed>
- buildQuery() : array<string|int, mixed>
Properties
$limit
public
int
$limit
= 25
$offset
public
int
$offset
= 0
Methods
__construct()
public
__construct([int $limit = 25 ][, int $offset = 0 ]) : mixed
Parameters
- $limit : int = 25
- $offset : int = 0
getLimit()
public
getLimit() : int
Return values
intgetOffset()
public
getOffset() : int
Return values
intsetLimit()
public
setLimit(int $limit) : void
Parameters
- $limit : int
setOffset()
public
setOffset(int $offset) : void
Parameters
- $offset : int
toQueryParameters()
public
toQueryParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>buildQuery()
protected
abstract buildQuery() : array<string|int, mixed>