mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Update Model.php
fixed comment spacing
This commit is contained in:
parent
089c9e1139
commit
08cef539f9
1 changed files with 6 additions and 6 deletions
|
@ -1497,13 +1497,13 @@ class Model extends Object implements CakeEventListener {
|
|||
}
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* This function is a convenient wrapper class to create(false) and, as the name suggests, clears the id, data, and validation errors.
|
||||
*
|
||||
* @return always boolean TRUE upon success
|
||||
* @see Model::create()
|
||||
*/
|
||||
* This function is a convenient wrapper class to create(false) and, as the name suggests, clears the id, data, and validation errors.
|
||||
*
|
||||
* @return always boolean TRUE upon success
|
||||
* @see Model::create()
|
||||
*/
|
||||
public function clear() {
|
||||
$this->create(false);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue