API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_ChildDef_Empty Class Reference
Inheritance diagram for HTMLPurifier_ChildDef_Empty:
Collaboration diagram for HTMLPurifier_ChildDef_Empty:

Public Member Functions

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

Data Fields

 $allow_empty = true
 
 $type = 'empty'
 
- Data Fields inherited from HTMLPurifier_ChildDef
 $type
 
 $allow_empty
 
 $elements = array()
 

Detailed Description

Definition that disallows all elements.

Warning
validateChildren() in this class is actually never called, because empty elements are corrected in HTMLPurifier_Strategy_MakeWellFormed before child definitions are parsed in earnest by HTMLPurifier_Strategy_FixNesting.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Member Function Documentation

◆ validateChildren()

validateChildren (   $children,
  $config,
  $context 
)
Parameters
HTMLPurifier_Node[]$children
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Returns
array

Reimplemented from HTMLPurifier_ChildDef.

Field Documentation

◆ $allow_empty

$allow_empty = true

@type bool

◆ $type

$type = 'empty'

@type string


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