PHP Class HTMLPurifier_TagTransform_Simple, yii

Inheritance: extends HTMLPurifier_TagTransform
显示文件 Open project: yiisoft/yii

Protected Properties

Property Type Description
$style

Public Methods

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

Method Details

__construct() public method

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 method

public transform ( HTMLPurifier_Token_Tag $tag, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : string
$tag HTMLPurifier_Token_Tag
$config HTMLPurifier_Config
$context HTMLPurifier_Context
return string

Property Details

$style protected_oe property

protected $style