Class HTMLPurifier_ChildDef_Empty

Description

Definition that disallows all elements.

Located in /lib/core/Parsers/htmlpurifier/HTMLPurifier.standalone.php (line 10638)

HTMLPurifier_ChildDef
   |
   --HTMLPurifier_ChildDef_Empty
Variable Summary
mixed $allow_empty
mixed $type
Method Summary
HTMLPurifier_ChildDef_Empty __construct ()
void validateChildren ( $tokens_of_children,  $config,  $context)
Variables
mixed $allow_empty = true (line 10640)
  • access: public

Redefinition of:
HTMLPurifier_ChildDef::$allow_empty
Bool that indicates whether or not an empty array of children is okay
mixed $type = 'empty' (line 10641)
  • access: public

Redefinition of:
HTMLPurifier_ChildDef::$type
Type of child definition, usually right-most part of class name lowercase.

Inherited Variables

Inherited from HTMLPurifier_ChildDef

HTMLPurifier_ChildDef::$elements
Methods
Constructor __construct (line 10642)
  • access: public
HTMLPurifier_ChildDef_Empty __construct ()
validateChildren (line 10643)
  • access: public
void validateChildren ( $tokens_of_children,  $config,  $context)
  • $tokens_of_children
  • $config
  • $context

Redefinition of:
HTMLPurifier_ChildDef::validateChildren()
Validates nodes according to definition and returns modification.

Inherited Methods

Inherited From HTMLPurifier_ChildDef

HTMLPurifier_ChildDef::getAllowedElements()
HTMLPurifier_ChildDef::validateChildren()

Documentation generated on Sun, 06 Mar 2011 00:24:01 -0500 by phpDocumentor 1.4.3