Skip to the content
Documentation

Sorting on Object State

No ratings yet

It's possible to sort on Object State, here is the syntax :

array( 'state', [Sorting Order], [Object State Group Id]  )

Where [Sorting Order] is true() or false(), as always, and [Object State Group Id] is the groupe of object state on which you want to sort. It's then possible to sort on multiple Object State Groups.