HTMLPurifier_ChildDef_Required Class Reference

Definition that allows a set of elements, but disallows empty children. More...

Inheritance diagram for HTMLPurifier_ChildDef_Required:

HTMLPurifier_ChildDef_Optional HTMLPurifier_ChildDef_Optional HTMLPurifier_ChildDef_StrictBlockquote HTMLPurifier_ChildDef_StrictBlockquote

List of all members.

Public Member Functions

 __construct ($elements)
 
Parameters:
$elements List of allowed element names (lowercase).

 validateChildren ($tokens_of_children, $config, $context)
 __construct ($elements)
 
Parameters:
$elements List of allowed element names (lowercase).

 validateChildren ($tokens_of_children, $config, $context)

Public Attributes

 $elements = array()
 Lookup table of allowed elements.
 $allow_empty = false
 $type = 'required'


Detailed Description

Definition that allows a set of elements, but disallows empty children.

Definition at line 6 of file Required.php.


Constructor & Destructor Documentation

HTMLPurifier_ChildDef_Required::__construct ( elements  ) 

Parameters:
$elements List of allowed element names (lowercase).

Definition at line 16 of file Required.php.

References $elements.

HTMLPurifier_ChildDef_Required::__construct ( elements  ) 

Parameters:
$elements List of allowed element names (lowercase).

Definition at line 9718 of file HTMLPurifier.standalone.php.


Member Function Documentation

HTMLPurifier_ChildDef_Required::validateChildren ( tokens_of_children,
config,
context 
)

Reimplemented in HTMLPurifier_ChildDef_Optional, HTMLPurifier_ChildDef_StrictBlockquote, HTMLPurifier_ChildDef_Optional, and HTMLPurifier_ChildDef_StrictBlockquote.

Definition at line 33 of file Required.php.

HTMLPurifier_ChildDef_Required::validateChildren ( tokens_of_children,
config,
context 
)

Reimplemented in HTMLPurifier_ChildDef_Optional, HTMLPurifier_ChildDef_StrictBlockquote, HTMLPurifier_ChildDef_Optional, and HTMLPurifier_ChildDef_StrictBlockquote.

Definition at line 9735 of file HTMLPurifier.standalone.php.


Member Data Documentation

HTMLPurifier_ChildDef_Required::$elements = array()

Lookup table of allowed elements.

Definition at line 12 of file Required.php.

Referenced by __construct().

HTMLPurifier_ChildDef_Required::$allow_empty = false

Reimplemented in HTMLPurifier_ChildDef_Optional, and HTMLPurifier_ChildDef_StrictBlockquote.

Definition at line 31 of file Required.php.

HTMLPurifier_ChildDef_Required::$type = 'required'

Reimplemented in HTMLPurifier_ChildDef_Optional, and HTMLPurifier_ChildDef_StrictBlockquote.

Definition at line 32 of file Required.php.


The documentation for this class was generated from the following files:
Generated on Thu Jun 19 18:47:29 2008 for HTMLPurifier by  doxygen 1.5.3