ContentHelperQuery::orderbySecondary
Translate an order code to a field for secondary category ordering.
Signature
public function orderbySecondary(string
$orderby,
[string
$orderDate = 'created'] )
Parameters
-
$orderby
- The ordering code.
-
$orderDate
- The ordering code for the date.
Returns
- string
- The SQL field(s) to order by.