PHP Class HTMLPurifier_ChildDef_List, yii

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.
Inheritance: extends HTMLPurifier_ChildDef
Show file Open project: yiisoft/yii

Public Properties

Property Type Description
$elements XXX: This whole business with 'wrap' is all a bit unsatisfactory
$type

Public Methods

Method Description
validateChildren ( array $children, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : array

Method Details

validateChildren() public method

public validateChildren ( array $children, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : array
$children array
$config HTMLPurifier_Config
$context HTMLPurifier_Context
return array

Property Details

$elements public property

XXX: This whole business with 'wrap' is all a bit unsatisfactory
public $elements

$type public property

public $type