API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_Injector_AutoParagraph Class Reference
Inheritance diagram for HTMLPurifier_Injector_AutoParagraph:
Collaboration diagram for HTMLPurifier_Injector_AutoParagraph:

Public Member Functions

 handleText (&$token)
 
 handleElement (&$token)
 
- Public Member Functions inherited from HTMLPurifier_Injector
 rewindOffset ($offset)
 
 getRewindOffset ()
 
 prepare ($config, $context)
 
 checkNeeded ($config)
 
 allowsElement ($name)
 
 handleText (&$token)
 
 handleElement (&$token)
 
 handleEnd (&$token)
 
 notifyEnd ($token)
 

Data Fields

 $name = 'AutoParagraph'
 
 $needed = array('p')
 
- Data Fields inherited from HTMLPurifier_Injector
 $name
 
 $needed = array()
 

Additional Inherited Members

- Protected Member Functions inherited from HTMLPurifier_Injector
 forward (&$i, &$current)
 
 forwardUntilEndToken (&$i, &$current, &$nesting)
 
 backward (&$i, &$current)
 
- Protected Attributes inherited from HTMLPurifier_Injector
 $htmlDefinition
 
 $currentNesting
 
 $currentToken
 
 $inputZipper
 
 $rewindOffset = false
 

Detailed Description

Injector that auto paragraphs text in the root node based on double-spacing.

Todo:

Ensure all states are unit tested, including variations as well.

Make a graph of the flow control for this Injector.

Member Function Documentation

◆ handleElement()

handleElement ( $token)
Parameters
HTMLPurifier_Token$token

Reimplemented from HTMLPurifier_Injector.

Here is the call graph for this function:

◆ handleText()

handleText ( $token)
Parameters
HTMLPurifier_Token_Text$token

Reimplemented from HTMLPurifier_Injector.

Here is the call graph for this function:

Field Documentation

◆ $name

$name = 'AutoParagraph'

@type string

◆ $needed

$needed = array('p')

@type array


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