Class

eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\SortClauseHandler\DateModified

class DateModified extends SortClauseHandler

Content locator gateway implementation using the DoctrineDatabase.

Methods

__construct(DatabaseHandler $dbHandler)

Creates a new sort clause handler.

from SortClauseHandler
bool accept(SortClause $sortClause)

Check if this sort clause handler accepts to handle the given sort clause.

string applySelect(SelectQuery $query, SortClause $sortClause, int $number)

Apply selects to the query.

applyJoin(SelectQuery $query, SortClause $sortClause, int $number, array $languageSettings)

Applies joins to the query.

from SortClauseHandler

Details

in SortClauseHandler at line 32
public __construct(DatabaseHandler $dbHandler)

Creates a new sort clause handler.

Parameters

DatabaseHandler $dbHandler

at line 27
public bool accept(SortClause $sortClause)

Check if this sort clause handler accepts to handle the given sort clause.

Parameters

SortClause $sortClause

Return Value

bool

at line 44
public string applySelect(SelectQuery $query, SortClause $sortClause, int $number)

Apply selects to the query.

Returns the name of the (aliased) column, which information should be used for sorting.

Parameters

SelectQuery $query
SortClause $sortClause
int $number

Return Value

string

in SortClauseHandler at line 68
public applyJoin(SelectQuery $query, SortClause $sortClause, int $number, array $languageSettings)

Applies joins to the query.

Parameters

SelectQuery $query
SortClause $sortClause
int $number
array $languageSettings