PHP Class HTMLPurifier_TagTransform, yii

Afficher le fichier Open project: yiisoft/yii

Méthodes publiques

Свойство Type Description
$transform_to Tag name to transform the tag to.

Méthodes publiques

Méthode Description
transform ( HTMLPurifier_Token_Tag $tag, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) Transforms the obsolete tag into the valid tag.

Méthodes protégées

Méthode Description
prependCSS ( array &$attr, string $css ) Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.

Method Details

prependCSS() protected méthode

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() abstract public méthode

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

Property Details

$transform_to public_oe property

Tag name to transform the tag to.
public $transform_to