Class HTMLPurifier_ChildDef_Empty

Description

Definition that disallows all elements.

Definition that disallows all elements.

Located in /library/HTMLPurifier/ChildDef/Empty.php (line 10)

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 12)
  • access: public

Redefinition of:
HTMLPurifier_ChildDef::$allow_empty
Bool that indicates whether or not an empty array of children is okay This is necessary for redundant checking when changes affecting a child node may cause a parent node to now be disallowed.
mixed $type = 'empty' (line 13)
  • 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 14)
  • access: public
HTMLPurifier_ChildDef_Empty __construct ()
validateChildren (line 15)
  • 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::validateChildren()

Documentation generated on Thu, 19 Jun 2008 18:49:06 -0400 by phpDocumentor 1.4.2