Sets sort direction on Content name for a content query.
Properties¶
$direction
¶
SortClause.php
:
26
Sort direction One of Query::SORT_ASC or Query::SORT_DESC;.
|
|
$target
¶
SortClause.php
:
33
Sort target, high level: section_identifier, attribute_value, etc.
|
|
$targetData
¶
SortClause.php
:
40
Extra target data, required by some sort clauses, field for instance.
|
|
Methods¶
__construct()
¶
ContentName.php
:
26
Constructs a new ContentName SortClause.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$sortDirection | string | Query::SORT_ASC | - |