Class

eZ\Publish\API\Repository\Values\Content\Query\SortClause\Location\Depth

class Depth extends Location

Sets sort direction on the Location depth for a Location 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 LocationDepth SortClause.

Details

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

Constructs a new LocationDepth SortClause.

Parameters

string $sortDirection