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

Public Member Functions

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

Data Fields

 $type = 'list'
 
 $elements = array('li' => true, 'ul' => true, 'ol' => true)
 
- Data Fields inherited from HTMLPurifier_ChildDef
 $type
 
 $allow_empty
 
 $elements = array()
 

Detailed Description

Definition for list containers ul and ol.

What does this do? The big thing is to handle ol/ul at the top level of list nodes, which should be handled specially by /folding/ them into the previous list node. We generally shouldn't ever see other disallowed elements, because the autoclose behavior in MakeWellFormed handles it.

Member Function Documentation

◆ validateChildren()

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

Reimplemented from HTMLPurifier_ChildDef.

Field Documentation

◆ $elements

$elements = array('li' => true, 'ul' => true, 'ol' => true)

@type array

◆ $type

$type = 'list'

@type string


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