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

Datei anzeigen Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$handlers CriterionHandler[] Criterion handlers.

Public Methods

Method 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 method

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

addHandler() public method

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

convertCriteria() public method

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
return 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
return CriterionHandler[]