/** * Updates a set of records in the table that backs this model * * @param array $data field => new_value pairs * @param array $where sprintf style array * @return integer the number of rows affected */ public function updateAll($data, $where) { $table = $this->description['table']; return $this->adapter->updateTable($table, $data, $where); }