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

Fonctions membres publiques

 prepare ($config, $context)
 
 handleElement (&$token)
 
 handleEnd (&$token)
 
- Fonctions membres publiques hérités de HTMLPurifier_Injector
 rewindOffset ($offset)
 
 getRewindOffset ()
 
 checkNeeded ($config)
 
 allowsElement ($name)
 
 handleText (&$token)
 
 notifyEnd ($token)
 

Champs de données

 $name = 'RemoveSpansWithoutAttributes'
 
 $needed = array('span')
 
- Champs de données hérités de HTMLPurifier_Injector
 $name
 
 $needed = array()
 

Attributs privés

 $attrValidator
 
 $config
 
 $context
 

Membres hérités additionnels

- Fonctions membres protégées hérités de HTMLPurifier_Injector
 forward (&$i, &$current)
 
 forwardUntilEndToken (&$i, &$current, &$nesting)
 
 backward (&$i, &$current)
 
- Attributs protégés hérités de HTMLPurifier_Injector
 $htmlDefinition
 
 $currentNesting
 
 $currentToken
 
 $inputZipper
 
 $rewindOffset = false
 

Description détaillée

Injector that removes spans with no attributes

Documentation des fonctions membres

◆ handleElement()

handleElement ( $token)
Paramètres
HTMLPurifier_Token$token

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

+ Voici le graphe d'appel pour cette fonction :

◆ handleEnd()

handleEnd ( $token)
Paramètres
HTMLPurifier_Token$token

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

◆ prepare()

prepare (   $config,
  $context 
)

Prepares the injector by giving it the config and context objects: this allows references to important variables to be made within the injector. This function also checks if the HTML environment will work with the Injector (see checkNeeded()).

Paramètres
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Renvoie
bool|string Boolean false if success, string of missing needed element/attribute if failure

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

Documentation des champs

◆ $attrValidator

$attrValidator
private

◆ $config

$config
private

Used by AttrValidator. @type HTMLPurifier_Config

◆ $context

$context
private

◆ $name

$name = 'RemoveSpansWithoutAttributes'

@type string

◆ $needed

$needed = array('span')

@type array


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