Interface

eZ\Publish\Core\QueryType\QueryType

interface QueryType

A QueryType is a pre-defined content or location query.

QueryTypes must be registered with the service container using the ezpublish.query_type service tag.

Methods

Query getQuery(array $parameters = array())

Builds and returns the Query object.

array getSupportedParameters()

Returns an array listing the parameters supported by the QueryType.

static string getName()

Returns the QueryType name.

Details

at line 23
public Query getQuery(array $parameters = array())

Builds and returns the Query object.

Parameters

array $parameters A hash of parameters that will be used to build the Query

Return Value

Query

at line 30
public array getSupportedParameters()

Returns an array listing the parameters supported by the QueryType.

Return Value

array

at line 37
static public string getName()

Returns the QueryType name.

Return Value

string