Copied!

ContentName

ContentName.php : 19
Extends SortClause

Sets sort direction on Content name for a content query.

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()

ContentName.php : 26

Constructs a new ContentName SortClause.

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

Parameters

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