Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
   eZ Publish 4.x / legacy

eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


SortClauses are the sorting options for Content and Location Search in "Platform stack", for generic use of API Search see Search Criterions Criteria and Sort Clauses

SortClause consists of two parts just like Criterion and FacetBuilder:

  • The API Value:  "SortClause "
  • Specific handler per SearchEngine:  SortClauses Handler"SortClausesHandler"

The SortClause represent the value you use in the API, while SortClauseHandler deals with the business logic in the background translating the value to something the Search engine can understand.


The list below reflects Sort Clauses available in eZ\Publish\API\Repository\Values\Content\Query\SortClause namespace (it is also possible to make custom SortClause):


Arguments starting with "?" are optional.