This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
Id Sort Clause¶
The SortClause\Id
Sort Clause
sorts search results by the ID of the URL.
Arguments¶
sortDirection
(optional) - the direction of the sorting, either\eZ\Publish\API\Repository\Values\URL\Query\SortClause::SORT_ASC
(default) or\eZ\Publish\API\Repository\Values\URL\Query\SortClause::SORT_DESC
Example¶
1 2 3 4 5 6 7 |
|