XOOPS API 2.5.11 Beta1  UI v0.5
Réalisé par monxoops.fr
Référence de la classe HTMLPurifier_AttrTransform_BoolToCSS
+ Graphe d'héritage de HTMLPurifier_AttrTransform_BoolToCSS:
+ Graphe de collaboration de HTMLPurifier_AttrTransform_BoolToCSS:

Fonctions membres publiques

 __construct ($attr, $css)
 
 transform ($attr, $config, $context)
 
- Fonctions membres publiques hérités de HTMLPurifier_AttrTransform
 prependCSS (&$attr, $css)
 
 confiscateAttr (&$attr, $key)
 

Attributs protégés

 $attr
 
 $css
 

Description détaillée

Pre-transform that changes converts a boolean attribute to fixed CSS

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $attr,
  $css 
)
Paramètres
string$attrattribute name to convert from
string$cssCSS declarations to add to style (needs semicolon)

Documentation des fonctions membres

◆ transform()

transform (   $attr,
  $config,
  $context 
)
Paramètres
array$attr
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Renvoie
array

Réimplémentée à partir de HTMLPurifier_AttrTransform.

+ Voici le graphe d'appel pour cette fonction :

Documentation des champs

◆ $attr

$attr
protected

Name of boolean attribute that is trigger. @type string

◆ $css

$css
protected

CSS declarations to add to style, needs trailing semicolon. @type string


La documentation de cette classe a été générée à partir du fichier suivant :