eZPublishCommunityProject  2012.12
eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\CriterionHandler Class Reference

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

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

Public Member Functions

 __construct (EzcDbHandler $dbHandler)
 Creates a new criterion handler. More...
 
 accept (Criterion $criterion)
 Check if this criterion handler accepts to handle the given criterion. More...
 
 handle (CriteriaConverter $converter, ezcQuerySelect $query, Criterion $criterion)
 Check if this criterion handler accepts to handle the given criterion. More...
 

Protected Attributes

 $comparatorMap
 
 $dbHandler
 

Detailed Description

Content locator gateway implementation using the zeta database component.

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\CriterionHandler::__construct ( EzcDbHandler  $dbHandler)

Creates a new criterion handler.

Parameters
\EzcDbHandler$dbHandler

Member Function Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\CriterionHandler::accept ( Criterion  $criterion)
abstract

Check if this criterion handler accepts to handle the given criterion.

Parameters
Criterion$criterion
Returns
boolean
eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\CriterionHandler::handle ( CriteriaConverter  $converter,
ezcQuerySelect  $query,
Criterion  $criterion 
)
abstract

Check if this criterion handler accepts to handle the given criterion.

Parameters
CriteriaConverter$converter
\ezcQuerySelect$query
Criterion$criterion
Returns

Member Data Documentation

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

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