/** * * @param array $attributes * @param string $condition * @param array $params * @return type */ public function updateAll($attributes, $condition = '', $params = array()) { if (CStubActiveRecord::isUnittests()) { return CallFactory::call($this, 'updateAll'); } return parent::updateAll($attributes, $condition, $params); }
public function updateAll($attributes, $condition = "", $params = array()) { $counter = parent::updateAll($attributes, $condition, $params); $this->afterSave(); return $counter; }
/** * @see CActiveRecord::updateAll() * @deprecated */ public function updateAll($attributes, $condition = '', $params = array()) { $this->setDbWriting(); return parent::updateAll($attributes, $condition, $params); }