Sets sort direction on the Location priority for a Location 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()
¶
Priority.php
:
26
Constructs a new LocationPriority SortClause.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$sortDirection | string | Query::SORT_ASC | - |