Copied!

Id

Id.php : 20
Extends Location
Implements FilteringSortClause

Sets sort direction on Location id for a Location query.

Especially useful to get reproducible search results in tests.

Properties

public $direction

SortClause.php : 26

Sort direction One of Query::SORT_ASC or Query::SORT_DESC;.

public string $direction = \Ibexa\Contracts\Core\Repository\Values\Content\Query::SORT_ASC

public $target

SortClause.php : 33

Sort target, high level: section_identifier, attribute_value, etc.

public string $target

public $targetData

SortClause.php : 40

Extra target data, required by some sort clauses, field for instance.

public Target|null $targetData

Methods

public__construct()

Id.php : 27

Constructs a new LocationId SortClause.

public __construct([string $sortDirection = Query::SORT_ASC ])

Parameters

Name Type Default value Description
$sortDirection string Query::SORT_ASC -