PHP Class HTMLPurifier_TagTransform_Font, yii

This transformation takes the three proprietary attributes of FONT and transforms them into their corresponding CSS attributes. These are color, face, and size.
Inheritance: extends HTMLPurifier_TagTransform
ファイルを表示 Open project: yiisoft/yii

Public Properties

Property Type Description
$transform_to

Protected Properties

Property Type Description
$_size_lookup

Public Methods

Method Description
transform ( HTMLPurifier_Token_Tag $tag, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : HTMLPurifier_Token_End | string

Method Details

transform() public method

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

Property Details

$_size_lookup protected_oe property

protected $_size_lookup

$transform_to public_oe property

public $transform_to