mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
6a7b7a5c36
commit
7e57a4d28b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue