eZPublishCommunityProject  2013.9
eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\CriterionHandler\FieldValue\Handler Class Reference

Content locator gateway implementation using the zeta database component. More...

+ Inheritance diagram for eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\CriterionHandler\FieldValue\Handler:

Public Member Functions

 __construct (EzcDbHandler $dbHandler, TransformationProcessor $transformationProcessor)
 Creates a new criterion handler. More...
 
 handle (ezcQuerySelect $query, Criterion $criterion, $column)
 Generates query expression for operator and value of a Field Criterion. More...
 

Protected Member Functions

 lowerCase ($string)
 Downcases a given string using string transformation processor. More...
 

Protected Attributes

 $comparatorMap
 
 $dbHandler
 
 $transformationProcessor
 

Detailed Description

Content locator gateway implementation using the zeta database component.

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\CriterionHandler\FieldValue\Handler::__construct ( EzcDbHandler  $dbHandler,
TransformationProcessor  $transformationProcessor 
)

Creates a new criterion handler.

Parameters
\eZ\Publish\Core\Persistence\Legacy\EzcDbHandler$dbHandler
\eZ\Publish\Core\Persistence\TransformationProcessor$transformationProcessor

Member Function Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\CriterionHandler\FieldValue\Handler::handle ( ezcQuerySelect  $query,
Criterion  $criterion,
  $column 
)

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

Exceptions
\RuntimeExceptionIf operator is not handled.
Parameters
\ezcQuerySelect$query
\eZ\Publish\API\Repository\Values\Content\Query\Criterion$criterion
string$column
Returns
eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\CriterionHandler\FieldValue\Handler::lowerCase (   $string)
protected

Member Data Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\CriterionHandler\FieldValue\Handler::$comparatorMap
protected
Initial value:
= array(
CriterionOperator::EQ => "eq",
CriterionOperator::GT => "gt",
CriterionOperator::GTE => "gte",
CriterionOperator::LT => "lt",
CriterionOperator::LTE => "lte",
CriterionOperator::LIKE => "like",
)
eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\CriterionHandler\FieldValue\Handler::$transformationProcessor
protected

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