Public Member Functions | |
| __construct ($name=NULL, $data=NULL, $translatedMessage=NULL) | |
| Constructor. | |
| getName () | |
| Gets the name of the rule. | |
| getData () | |
| Gets the value to the rule. | |
| getTranslatedMessage () | |
| Gets the error message to display if validation fails. | |
Public Attributes | |
| $name | |
| Name of the rule (required, minlength, remote, . | |
| $data | |
| The value to the rule. | |
| $translatedMessage | |
| Error message to display if validation fails. | |
Definition at line 6 of file JQueryValidationRule.class.php.
| spunQ_JQueryValidationRule::__construct | ( | $ | name = NULL, |
|
| $ | data = NULL, |
|||
| $ | translatedMessage = NULL | |||
| ) |
Constructor.
| $name | ||
| $data | ||
| $translatedMessage |
Definition at line 34 of file JQueryValidationRule.class.php.
| spunQ_JQueryValidationRule::getData | ( | ) |
Gets the value to the rule.
$name and $value will be used in an associative array and converted to json, this value is expected to be unconverted, though.
Definition at line 55 of file JQueryValidationRule.class.php.
| spunQ_JQueryValidationRule::getName | ( | ) |
Gets the name of the rule.
Definition at line 45 of file JQueryValidationRule.class.php.
| spunQ_JQueryValidationRule::getTranslatedMessage | ( | ) |
Gets the error message to display if validation fails.
Definition at line 63 of file JQueryValidationRule.class.php.
| spunQ_JQueryValidationRule::$data |
The value to the rule.
$name and $value will be used in an associative array and converted to json, this value is expected to be unconverted, though.
Definition at line 20 of file JQueryValidationRule.class.php.
| spunQ_JQueryValidationRule::$name |
Name of the rule (required, minlength, remote, .
..)
Definition at line 12 of file JQueryValidationRule.class.php.
| spunQ_JQueryValidationRule::$translatedMessage |
Error message to display if validation fails.
Definition at line 26 of file JQueryValidationRule.class.php.
1.5.9