Moodle  2.2.1
http://www.collinsharper.com
HTMLPurifier_ConfigSchema_ValidatorAtom Class Reference

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

Detailed 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.

Definition at line 9 of file ValidatorAtom.php.


Constructor & Destructor Documentation

__construct ( context,
obj,
member 
)

Definition at line 14 of file ValidatorAtom.php.


Member Function Documentation

Definition at line 41 of file ValidatorAtom.php.

Here is the call graph for this function:

Definition at line 31 of file ValidatorAtom.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 26 of file ValidatorAtom.php.

Here is the call graph for this function:

Definition at line 52 of file ValidatorAtom.php.

Here is the call graph for this function:

Definition at line 21 of file ValidatorAtom.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 47 of file ValidatorAtom.php.

Here is the call graph for this function:

Definition at line 36 of file ValidatorAtom.php.

Here is the call graph for this function:

error ( msg) [protected]

Definition at line 60 of file ValidatorAtom.php.

Here is the caller graph for this function:


Field Documentation

$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.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations