Updated return value docblock for Model::save

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5941 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
the_undefined 2007-11-03 17:55:30 +00:00
parent 6a7b7a5c36
commit 7e57a4d28b

View file

@ -997,7 +997,7 @@ class Model extends Overloadable {
* @param array $data Data to save.
* @param boolean $validate If set, validation will be done before the save
* @param array $fieldList List of fields to allow to be written
* @return boolean success
* @return mixed 'false' on failure. On success either 'true' or Model::data if its not empty.
*/
function save($data = null, $validate = true, $fieldList = array()) {
$db =& ConnectionManager::getDataSource($this->useDbConfig);