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