Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update Helper->tagIsInvalid() documentation.

  • Loading branch information...
commit b5ddd4e5b7f67b503bb25983182b0245865d650c 1 parent a4fc424
@bar bar authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/libs/view/helper.php
View
4 cake/libs/view/helper.php
@@ -573,13 +573,13 @@ function field() {
}
/**
- * 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');
Please sign in to comment.
Something went wrong with that request. Please try again.