XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Fonctions membres publiques | |
handleText (&$token) | |
handleElement (&$token) | |
Fonctions membres publiques hérités de HTMLPurifier_Injector | |
rewindOffset ($offset) | |
getRewindOffset () | |
prepare ($config, $context) | |
checkNeeded ($config) | |
allowsElement ($name) | |
handleEnd (&$token) | |
notifyEnd ($token) | |
Champs de données | |
$name = 'AutoParagraph' | |
$needed = array('p') | |
Champs de données hérités de HTMLPurifier_Injector | |
$name | |
$needed = array() | |
Fonctions membres privées | |
_pStart () | |
_splitText ($data, &$result) | |
_isInline ($token) | |
_pLookAhead () | |
_checkNeedsP ($current) | |
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 | |
Injector that auto paragraphs text in the root node based on double-spacing.
Ensure all states are unit tested, including variations as well.
Make a graph of the flow control for this Injector.
|
private |
Determines if a particular token requires an earlier inline token to get a paragraph. This should be used with _forwardUntilEndToken
HTMLPurifier_Token | $current |
|
private |
Returns true if passed token is inline (and, ergo, allowed in paragraph tags)
HTMLPurifier_Token | $token |
|
private |
Looks ahead in the token list and determines whether or not we need to insert a
tag.
|
private |
|
private |
Splits up a text in paragraph tokens and appends them to the result stream that will replace the original
string | $data | String text data that will be processed into paragraphs |
HTMLPurifier_Token[] | $result | Reference to array of tokens that the tags will be appended onto |
handleElement | ( | & | $token | ) |
HTMLPurifier_Token | $token |
Réimplémentée à partir de HTMLPurifier_Injector.
handleText | ( | & | $token | ) |
HTMLPurifier_Token_Text | $token |
Réimplémentée à partir de HTMLPurifier_Injector.
$name = 'AutoParagraph' |
@type string
$needed = array('p') |
@type array