Method | Description | |
---|---|---|
__construct ( string | |
Creates filter object. | |
addId ( string $id ) | Adds one more filter to the and filter. | |
addType ( string | |
Adds one more type to query. | |
setIds ( array | string $ids ) | Sets the ids to filter. | |
setType ( array | string | |
Set type. | |
toArray ( ) : array | Converts filter to array. |
public __construct ( string | |
||
$type | string | |
Type to filter on |
$ids | array | List of ids |