OrderDirective
class OrderDirective (View source)
Directive to alter query based on 'order' parameter.
eg: 'pages', ['order'=>'-publishedAt']
Constants
NAME |
|
Methods
__construct(LocaleHelper $localeHelper, Environment $twig, Notifications $notifications)
No description
void
array
getOrderBys(string $order)
No description
bool
isMultiOrderQuery(string $order)
No description
bool