JFormRulePassword:: test
Method to test if two values are not equal. To use this rule, the form XML needs a validate attribute of equals and a field attribute that is equal to the field to test against.
Signature
Parameters
$element
The SimpleXMLElement object representing the <field /> tag for the form field object.
$value
The form field value to validate.
$group
The field name group control value. This acts as as an array container for the field.
$input
An optional JRegistry object with the entire data set to validate against the entire form.
$form
The form object for which the field is being tested.
Returns
boolean
True if the value is valid, false otherwise.
Errors/Exceptions
InvalidArgumentException
UnexpectedValueException
Parent Implementation
Generated using phpDox 0.6.3 - Copyright (C) 2010 - 2014 by Arne Blankerts