![]() |
XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Graphe d'héritage de HTMLPurifier_ChildDef_Chameleon:
Graphe de collaboration de HTMLPurifier_ChildDef_Chameleon:Fonctions membres publiques | |
| __construct ($inline, $block) | |
| validateChildren ($children, $config, $context) | |
Fonctions membres publiques hérités de HTMLPurifier_ChildDef | |
| getAllowedElements ($config) | |
Champs de données | |
| $inline | |
| $block | |
| $type = 'chameleon' | |
Champs de données hérités de HTMLPurifier_ChildDef | |
| $type | |
| $allow_empty | |
| $elements = array() | |
Definition that uses different definitions depending on context.
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.
| __construct | ( | $inline, | |
| $block | |||
| ) |
| array | $inline | List of elements to allow when inline. |
| array | $block | List of elements to allow when block. |
| validateChildren | ( | $children, | |
| $config, | |||
| $context | |||
| ) |
| HTMLPurifier_Node[] | $children | |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Réimplémentée à partir de HTMLPurifier_ChildDef.
| $block |
Instance of the definition object to use when block. @type HTMLPurifier_ChildDef_Optional
| $inline |
Instance of the definition object to use when inline. Usually stricter. @type HTMLPurifier_ChildDef_Optional
| $type = 'chameleon' |
@type string