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

Inheritance: extends eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler
ファイルを表示 Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$contentTypeHandler eZ\Publish\SPI\Persistence\Content\Type\Handler Content Type handler.
$languageHandler eZ\Publish\SPI\Persistence\Content\Language\Handler Language handler.

Public Methods

Method Description
__construct ( eZ\Publish\Core\Persistence\Database\DatabaseHandler $dbHandler, eZ\Publish\SPI\Persistence\Content\Type\Handler $contentTypeHandler, eZ\Publish\SPI\Persistence\Content\Language\Handler $languageHandler ) Construct from handler handler.

Protected Methods

Method Description
getFieldCondition ( eZ\Publish\Core\Persistence\Database\SelectQuery $query, array $languageSettings ) : string Returns a field language join condition for the given $languageSettings.

Method Details

__construct() public method

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 )
$dbHandler eZ\Publish\Core\Persistence\Database\DatabaseHandler
$contentTypeHandler eZ\Publish\SPI\Persistence\Content\Type\Handler
$languageHandler eZ\Publish\SPI\Persistence\Content\Language\Handler

getFieldCondition() protected method

Returns a field language join condition for the given $languageSettings.
protected getFieldCondition ( eZ\Publish\Core\Persistence\Database\SelectQuery $query, array $languageSettings ) : string
$query eZ\Publish\Core\Persistence\Database\SelectQuery
$languageSettings array
return string

Property Details

$contentTypeHandler protected_oe property

Content Type handler.
protected Handler,eZ\Publish\SPI\Persistence\Content\Type $contentTypeHandler
return eZ\Publish\SPI\Persistence\Content\Type\Handler

$languageHandler protected_oe property

Language handler.
protected Handler,eZ\Publish\SPI\Persistence\Content\Language $languageHandler
return eZ\Publish\SPI\Persistence\Content\Language\Handler