Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating doc block for Model::invalidate. Fixes #4583.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8274 3807eeeb-6ff5-0310-8944-8be069107fe0
  • Loading branch information...
commit 3f46bf9568a5b8d0458ad757a060bbf3bedda97d 1 parent 6b0bbc4
@jperras jperras authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/libs/model/model.php
View
4 cake/libs/model/model.php
@@ -2488,8 +2488,8 @@ function invalidFields($options = array()) {
* rule (in case of multiple validation for field) that was broken.
*
* @param string $field The name of the field to invalidate
- * @param mixed $value Name of validation rule that was not failed. If no validation key
- * is provided, defaults to true.
+ * @param mixed $value Name of validation rule that was not failed, or validation message to
+ * be returned. If no validation key is provided, defaults to true.
* @access public
*/
function invalidate($field, $value = true) {
Please sign in to comment.
Something went wrong with that request. Please try again.