Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 471 Bytes

userlogin_sort_clause.md

File metadata and controls

15 lines (10 loc) · 471 Bytes

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

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