|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| __construct ($context, $obj, $member) | |
| assertIsString () | |
| assertIsBool () | |
| assertIsArray () | |
| assertNotNull () | |
| assertAlnum () | |
| assertNotEmpty () | |
| assertIsLookup () | |
Data Fields | |
| $obj | |
| $member | |
| $contents | |
Protected Member Functions | |
| error ($msg) | |
Protected Attributes | |
| $context | |
Fluent interface for validating the contents of member variables. This should be immutable. See HTMLPurifier_ConfigSchema_Validator for use-cases. We name this an 'atom' because it's ONLY for validations that are independent and usually scalar.
Definition at line 9 of file ValidatorAtom.php.
| __construct | ( | $ | context, |
| $ | obj, | ||
| $ | member | ||
| ) |
Definition at line 14 of file ValidatorAtom.php.
| assertAlnum | ( | ) |
| assertIsArray | ( | ) |
Definition at line 31 of file ValidatorAtom.php.


| assertIsBool | ( | ) |
| assertIsLookup | ( | ) |
| assertIsString | ( | ) |
Definition at line 21 of file ValidatorAtom.php.


| assertNotEmpty | ( | ) |
| assertNotNull | ( | ) |
| error | ( | $ | msg | ) | [protected] |
| $contents |
Definition at line 12 of file ValidatorAtom.php.
$context [protected] |
Definition at line 12 of file ValidatorAtom.php.
| $member |
Definition at line 12 of file ValidatorAtom.php.
| $obj |
Definition at line 12 of file ValidatorAtom.php.