class Query extends BaseQuery

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

Methods

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 38
getQueryData()

Returns the parameters to execute this query.

at line 56
$this setInclude(int $include = null)

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

Parameters

int $include

Return Value

$this

at line 68
$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