PHP Class HTMLPurifier_AttrTransform_BoolToCSS, yii

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

Protected Properties

Свойство Type Description
$attr Name of boolean attribute that is trigger.
$css CSS declarations to add to style, needs trailing semicolon.

Méthodes publiques

Méthode Description
__construct ( string $attr, string $css )
transform ( array $attr, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : array

Method Details

__construct() public méthode

public __construct ( string $attr, string $css )
$attr string attribute name to convert from
$css string CSS declarations to add to style (needs semicolon)

transform() public méthode

public transform ( array $attr, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : array
$attr array
$config HTMLPurifier_Config
$context HTMLPurifier_Context
Résultat array

Property Details

$attr protected_oe property

Name of boolean attribute that is trigger.
protected $attr

$css protected_oe property

CSS declarations to add to style, needs trailing semicolon.
protected $css