Class

eZ\Publish\Core\REST\Server\Input\Parser\Criterion

abstract class Criterion extends BaseParser

Parser for ViewInput.

Methods

setRequestParser(RequestParser $requestParser)

from BaseParser
Criterion dispatchCriterion(string $criterionName, mixed $criterionData, ParsingDispatcher $parsingDispatcher)

Dispatches parsing of a criterion name + data to its own parser.

ValueObject dispatchFacetBuilder(string $facetBuilderName, mixed $facetBuilderData, ParsingDispatcher $parsingDispatcher)

Dispatches parsing of a facet builder name + data to its own parser.

Criterion dispatchSortClause(string $sortClauseName, string $direction, ParsingDispatcher $parsingDispatcher)

Dispatches parsing of a sort clause name + direction to its own parser.

Details

in BaseParser at line 22
public setRequestParser(RequestParser $requestParser)

Parameters

RequestParser $requestParser

at line 40
public Criterion dispatchCriterion(string $criterionName, mixed $criterionData, ParsingDispatcher $parsingDispatcher)

Dispatches parsing of a criterion name + data to its own parser.

Parameters

string $criterionName
mixed $criterionData
ParsingDispatcher $parsingDispatcher

Return Value

Criterion

Exceptions

Parser

at line 61
public ValueObject dispatchFacetBuilder(string $facetBuilderName, mixed $facetBuilderData, ParsingDispatcher $parsingDispatcher)

Dispatches parsing of a facet builder name + data to its own parser.

Parameters

string $facetBuilderName
mixed $facetBuilderData
ParsingDispatcher $parsingDispatcher

Return Value

ValueObject

Exceptions

Parser

at line 83
public Criterion dispatchSortClause(string $sortClauseName, string $direction, ParsingDispatcher $parsingDispatcher)

Dispatches parsing of a sort clause name + direction to its own parser.

Parameters

string $sortClauseName
string $direction
ParsingDispatcher $parsingDispatcher

Return Value

Criterion

Exceptions

Parser