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

Public Member Functions | List of all members
eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue\Handler\Simple Class Reference

Content locator gateway implementation using the DoctrineDatabase. More...

Inheritance diagram for eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue\Handler\Simple:

## Public Member Functions
| handle (SelectQuery $query, Criterion $criterion, $column)
| Generates query expression for operator and value of a Field Criterion. More...
Public Member Functions inherited from eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue\Handler
| __construct (DatabaseHandler $dbHandler, TransformationProcessor $transformationProcessor)
| Creates a new criterion handler. More...

## Additional Inherited Members
Protected Member Functions inherited from eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue\Handler
| prepareLikeString ($string)
| Returns the given $string prepared for use in SQL LIKE clause. More...
| lowerCase ($string)
| Downcases a given string using string transformation processor. More...
Protected Attributes inherited from eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue\Handler
| $dbHandler
| $comparatorMap
| $transformationProcessor

## Detailed Description

Content locator gateway implementation using the DoctrineDatabase.

Simple value handler is used for creating a filter on a value that makes sense to match on only as a whole. Eg. timestamp, integer, boolean, relation Content id

Definition at line 19 of file Simple.php.

## Member Function Documentation

## ◆ handle()

eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue\Handler\Simple::handle | ( | SelectQuery | $query,
|  | Criterion | $criterion,
|  |  | $column
| ) |  |

Generates query expression for operator and value of a Field Criterion.

Parameters

  \eZ\Publish\Core\Persistence\Database\SelectQuery | $query |
  \eZ\Publish\API\Repository\Values\Content\Query\Criterion | $criterion |
  string | $column |

Returns
  \eZ\Publish\Core\Persistence\Database\Expression

Reimplemented from eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue\Handler.

Definition at line 30 of file Simple.php.

References eZ\Publish\Core\Persistence\Database\Query\bindValue(), eZ\Publish\API\Repository\Values\Content\Query\Criterion\Operator\CONTAINS, and eZ\Publish\API\Repository\Values\Content\Query\Criterion\Operator\LIKE.

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

- Simple.php

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