Skip to content
This repository
Browse code

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
Joel Perras authored August 02, 2009

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  cake/libs/model/model.php
4  cake/libs/model/model.php
@@ -2488,8 +2488,8 @@ function invalidFields($options = array()) {
2488 2488
  * rule (in case of multiple validation for field) that was broken.
2489 2489
  *
2490 2490
  * @param string $field The name of the field to invalidate
2491  
- * @param mixed $value Name of validation rule that was not failed. If no validation key
2492  
- * 						is provided, defaults to true.
  2491
+ * @param mixed $value Name of validation rule that was not failed, or validation message to
  2492
+ *                     be returned. If no validation key is provided, defaults to true.
2493 2493
  * @access public
2494 2494
  */
2495 2495
 	function invalidate($field, $value = true) {

0 notes on commit 3f46bf9

Please sign in to comment.
Something went wrong with that request. Please try again.