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

Fonctions membres publiques

 transform ($attr, $config, $context)
 
 prependCSS (&$attr, $css)
 
 confiscateAttr (&$attr, $key)
 

Description détaillée

Processes an entire attribute array for corrections needing multiple values.

Occasionally, a certain attribute will need to be removed and popped onto another value. Instead of creating a complex return syntax for HTMLPurifier_AttrDef, we just pass the whole attribute array to a specialized object and have that do the special work. That is the family of HTMLPurifier_AttrTransform.

An attribute transformation can be assigned to run before or after HTMLPurifier_AttrDef validation. See HTMLPurifier_HTMLDefinition for more details.

Documentation des fonctions membres

◆ confiscateAttr()

confiscateAttr ( $attr,
  $key 
)

Retrieves and removes an attribute

Paramètres
array&$attrAttribute array to process (passed by reference)
mixed$keyKey of attribute to confiscate
Renvoie
mixed
+ Voici le graphe des appelants de cette fonction :

◆ prependCSS()

prependCSS ( $attr,
  $css 
)

Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.

Paramètres
array&$attrAttribute array to process (passed by reference)
string$cssCSS to prepend
+ Voici le graphe des appelants de cette fonction :

◆ transform()


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