PHP Class HTMLPurifier_ChildDef_Required, yii

Inheritance: extends HTMLPurifier_ChildDef
Afficher le fichier Open project: yiisoft/yii Class Usage Examples

Méthodes publiques

Свойство Type Description
$allow_empty
$elements Lookup table of allowed elements.
$type

Protected Properties

Свойство Type Description
$whitespace Whether or not the last passed node was all whitespace.

Méthodes publiques

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

Method Details

__construct() public méthode

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

validateChildren() public méthode

public validateChildren ( array $children, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : array
$children array
$config HTMLPurifier_Config
$context HTMLPurifier_Context
Résultat 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