PHP Class eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriteriaConverter

Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Свойство Type Description
$handlers CriterionHandler[] Criterion handlers.

Méthodes publiques

Méthode Description
__construct ( array $handlers = [] ) Construct from an optional array of Criterion handlers.
addHandler ( CriterionHandler $handler ) Adds handler.
convertCriteria ( eZ\Publish\Core\Persistence\Database\SelectQuery $query, eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, array $languageSettings ) : eZ\Publish\Core\Persistence\Database\Expression Generic converter of criteria into query fragments.

Method Details

__construct() public méthode

Construct from an optional array of Criterion handlers.
public __construct ( array $handlers = [] )
$handlers array

addHandler() public méthode

Adds handler.
public addHandler ( CriterionHandler $handler )
$handler CriterionHandler

convertCriteria() public méthode

Generic converter of criteria into query fragments.
public convertCriteria ( eZ\Publish\Core\Persistence\Database\SelectQuery $query, eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, array $languageSettings ) : eZ\Publish\Core\Persistence\Database\Expression
$query eZ\Publish\Core\Persistence\Database\SelectQuery
$criterion eZ\Publish\API\Repository\Values\Content\Query\Criterion
$languageSettings array
Résultat eZ\Publish\Core\Persistence\Database\Expression

Property Details

$handlers protected_oe property

Criterion handlers.
protected CriterionHandler[],eZ\Publish\Core\Search\Legacy\Content\Common\Gateway $handlers
Résultat CriterionHandler[]