Class

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

abstract class Gateway

The Content Search Gateway provides the implementation for one database to retrieve the desired content objects.

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 $criterion.

Details

at line 33
abstract 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 $criterion.

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