lithium\data\model\Query::calculate()
Accessor method for Query
calculate values.
Parameters
-
string
$calculate
Value for calculate config setting.
Returns
mixedCurrent calculate config value.
Source
public function calculate($calculate = null) {
if ($calculate) {
$this->_config['calculate'] = $calculate;
return $this;
}
return $this->_config['calculate'];
}