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


Public Member Functions | |
| validate ($value, $options=null) | |
| getValidationScript ($options=null) | |
| getValidationScript | ( | $ | options = null | ) |
Returns the javascript test (the test should return true if the value is INVALID)
| mixed | Options for the rule public |
Reimplemented from HTML_QuickForm_Rule.
Definition at line 46 of file Required.php.
| validate | ( | $ | value, |
| $ | options = null |
||
| ) |
Checks if an element is empty
| string | $value | Value to check |
| mixed | $options | Not used yet public |
Definition at line 37 of file Required.php.