|
ILIAS
Release_5_0_x_branch Revision 61816
|
Fluent interface for validating the contents of member variables. More...
Collaboration diagram for HTMLPurifier_ConfigSchema_ValidatorAtom:Public Member Functions | |
| __construct ($context, $obj, $member) | |
| assertIsString () | |
| assertIsBool () | |
| assertIsArray () | |
| assertNotNull () | |
| assertAlnum () | |
| assertNotEmpty () | |
| assertIsLookup () | |
Protected Member Functions | |
| error ($msg) | |
Protected Attributes | |
| $context | |
| string | |
| $obj | |
| object | |
| $member | |
| string | |
| $contents | |
| mixed | |
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.
| HTMLPurifier_ConfigSchema_ValidatorAtom::__construct | ( | $context, | |
| $obj, | |||
| $member | |||
| ) |
| HTMLPurifier_ConfigSchema_ValidatorAtom::assertAlnum | ( | ) |
Definition at line 86 of file ValidatorAtom.php.
References assertIsString(), and error().
Here is the call graph for this function:| HTMLPurifier_ConfigSchema_ValidatorAtom::assertIsArray | ( | ) |
Definition at line 64 of file ValidatorAtom.php.
References error().
Referenced by assertIsLookup().
Here is the call graph for this function:
Here is the caller graph for this function:| HTMLPurifier_ConfigSchema_ValidatorAtom::assertIsBool | ( | ) |
Definition at line 53 of file ValidatorAtom.php.
References error().
Here is the call graph for this function:| HTMLPurifier_ConfigSchema_ValidatorAtom::assertIsLookup | ( | ) |
Definition at line 109 of file ValidatorAtom.php.
References assertIsArray(), and error().
Here is the call graph for this function:| HTMLPurifier_ConfigSchema_ValidatorAtom::assertIsString | ( | ) |
Definition at line 42 of file ValidatorAtom.php.
References error().
Referenced by assertAlnum().
Here is the call graph for this function:
Here is the caller graph for this function:| HTMLPurifier_ConfigSchema_ValidatorAtom::assertNotEmpty | ( | ) |
Definition at line 98 of file ValidatorAtom.php.
References error().
Here is the call graph for this function:| HTMLPurifier_ConfigSchema_ValidatorAtom::assertNotNull | ( | ) |
Definition at line 75 of file ValidatorAtom.php.
References error().
Here is the call graph for this function:
|
protected |
| string | $msg |
| HTMLPurifier_ConfigSchema_Exception |
Definition at line 124 of file ValidatorAtom.php.
Referenced by assertAlnum(), assertIsArray(), assertIsBool(), assertIsLookup(), assertIsString(), assertNotEmpty(), and assertNotNull().
Here is the caller graph for this function:
|
protected |
mixed
Definition at line 29 of file ValidatorAtom.php.
|
protected |
|
protected |
|
protected |