mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Update Helper->tagIsInvalid() documentation.
This commit is contained in:
parent
a4fc424b40
commit
b5ddd4e5b7
1 changed files with 2 additions and 2 deletions
|
@ -573,13 +573,13 @@ class Helper extends Overloadable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns false if given FORM field has no errors. Otherwise it returns the constant set in
|
||||
* Returns null if given FORM field has no errors. Otherwise it returns the constant set in
|
||||
* the array Model->validationErrors.
|
||||
*
|
||||
* @param string $model Model name as a string
|
||||
* @param string $field Fieldname as a string
|
||||
* @param integer $modelID Unique index identifying this record within the form
|
||||
* @return boolean True on errors.
|
||||
* @return mixed Null if no errors, string with error otherwhise.
|
||||
*/
|
||||
function tagIsInvalid($model = null, $field = null, $modelID = null) {
|
||||
$view =& ClassRegistry::getObject('view');
|
||||
|
|
Loading…
Reference in a new issue