Interface

eZ\Publish\Core\QueryType\QueryTypeRegistry

interface QueryTypeRegistry

Registry of QueryType objects.

Methods

addQueryType(string $name, QueryType $queryType)

Registers $queryType as $name.

addQueryTypes(array $queryTypes)

Registers QueryTypes from the $queryTypes array.

QueryType getQueryType(string $name)

Get the QueryType $name.

Details

at line 19
public addQueryType(string $name, QueryType $queryType)

Registers $queryType as $name.

Parameters

string $name
QueryType $queryType

at line 26
public addQueryTypes(array $queryTypes)

Registers QueryTypes from the $queryTypes array.

Parameters

array $queryTypes An array of QueryTypes, with their name as the index

at line 35
public QueryType getQueryType(string $name)

Get the QueryType $name.

Parameters

string $name

Return Value

QueryType