Fixed link to cookbook

This commit is contained in:
Marc Würth 2015-03-11 11:27:30 +01:00
parent cad57dcc28
commit 4f9d764fc2

View file

@ -2652,7 +2652,7 @@ class Model extends Object implements CakeEventListener {
* Fields are treated as SQL snippets, to insert literal values manually escape your data. * Fields are treated as SQL snippets, to insert literal values manually escape your data.
* @param mixed $conditions Conditions to match, true for all records * @param mixed $conditions Conditions to match, true for all records
* @return bool True on success, false on failure * @return bool True on success, false on failure
* @link http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-updateall-array-fields-array-conditions * @link http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-updateall-array-fields-mixed-conditions
*/ */
public function updateAll($fields, $conditions = true) { public function updateAll($fields, $conditions = true) {
return $this->getDataSource()->update($this, $fields, null, $conditions); return $this->getDataSource()->update($this, $fields, null, $conditions);