lithium\data\model\Query::order()
Set and get method for the query's order specification.
Parameters
-
array|string|null
$order
Returns
array|\lithium\data\QuerySource
public function order($order = null) {
if ($order) {
$this->_config['order'] = $order;
return $this;
}
return $this->_config['order'];
}