eZPublishCommunityProject  2013.9
eZ\Publish\Core\REST\Server\Input\Parser\Criterion Class Reference

Parser for ViewInput. More...

+ Inheritance diagram for eZ\Publish\Core\REST\Server\Input\Parser\Criterion:
+ Collaboration diagram for eZ\Publish\Core\REST\Server\Input\Parser\Criterion:

Public Member Functions

 dispatchCriterion ($criterionName, $criterionData, ParsingDispatcher $parsingDispatcher)
 Dispatches parsing of a criterion name + data to its own parser. More...
 
- Public Member Functions inherited from eZ\Publish\Core\REST\Server\Input\Parser\Base
 setRequestParser (RequestParser $requestParser)
 

Protected Member Functions

 getCriterionMediaType ($criterionName)
 

Static Protected Attributes

static $criterionIdMap
 

Additional Inherited Members

- Protected Attributes inherited from eZ\Publish\Core\REST\Server\Input\Parser\Base
 $requestParser
 

Detailed Description

Member Function Documentation

eZ\Publish\Core\REST\Server\Input\Parser\Criterion::dispatchCriterion (   $criterionName,
  $criterionData,
ParsingDispatcher  $parsingDispatcher 
)

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

Parameters
string$criterionName
mixed$criterionData
\eZ\Publish\Core\REST\Common\Input\ParsingDispatcher$parsingDispatcher
Exceptions
\eZ\Publish\Core\REST\Common\Exceptions\Parser
Returns

Referenced by eZ\Publish\Core\REST\Server\Input\Parser\Criterion\LogicalAnd\parse(), eZ\Publish\Core\REST\Server\Input\Parser\Criterion\LogicalNot\parse(), eZ\Publish\Core\REST\Server\Input\Parser\Criterion\LogicalOr\parse(), and eZ\Publish\Core\REST\Server\Input\Parser\ViewInput\parse().

eZ\Publish\Core\REST\Server\Input\Parser\Criterion::getCriterionMediaType (   $criterionName)
protected

Member Data Documentation

eZ\Publish\Core\REST\Server\Input\Parser\Criterion::$criterionIdMap
staticprotected
Initial value:
= array(
'AND' => 'LogicalAnd',
'OR' => 'LogicalOr',
'NOT' => 'LogicalNot',
)

The documentation for this class was generated from the following file: