Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

Public Member Functions | Private Member Functions | Private Attributes | List of all members
eZ\Publish\Core\REST\Server\Input\Parser\Criterion\DateMetadata Class Reference

Parser for ViewInput Criterion. More...

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

## Public Member Functions
| parse (array $data, ParsingDispatcher $parsingDispatcher)
| Parses input structure to a Criterion object. More...
Public Member Functions inherited from eZ\Publish\Core\REST\Common\Input\BaseParser
| setRequestParser (RequestParser $requestParser)

## Private Member Functions
| getOperator (string $operatorName)
| Get operator for the given literal name. More...

## Private Attributes
const | OPERATORS
const | TARGETS

## Additional Inherited Members
Protected Attributes inherited from eZ\Publish\Core\REST\Common\Input\BaseParser
| $requestParser

## Detailed Description

Parser for ViewInput Criterion.

Definition at line 18 of file Core/REST/Server/Input/Parser/Criterion/DateMetadata.php.

## Member Function Documentation

## ◆ getOperator()

eZ\Publish\Core\REST\Server\Input\Parser\Criterion\DateMetadata::getOperator | ( | string | $operatorName | ) |
| private

Get operator for the given literal name.

For the full list of supported operators:

See also
  \eZ\Publish\Core\REST\Server\Input\Parser\Criterion\DateMetadata::OPERATORS

Definition at line 87 of file Core/REST/Server/Input/Parser/Criterion/DateMetadata.php.

Referenced by eZ\Publish\Core\REST\Server\Input\Parser\Criterion\DateMetadata\parse().

## ◆ parse()

eZ\Publish\Core\REST\Server\Input\Parser\Criterion\DateMetadata::parse | ( | array | $data,
|  | ParsingDispatcher | $parsingDispatcher
| ) |  |

Parses input structure to a Criterion object.

Parameters

  array | $data |
  \eZ\Publish\Core\REST\Common\Input\ParsingDispatcher | $parsingDispatcher |

Exceptions

Definition at line 43 of file Core/REST/Server/Input/Parser/Criterion/DateMetadata.php.

References eZ\Publish\Core\REST\Server\Input\Parser\Criterion\DateMetadata\getOperator().

## Member Data Documentation

## ◆ OPERATORS

const eZ\Publish\Core\REST\Server\Input\Parser\Criterion\DateMetadata::OPERATORS
| private

Initial value:
= [
'IN' => Operator::IN,
'EQ' => Operator::EQ,
'GT' => Operator::GT,
'GTE' => Operator::GTE,
'LT' => Operator::LT,
'LTE' => Operator::LTE,
'BETWEEN' => Operator::BETWEEN,
]
eZ\Publish\API\Repository\Values\Content\Query\Criterion\Operator\LT
const LT
Definition: API/Repository/Values/Content/Query/Criterion/Operator.php:19
eZ\Publish\API\Repository\Values\Content\Query\Criterion\Operator\EQ
const EQ
Definition: API/Repository/Values/Content/Query/Criterion/Operator.php:16
eZ\Publish\API\Repository\Values\Content\Query\Criterion\Operator\LTE
const LTE
Definition: API/Repository/Values/Content/Query/Criterion/Operator.php:20
eZ\Publish\API\Repository\Values\Content\Query\Criterion\Operator\GT
const GT
Definition: API/Repository/Values/Content/Query/Criterion/Operator.php:17
eZ\Publish\API\Repository\Values\Content\Query\Criterion\Operator\IN
const IN
Definition: API/Repository/Values/Content/Query/Criterion/Operator.php:21
eZ\Publish\API\Repository\Values\Content\Query\Criterion\Operator\BETWEEN
const BETWEEN
Definition: API/Repository/Values/Content/Query/Criterion/Operator.php:22
eZ\Publish\API\Repository\Values\Content\Query\Criterion\Operator\GTE
const GTE
Definition: API/Repository/Values/Content/Query/Criterion/Operator.php:18

Definition at line 20 of file Core/REST/Server/Input/Parser/Criterion/DateMetadata.php.

## ◆ TARGETS

const eZ\Publish\Core\REST\Server\Input\Parser\Criterion\DateMetadata::TARGETS
| private

Initial value:
= [
DateMetadataCriterion::MODIFIED,
DateMetadataCriterion::CREATED,
]

Definition at line 30 of file Core/REST/Server/Input/Parser/Criterion/DateMetadata.php.

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

- Core/REST/Server/Input/Parser/Criterion/DateMetadata.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.