XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTMLPurifier_ChildDef_Required Class Reference
Inheritance diagram for HTMLPurifier_ChildDef_Required:
Inheritance graph

Public Member Functions

 __construct ($elements)
 
 validateChildren ($tokens_of_children, $config, $context)
 
- Public Member Functions inherited from HTMLPurifier_ChildDef
 getAllowedElements ($config)
 
 validateChildren ($tokens_of_children, $config, $context)
 

Public Attributes

 $allow_empty = false
 
 $elements = array()
 
 $type = 'required'
 
- Public Attributes inherited from HTMLPurifier_ChildDef
 $allow_empty
 
 $elements = array()
 
 $type
 

Protected Attributes

 $whitespace = false
 

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
$elementsList of allowed element names (lowercase).

Definition at line 20 of file Required.php.

References $elements, and $i.

Member Function Documentation

HTMLPurifier_ChildDef_Required::validateChildren (   $tokens_of_children,
  $config,
  $context 
)

Definition at line 37 of file Required.php.

References $config, $result, and $token.

Member Data Documentation

HTMLPurifier_ChildDef_Required::$allow_empty = false

Definition at line 35 of file Required.php.

HTMLPurifier_ChildDef_Required::$elements = array()

Lookup table of allowed elements.

Definition at line 12 of file Required.php.

Referenced by __construct(), and HTMLPurifier_ChildDef_StrictBlockquote\init().

HTMLPurifier_ChildDef_Required::$type = 'required'

Definition at line 36 of file Required.php.

HTMLPurifier_ChildDef_Required::$whitespace = false
protected

Whether or not the last passed node was all whitespace.

Definition at line 16 of file Required.php.


The documentation for this class was generated from the following file: