PHP 클래스 eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler

파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$comparatorMap array Map of criterion operators to the respective function names in the zeta Database abstraction layer.
$dbHandler eZ\Publish\Core\Persistence\Database\DatabaseHandler Database handler.

공개 메소드들

메소드 설명
__construct ( eZ\Publish\Core\Persistence\Database\DatabaseHandler $dbHandler ) Creates a new criterion 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 ) Generate query expression for a Criterion this handler accepts.

보호된 메소드들

메소드 설명
getUniqueTableName ( ) : string Returns a unique table name.

메소드 상세

__construct() 공개 메소드

Creates a new criterion handler.
public __construct ( eZ\Publish\Core\Persistence\Database\DatabaseHandler $dbHandler )
$dbHandler eZ\Publish\Core\Persistence\Database\DatabaseHandler

accept() 추상적인 공개 메소드

Check if this criterion handler accepts to handle the given criterion.
abstract public accept ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion ) : boolean
$criterion eZ\Publish\API\Repository\Values\Content\Query\Criterion
리턴 boolean

getUniqueTableName() 보호된 메소드

Returns a unique table name.
protected getUniqueTableName ( ) : string
리턴 string

handle() 추상적인 공개 메소드

accept() must be called before calling this method.
abstract public handle ( CriteriaConverter $converter, eZ\Publish\Core\Persistence\Database\SelectQuery $query, eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, array $languageSettings )
$converter CriteriaConverter
$query eZ\Publish\Core\Persistence\Database\SelectQuery
$criterion eZ\Publish\API\Repository\Values\Content\Query\Criterion
$languageSettings array

프로퍼티 상세

$comparatorMap 보호되어 있는 프로퍼티

Map of criterion operators to the respective function names in the zeta Database abstraction layer.
protected array $comparatorMap
리턴 array

$dbHandler 보호되어 있는 프로퍼티

Database handler.
protected DatabaseHandler,eZ\Publish\Core\Persistence\Database $dbHandler
리턴 eZ\Publish\Core\Persistence\Database\DatabaseHandler