|
Moodle
2.2.1
http://www.collinsharper.com
|

Public Member Functions | |
| validate ($value) | |
| setName ($ruleName) | |
| getValidationScript ($options=null) | |
Data Fields | |
| $name | |
| getValidationScript | ( | $ | options = null | ) |
Returns the javascript test (the test should return true if the value is INVALID)
| mixed | Options for the rule public |
Reimplemented in MoodleQuickForm_Rule_Required, HTML_QuickForm_Rule_Callback, HTML_QuickForm_Rule_Compare, HTML_QuickForm_Rule_Regex, HTML_QuickForm_Rule_Email, HTML_QuickForm_Rule_Range, and HTML_QuickForm_Rule_Required.