PHP Класс HTMLPurifier_ChildDef_Chameleon, yii
The del and ins tags are notable because they allow different types of
elements depending on whether or not they're in a block or inline context.
Chameleon allows this behavior to happen by using two different
definitions depending on context. While this somewhat generalized,
it is specifically intended for those two tags.
Показать файл
Открыть проект
Открытые свойства
Свойство |
Тип |
Описание |
|
$block |
|
Instance of the definition object to use when block. |
|
$inline |
|
Instance of the definition object to use when inline. Usually stricter. |
|
$type |
|
|
|
Открытые методы
Описание методов
__construct()
публичный Метод
validateChildren()
публичный Метод
public validateChildren ( HTMLPurifier_Node[] $children, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean |
$children |
HTMLPurifier_Node[] |
|
$config |
HTMLPurifier_Config |
|
$context |
HTMLPurifier_Context |
|
Результат |
boolean |
|
Описание свойств
$block публичное свойство
Instance of the definition object to use when block.
$inline публичное свойство
Instance of the definition object to use when inline. Usually stricter.