Свойство | Тип | Описание | |
---|---|---|---|
$transform_to | Tag name to transform the tag to. |
Метод | Описание | |
---|---|---|
transform ( HTMLPurifier_Token_Tag $tag, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) | Transforms the obsolete tag into the valid tag. |
Метод | Описание | |
---|---|---|
prependCSS ( array &$attr, string $css ) | Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist. |
protected prependCSS ( array &$attr, string $css ) | ||
$attr | array | Attribute array to process (passed by reference) |
$css | string | CSS to prepend |
abstract public transform ( HTMLPurifier_Token_Tag $tag, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) | ||
$tag | HTMLPurifier_Token_Tag | Tag to be transformed. |
$config | HTMLPurifier_Config | Mandatory HTMLPurifier_Config object |
$context | HTMLPurifier_Context | Mandatory HTMLPurifier_Context object |