Class HTMLPurifier_ChildDef_Optional

Description

Definition that allows a set of elements, and allows no children.

Definition that allows a set of elements, and allows no children.

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

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

Redefinition of:
HTMLPurifier_ChildDef_Required::$allow_empty
mixed $type = 'optional' (line 13)
  • access: public

Redefinition of:
HTMLPurifier_ChildDef_Required::$type

Inherited Variables

Inherited from HTMLPurifier_ChildDef_Required

HTMLPurifier_ChildDef_Required::$elements
Methods
validateChildren (line 14)
  • access: public
void validateChildren ( $tokens_of_children,  $config,  $context)
  • $tokens_of_children
  • $config
  • $context

Redefinition of:
HTMLPurifier_ChildDef_Required::validateChildren()

Inherited Methods

Inherited From HTMLPurifier_ChildDef_Required

HTMLPurifier_ChildDef_Required::__construct()
HTMLPurifier_ChildDef_Required::validateChildren()

Inherited From HTMLPurifier_ChildDef

HTMLPurifier_ChildDef::validateChildren()

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