Correcting type and expanding documentation for Model::invalidate(). Closes #5481

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7667 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mark_story 2008-09-26 15:14:31 +00:00
parent e6b994bcb1
commit 1a0d87ba83

View file

@ -2309,7 +2309,8 @@ class Model extends Overloadable {
* rule (in case of multiple validation for field) that was broken
*
* @param string $field The name of the field to invalidate
* @param string $value Name of validation rule that was not met
* @param mixed $value Name of validation rule that was not failed. If no validation key
* is provided, defaults to true.
* @access public
*/
function invalidate($field, $value = true) {