Class

eZ\Publish\Core\Search\Legacy\Content\Gateway\DoctrineDatabase

class DoctrineDatabase extends Gateway

Content locator gateway implementation using the Doctrine database.

Methods

mixed[][] find(Criterion $criterion, int $offset, int $limit, array $sort = null, array $languageFilter = array(), bool $doCount = true)

Returns a list of object satisfying the $filter.

__construct(DatabaseHandler $handler, CriteriaConverter $criteriaConverter, SortClauseConverter $sortClauseConverter, Handler $languageHandler)

Construct from handler handler.

Details

at line 89
public mixed[][] find(Criterion $criterion, int $offset, int $limit, array $sort = null, array $languageFilter = array(), bool $doCount = true)

Returns a list of object satisfying the $filter.

Parameters

Criterion $criterion
int $offset
int $limit
array $sort
array $languageFilter
bool $doCount

Return Value

mixed[][]

Exceptions

InvalidArgumentException if Criterion is not applicable to its target

at line 63
public __construct(DatabaseHandler $handler, CriteriaConverter $criteriaConverter, SortClauseConverter $sortClauseConverter, Handler $languageHandler)

Construct from handler handler.

Parameters

DatabaseHandler $handler
CriteriaConverter $criteriaConverter
SortClauseConverter $sortClauseConverter
Handler $languageHandler