PHP Class HTMLPurifier_ChildDef_Required, yii

Inheritance: extends HTMLPurifier_ChildDef
Mostra file Open project: yiisoft/yii Class Usage Examples

Public Properties

Property Type Description
$allow_empty
$elements Lookup table of allowed elements.
$type

Protected Properties

Property Type Description
$whitespace Whether or not the last passed node was all whitespace.

Public Methods

Method Description
__construct ( array | string $elements )
validateChildren ( array $children, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : array

Method Details

__construct() public method

public __construct ( array | string $elements )
$elements array | string List of allowed element names (lowercase).

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

$allow_empty public_oe property

public $allow_empty

$elements public_oe property

Lookup table of allowed elements.
public $elements

$type public_oe property

public $type

$whitespace protected_oe property

Whether or not the last passed node was all whitespace.
protected $whitespace