mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Tweak docblock for api generator
This commit is contained in:
parent
56df02f720
commit
20047c5060
1 changed files with 2 additions and 0 deletions
|
@ -1600,10 +1600,12 @@ class Model extends Object implements CakeEventListener {
|
|||
* @param boolean|array $validate Either a boolean, or an array.
|
||||
* If a boolean, indicates whether or not to validate before saving.
|
||||
* If an array, can have following keys:
|
||||
*
|
||||
* - `validate`: Set to true/false to enable or disable validation.
|
||||
* - `fieldList`: An array of fields you want to allow for saving.
|
||||
* - `callbacks`: Set to false to disable callbacks. Using 'before' or 'after'
|
||||
* will enable only those callbacks.
|
||||
*
|
||||
* @param array $fieldList List of fields to allow to be saved
|
||||
* @return mixed On success Model::$data if its not empty or true, false on failure
|
||||
* @link http://book.cakephp.org/2.0/en/models/saving-your-data.html
|
||||
|
|
Loading…
Add table
Reference in a new issue