PHP Class HTMLPurifier_TagTransform_Simple, yii

Inheritance: extends HTMLPurifier_TagTransform
Afficher le fichier Open project: yiisoft/yii

Protected Properties

Свойство Type Description
$style

Méthodes publiques

Méthode Description
__construct ( string $transform_to, string $style = null )
transform ( HTMLPurifier_Token_Tag $tag, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : string

Method Details

__construct() public méthode

public __construct ( string $transform_to, string $style = null )
$transform_to string Tag name to transform to.
$style string CSS style to add to the tag

transform() public méthode

public transform ( HTMLPurifier_Token_Tag $tag, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : string
$tag HTMLPurifier_Token_Tag
$config HTMLPurifier_Config
$context HTMLPurifier_Context
Résultat string

Property Details

$style protected_oe property

protected $style