Class HTMLPurifier_ConfigSchema_ValidatorAtom

Description

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.

Located in /lib/core/Parsers/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/ValidatorAtom.php (line 9)


	
			
Variable Summary
mixed $contents
mixed $context
mixed $member
mixed $obj
Method Summary
HTMLPurifier_ConfigSchema_ValidatorAtom __construct ( $context,  $obj,  $member)
void assertAlnum ()
void assertIsArray ()
void assertIsBool ()
void assertIsLookup ()
void assertIsString ()
void assertNotEmpty ()
void assertNotNull ()
void error ( $msg)
Variables
mixed $contents (line 12)
  • access: protected
mixed $context (line 12)
  • access: protected
mixed $member (line 12)
  • access: protected
mixed $obj (line 12)
  • access: protected
Methods
Constructor __construct (line 14)
  • access: public
HTMLPurifier_ConfigSchema_ValidatorAtom __construct ( $context,  $obj,  $member)
  • $context
  • $obj
  • $member
assertAlnum (line 41)
  • access: public
void assertAlnum ()
assertIsArray (line 31)
  • access: public
void assertIsArray ()
assertIsBool (line 26)
  • access: public
void assertIsBool ()
assertIsLookup (line 52)
  • access: public
void assertIsLookup ()
assertIsString (line 21)
  • access: public
void assertIsString ()
assertNotEmpty (line 47)
  • access: public
void assertNotEmpty ()
assertNotNull (line 36)
  • access: public
void assertNotNull ()
error (line 60)
  • access: protected
void error ( $msg)
  • $msg

Documentation generated on Sun, 06 Mar 2011 00:25:20 -0500 by phpDocumentor 1.4.3