PHP Class eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue\Converter

ファイルを表示 Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$defaultHandler Handler Default Criterion field value handler.
$registry HandlerRegistry Criterion field value handler registry.

Public Methods

Method Description
__construct ( HandlerRegistry $registry, Handler $defaultHandler = null ) Construct from an array of Criterion field value handlers.
convertCriteria ( string $fieldTypeIdentifier, eZ\Publish\Core\Persistence\Database\SelectQuery $query, eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, string $column ) : eZ\Publish\Core\Persistence\Database\Expression Converts the criteria into query fragments.

Method Details

__construct() public method

Construct from an array of Criterion field value handlers.
public __construct ( HandlerRegistry $registry, Handler $defaultHandler = null )
$registry HandlerRegistry
$defaultHandler Handler

convertCriteria() public method

Converts the criteria into query fragments.
public convertCriteria ( string $fieldTypeIdentifier, eZ\Publish\Core\Persistence\Database\SelectQuery $query, eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, string $column ) : eZ\Publish\Core\Persistence\Database\Expression
$fieldTypeIdentifier string
$query eZ\Publish\Core\Persistence\Database\SelectQuery
$criterion eZ\Publish\API\Repository\Values\Content\Query\Criterion
$column string
return eZ\Publish\Core\Persistence\Database\Expression

Property Details

$defaultHandler protected_oe property

Default Criterion field value handler.
protected Handler,eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue $defaultHandler
return Handler

$registry protected_oe property

Criterion field value handler registry.
protected HandlerRegistry,eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue $registry
return HandlerRegistry