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