[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 254 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Emphasis:: (10 methods):
parse()
adjustEndingPositions()
adjustStartingPositions()
closeSpans()
parseEmphasisByCharacter()
getEmphasisByBlock()
ignoreEmphasis()
openSpans()
processEmphasisBlock()
processEmphasisMatch()
parse() X-Ref |
{@inheritdoc} |
adjustEndingPositions() X-Ref |
Adjust the ending position of current EM and STRONG spans return: void |
adjustStartingPositions() X-Ref |
Adjust the starting position of current EM and STRONG spans If both EM and STRONG are set to start at the same position, we adjust their position to match the order they are closed. If they start and end at the same position, STRONG starts before EM to match Markdown's behaviour return: void |
closeSpans() X-Ref |
End current valid EM and STRONG spans return: void |
parseEmphasisByCharacter($character, $regexp) X-Ref |
Parse emphasis and strong applied using given character param: string $character Markup character, either * or _ param: string $regexp Regexp used to match the series of emphasis character return: void |
getEmphasisByBlock($regexp, $pos) X-Ref |
Get emphasis markup split by block param: string $regexp Regexp used to match emphasis param: integer $pos Position in the text of the first emphasis character return: array[] Each array contains a list of [matchPos, matchLen] pairs |
ignoreEmphasis($matchPos, $matchLen) X-Ref |
Test whether emphasis should be ignored at the given position in the text param: integer $matchPos Position of the emphasis in the text param: integer $matchLen Length of the emphasis return: bool |
openSpans($pos) X-Ref |
Open EM and STRONG spans whose content starts at given position param: integer $pos return: void |
processEmphasisBlock(array $block) X-Ref |
Process a list of emphasis markup strings param: array[] $block List of [matchPos, matchLen] pairs return: void |
processEmphasisMatch($matchPos, $matchLen) X-Ref |
Process an emphasis mark param: integer $matchPos param: integer $matchLen return: void |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |