class Query

A sync Query can be used to limit what type of resources and events should be synced.

Methods

getQueryData()

Returns the parameters to execute this query.

getQueryString()

The urlencoded query string for this query.

$this
setType(string $type = null)

Set the Type of event or resource to sync.

$this
setContentType(ContentType|string|null $contentType)

Set the content type to which results should be limited. Set to NULL to not filter for a content type.

Details

at line 40
getQueryData()

Returns the parameters to execute this query.

at line 54
getQueryString()

The urlencoded query string for this query.

at line 76
$this setType(string $type = null)

Set the Type of event or resource to sync.

Set to null to sync everything.

Valid values for $type are: - all - Asset - Entry - Deletion - DeletedAsset - DeletedEntry

Parameters

string $type

Return Value

$this

Exceptions

InvalidArgumentException when an invalid $type is set

at line 95
$this setContentType(ContentType|string|null $contentType)

Set the content type to which results should be limited. Set to NULL to not filter for a content type.

Parameters

ContentType|string|null $contentType

Return Value

$this