Class

eZ\Publish\API\Repository\Values\Content\Query\SortClause\SectionIdentifier

class SectionIdentifier extends SortClause

Sets sort direction on Section identifier for a content query.

Properties

string $direction Sort direction One of Query::SORTASC or Query::SORTDESC;.
string $target Sort target, high level: sectionidentifier, attributevalue, etc.
Target $targetData Extra target data, required by some sort clauses, field for instance.

Methods

__construct(string $sortDirection = Query::SORT_ASC)

Constructs a new SectionIdentifier SortClause.

Details

at line 24
public __construct(string $sortDirection = Query::SORT_ASC)

Constructs a new SectionIdentifier SortClause.

Parameters

string $sortDirection one of Query::SORTASC or Query::SORTDESC