Class

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

class DoctrineDatabase extends Gateway

Location gateway implementation using the Doctrine database.

Constants

MAX_LIMIT

2^30, since PHPINTMAX can cause overflows in DB systems, if PHP is run on 64 bit systems.

Methods

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

Returns total count and data for all Locations satisfying the parameters.

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

Construct from database handler.

Details

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

Returns total count and data for all Locations satisfying the parameters.

Parameters

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

Return Value

mixed[][]

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

Construct from database handler.

Parameters

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