class Query extends BaseQuery

A Query is used to filter and order collections when making API requests.

Methods

array
getQueryData()

Returns the parameters to execute this query.

$this
setInclude(int $include = \null)

Set the amount of levels of links that should be resolved.

$this
setLocale(string $locale = \null)

Sets the locale for which content should be retrieved. Set it to * to retrieve all locales.

Details

at line 40
array getQueryData()

Returns the parameters to execute this query.

Return Value

array

at line 60
$this setInclude(int $include = \null)

Set the amount of levels of links that should be resolved.

Parameters

int $include

Return Value

$this

at line 74
$this setLocale(string $locale = \null)

Sets the locale for which content should be retrieved. Set it to * to retrieve all locales.

Parameters

string $locale

Return Value

$this