Skip to content
For AI agents: the complete documentation index is available at llms.txt; this page is also available as Markdown at index.md.

UserLogin Sort Clause

The UserLogin Sort Clause sorts the results of searching in Trash by the login of the content item's creator.

Arguments

  • (optional) sortDirection - Query constant, either Query::SORT_ASC or Query::SORT_DESC

Example

1
2
3
4
5
use Ibexa\Contracts\Core\Repository\Values\Content\Query;
use Ibexa\Contracts\Core\Repository\Values\Content\Query\SortClause;

$query = new Query();
$query->sortClauses = [new SortClause\Trash\UserLogin()];