Class

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

class LogicalOr extends Criterion

Parser for LogicalOr Criterion.

Methods

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

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

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

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

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

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

from Criterion
LogicalOr parse(array $data, ParsingDispatcher $parsingDispatcher)

Parses input structure to a LogicalAnd Criterion object.

Details

in Criterion 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

in Criterion 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

in Criterion 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

at line 31
public LogicalOr parse(array $data, ParsingDispatcher $parsingDispatcher)

Parses input structure to a LogicalAnd Criterion object.

Parameters

array $data
ParsingDispatcher $parsingDispatcher

Return Value

LogicalOr

Exceptions

Parser