| 1 | <?php |
||
| 17 | class LogicalOperator extends Criterion |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Parses input structure to a Criterion object. |
||
| 21 | * |
||
| 22 | * @param array $data |
||
| 23 | * @param \eZ\Publish\Core\REST\Common\Input\ParsingDispatcher $parsingDispatcher |
||
| 24 | * |
||
| 25 | * @throws \eZ\Publish\Core\REST\Common\Exceptions\Parser |
||
| 26 | * |
||
| 27 | * @return \eZ\Publish\API\Repository\Values\Content\Query\Criterion\LogicalOperator |
||
| 28 | */ |
||
| 29 | public function parse(array $data, ParsingDispatcher $parsingDispatcher) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param array $criteriaByType |
||
| 36 | * @return array |
||
| 37 | */ |
||
| 38 | protected function getFlattenedCriteriaData(array $criteriaByType) |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Checks if the given $value is zero based. |
||
| 59 | * |
||
| 60 | * @param array $value |
||
| 61 | * |
||
| 62 | * @return bool |
||
| 63 | */ |
||
| 64 | protected function isZeroBasedArray(array $value) |
||
| 70 | } |
||
| 71 |