Public Member Functions | |
| __construct ($context, $obj, $member) | |
| assertIsString () | |
| assertIsBool () | |
| assertIsArray () | |
| assertNotNull () | |
| assertAlnum () | |
| assertNotEmpty () | |
| assertIsLookup () | |
Protected Member Functions | |
| error ($msg) | |
Protected Attributes | |
| $context | |
| $obj | |
| $member | |
| $contents | |
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::assertIsString | ( | ) |
| HTMLPurifier_ConfigSchema_ValidatorAtom::assertIsBool | ( | ) |
| HTMLPurifier_ConfigSchema_ValidatorAtom::assertIsArray | ( | ) |
Definition at line 31 of file ValidatorAtom.php.
References error().
Referenced by assertIsLookup().
| HTMLPurifier_ConfigSchema_ValidatorAtom::assertNotNull | ( | ) |
| HTMLPurifier_ConfigSchema_ValidatorAtom::assertAlnum | ( | ) |
| HTMLPurifier_ConfigSchema_ValidatorAtom::assertNotEmpty | ( | ) |
| HTMLPurifier_ConfigSchema_ValidatorAtom::assertIsLookup | ( | ) |
| HTMLPurifier_ConfigSchema_ValidatorAtom::error | ( | $ | msg | ) | [protected] |
Definition at line 60 of file ValidatorAtom.php.
Referenced by assertAlnum(), assertIsArray(), assertIsBool(), assertIsLookup(), assertIsString(), assertNotEmpty(), and assertNotNull().
HTMLPurifier_ConfigSchema_ValidatorAtom::$context [protected] |
HTMLPurifier_ConfigSchema_ValidatorAtom::$obj [protected] |
HTMLPurifier_ConfigSchema_ValidatorAtom::$member [protected] |
HTMLPurifier_ConfigSchema_ValidatorAtom::$contents [protected] |
Definition at line 12 of file ValidatorAtom.php.
1.5.3