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

LanguageCode criterion handler. More...

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

Public Member Functions

 __construct (EzcDbHandler $dbHandler, MaskGenerator $maskGenerator)
 Construct from language mask generator. More...
 
 accept (Criterion $criterion)
 Check if this criterion handler accepts to handle the given criterion. More...
 
 handle (CriteriaConverter $converter, ezcQuerySelect $query, Criterion $criterion)
 Generate query expression for a Criterion this handler accepts. More...
 
- Public Member Functions inherited from eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\CriterionHandler
 __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)
 Generate query expression for a Criterion this handler accepts. More...
 

Private Attributes

 $maskGenerator
 

Additional Inherited Members

- Protected Member Functions inherited from eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\CriterionHandler
 getUniqueTableName ()
 Returns a unique table name. More...
 
- Protected Attributes inherited from eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\CriterionHandler
 $comparatorMap
 
 $dbHandler
 

Detailed Description

LanguageCode criterion handler.

Constructor & Destructor Documentation

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

Construct from language mask generator.

Parameters
\eZ\Publish\Core\Persistence\Legacy\EzcDbHandler$dbHandler
\eZ\Publish\Core\Persistence\Legacy\Content\Language\MaskGenerator$maskGenerator

Member Function Documentation

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

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

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

Generate query expression for a Criterion this handler accepts.

accept() must be called before calling this method.

Parameters
\eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\CriteriaConverter$converter
\ezcQuerySelect$query
\eZ\Publish\API\Repository\Values\Content\Query\Criterion$criterion
Returns

Member Data Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\CriterionHandler\LanguageCode::$maskGenerator
private

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