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.
Collaboration Search Sort Clauses reference¶
Sort Clauses are found in the Ibexa\Contracts\Collaboration\Value\Query\SortClause
namespace.
Invitation Search Sort Clauses¶
Invitation Search Sort Clauses are implementing the SortClauseInterface interface:
Name | Description |
---|---|
CreatedAt | Sort by invitation's creation date |
Id | Sort by invitation's ID |
Status | Sort by invitation's status |
UpdatedAt | Sort by the date and time when invitation was updated |
Session Search Sort Clauses¶
Session Search Sort Clauses are implementing the SortClauseInterface interface:
Name | Description |
---|---|
CreatedAt | Sort by session's creation date |
Id | Sort by session's ID |
UpdatedAt | Sort by the date and time when session was updated |
Example¶
The following example shows how to use them to sort the searched sessions:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|
The returned active sessions are sorted by creation date (descending).