| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 84 lines (3 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Poem:: (4 methods):
init()
renderPoem()
replaceSpaces()
indentVerse()
| init( &$parser ) X-Ref |
| Bind the renderPoem function to the <poem> tag param: Parser $parser return: bool true |
| renderPoem( $in, $param = array() X-Ref |
| Parse the text into proper poem format param: string $in The text inside the poem tag param: array $param param: Parser $parser param: boolean $frame return: string |
| replaceSpaces( $m ) X-Ref |
| Callback for preg_replace_callback() that replaces spaces with non-breaking spaces param: array $m Matches from the regular expression return: mixed |
| indentVerse( $m ) X-Ref |
| Callback for preg_replace_callback() that wraps content in an indented span param: array $m Matches from the regular expression return: string |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |