PHP Класс HTMLPurifier_TagTransform, yii

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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.

Описание методов

prependCSS() защищенный Метод

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

transform() абстрактный публичный Метод

Transforms the obsolete tag into the valid tag.
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

Описание свойств

$transform_to публичное свойство

Tag name to transform the tag to.
public $transform_to