mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Expanding docblock on model::save()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7491 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
e114cc4e80
commit
ce8dccc1fc
1 changed files with 3 additions and 1 deletions
|
@ -1021,7 +1021,9 @@ class Model extends Overloadable {
|
|||
* Saves model data to the database. By default, validation occurs before save.
|
||||
*
|
||||
* @param array $data Data to save.
|
||||
* @param boolean $validate If set, validation will be done before the save
|
||||
* @param mixed $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, callbacks, and fieldList
|
||||
* @param array $fieldList List of fields to allow to be written
|
||||
* @return mixed On success Model::$data if its not empty or true, false on failure
|
||||
* @access public
|
||||
|
|
Loading…
Reference in a new issue