Improve docblock

This commit is contained in:
ADmad 2012-12-11 00:44:42 +05:30
parent 6292fc707d
commit c159854a17

View file

@ -1569,7 +1569,9 @@ class Model extends Object implements CakeEventListener {
*
* @param string $name Name of the table field
* @param mixed $value Value of the field
* @param array $validate See $options param in Model::save(). Does not respect 'fieldList' key if passed
* @param boolean|array $validate Either a boolean, or an array.
* If a boolean, indicates whether or not to validate before saving.
* If an array, allows control of 'validate' and 'callbacks' options.
* @return boolean See Model::save()
* @see Model::save()
* @link http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-savefield-string-fieldname-string-fieldvalue-validate-false