XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTMLPurifier_Injector_RemoveSpansWithoutAttributes Class Reference
Inheritance diagram for HTMLPurifier_Injector_RemoveSpansWithoutAttributes:
Inheritance graph

Public Member Functions

 handleElement (&$token)
 
 handleEnd (&$token)
 
 prepare ($config, $context)
 
- Public Member Functions inherited from HTMLPurifier_Injector
 allowsElement ($name)
 
 checkNeeded ($config)
 
 getRewind ()
 
 handleElement (&$token)
 
 handleEnd (&$token)
 
 handleText (&$token)
 
 notifyEnd ($token)
 
 prepare ($config, $context)
 
 rewind ($index)
 

Public Attributes

 $name = 'RemoveSpansWithoutAttributes'
 
 $needed = array('span')
 
- Public Attributes inherited from HTMLPurifier_Injector
 $name
 
 $needed = array()
 

Private Attributes

 $attrValidator
 
 $config
 
 $context
 

Additional Inherited Members

- Protected Member Functions inherited from HTMLPurifier_Injector
 backward (&$i, &$current)
 
 current (&$i, &$current)
 
 forward (&$i, &$current)
 
 forwardUntilEndToken (&$i, &$current, &$nesting)
 
- Protected Attributes inherited from HTMLPurifier_Injector
 $currentNesting
 
 $htmlDefinition
 
 $inputIndex
 
 $inputTokens
 
 $rewind = false
 

Detailed Description

Injector that removes spans with no attributes

Definition at line 6 of file RemoveSpansWithoutAttributes.php.

Member Function Documentation

HTMLPurifier_Injector_RemoveSpansWithoutAttributes::handleElement ( $token)

Definition at line 26 of file RemoveSpansWithoutAttributes.php.

References $i, $token, and HTMLPurifier_Injector\forwardUntilEndToken().

Here is the call graph for this function:

HTMLPurifier_Injector_RemoveSpansWithoutAttributes::handleEnd ( $token)

Definition at line 53 of file RemoveSpansWithoutAttributes.php.

References $token.

HTMLPurifier_Injector_RemoveSpansWithoutAttributes::prepare (   $config,
  $context 
)

Definition at line 19 of file RemoveSpansWithoutAttributes.php.

References $config, and $context.

Member Data Documentation

HTMLPurifier_Injector_RemoveSpansWithoutAttributes::$attrValidator
private

Definition at line 11 of file RemoveSpansWithoutAttributes.php.

HTMLPurifier_Injector_RemoveSpansWithoutAttributes::$config
private

Used by AttrValidator

Definition at line 16 of file RemoveSpansWithoutAttributes.php.

Referenced by prepare().

HTMLPurifier_Injector_RemoveSpansWithoutAttributes::$context
private

Definition at line 17 of file RemoveSpansWithoutAttributes.php.

Referenced by prepare().

HTMLPurifier_Injector_RemoveSpansWithoutAttributes::$name = 'RemoveSpansWithoutAttributes'

Definition at line 8 of file RemoveSpansWithoutAttributes.php.

HTMLPurifier_Injector_RemoveSpansWithoutAttributes::$needed = array('span')

Definition at line 9 of file RemoveSpansWithoutAttributes.php.


The documentation for this class was generated from the following file: