Query
class Query
A sync Query can be used to limit what type of resources and events should be synced
Methods
Query constructor.
Returns the parameters to execute this query.
The urlencoded query string for this query.
Set the Type of event or resource to sync.
Set the content type to which results should be limited. Set to NULL to not filter for a content type.
Details
at line 38
__construct()
Query constructor.
Empty for now, included for forward compatibility.
at line 49
array
getQueryData()
Returns the parameters to execute this query.
at line 67
string
getQueryString()
The urlencoded query string for this query.
at line 93
$this
setType(string|null $type)
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
at line 114
$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.