From 20047c5060e38985d249c65f272c77668899c53c Mon Sep 17 00:00:00 2001 From: ADmad Date: Sun, 7 Apr 2013 23:13:03 +0530 Subject: [PATCH] Tweak docblock for api generator --- lib/Cake/Model/Model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Cake/Model/Model.php b/lib/Cake/Model/Model.php index 4e8a9df7b..660936cca 100644 --- a/lib/Cake/Model/Model.php +++ b/lib/Cake/Model/Model.php @@ -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