PHP Класс eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\Field

Наследование: extends eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$fieldConverterRegistry eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\ConverterRegistry Field converter registry.
$fieldValueConverter eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue\Converter Field value converter.
$transformationProcessor eZ\Publish\Core\Persistence\TransformationProcessor Transformation processor.

Открытые методы

Метод Описание
__construct ( eZ\Publish\Core\Persistence\Database\DatabaseHandler $dbHandler, eZ\Publish\SPI\Persistence\Content\Type\Handler $contentTypeHandler, eZ\Publish\SPI\Persistence\Content\Language\Handler $languageHandler, ConverterRegistry $fieldConverterRegistry, Converter $fieldValueConverter, TransformationProcessor $transformationProcessor ) Construct from handler handler.
accept ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion ) : boolean Check if this criterion handler accepts to handle the given criterion.
handle ( CriteriaConverter $converter, eZ\Publish\Core\Persistence\Database\SelectQuery $query, eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, array $languageSettings ) : eZ\Publish\Core\Persistence\Database\Expression Generate query expression for a Criterion this handler accepts.

Защищенные методы

Метод Описание
getFieldsInformation ( string $fieldIdentifier ) : array Returns relevant field information for the specified field.

Описание методов

__construct() публичный Метод

Construct from handler handler.
public __construct ( eZ\Publish\Core\Persistence\Database\DatabaseHandler $dbHandler, eZ\Publish\SPI\Persistence\Content\Type\Handler $contentTypeHandler, eZ\Publish\SPI\Persistence\Content\Language\Handler $languageHandler, ConverterRegistry $fieldConverterRegistry, Converter $fieldValueConverter, TransformationProcessor $transformationProcessor )
$dbHandler eZ\Publish\Core\Persistence\Database\DatabaseHandler
$contentTypeHandler eZ\Publish\SPI\Persistence\Content\Type\Handler
$languageHandler eZ\Publish\SPI\Persistence\Content\Language\Handler
$fieldConverterRegistry eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\ConverterRegistry
$fieldValueConverter eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue\Converter
$transformationProcessor eZ\Publish\Core\Persistence\TransformationProcessor

accept() публичный Метод

Check if this criterion handler accepts to handle the given criterion.
public accept ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion ) : boolean
$criterion eZ\Publish\API\Repository\Values\Content\Query\Criterion
Результат boolean

getFieldsInformation() защищенный Метод

The returned information is returned as an array of the attribute identifier and the sort column, which should be used.
protected getFieldsInformation ( string $fieldIdentifier ) : array
$fieldIdentifier string
Результат array

handle() публичный Метод

accept() must be called before calling this method.
public handle ( CriteriaConverter $converter, eZ\Publish\Core\Persistence\Database\SelectQuery $query, eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, array $languageSettings ) : eZ\Publish\Core\Persistence\Database\Expression
$converter eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriteriaConverter
$query eZ\Publish\Core\Persistence\Database\SelectQuery
$criterion eZ\Publish\API\Repository\Values\Content\Query\Criterion
$languageSettings array
Результат eZ\Publish\Core\Persistence\Database\Expression

Описание свойств

$fieldConverterRegistry защищенное свойство

Field converter registry.
protected ConverterRegistry,eZ\Publish\Core\Persistence\Legacy\Content\FieldValue $fieldConverterRegistry
Результат eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\ConverterRegistry

$fieldValueConverter защищенное свойство

Field value converter.
protected Converter,eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue $fieldValueConverter
Результат eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue\Converter

$transformationProcessor защищенное свойство

Transformation processor.
protected TransformationProcessor,eZ\Publish\Core\Persistence $transformationProcessor
Результат eZ\Publish\Core\Persistence\TransformationProcessor