MediaWiki
REL1_19
|
Public Member Functions | |
expand ($root, $flags=0) | |
Expand a document tree node. | |
getArgument ($name) | |
Get an argument to this frame by name. | |
getArguments () | |
Returns all arguments of this frame. | |
getNamedArguments () | |
Returns all named arguments of this frame. | |
getNumberedArguments () | |
Returns all numbered arguments of this frame. | |
getTitle () | |
Get a title of frame. | |
implode ($sep) | |
Implode with no flags specified. | |
implodeWithFlags ($sep, $flags) | |
Implode with flags for expand() | |
isEmpty () | |
Returns true if there are no arguments in this frame. | |
isTemplate () | |
Return true if the frame is a template frame. | |
loopCheck ($title) | |
Returns true if the infinite loop check is OK, false if a loop is detected. | |
newChild ($args=false, $title=false) | |
Create a child frame. | |
virtualBracketedImplode ($start, $sep, $end) | |
Virtual implode with brackets. | |
virtualImplode ($sep) | |
Makes an object that, when expand()ed, will be the same as one obtained with implode() | |
Public Attributes | |
const | NO_ARGS = 1 |
const | NO_IGNORE = 8 |
const | NO_TEMPLATES = 2 |
const | RECOVER_COMMENTS = 16 |
const | RECOVER_ORIG = 27 |
const | STRIP_COMMENTS = 4 |
Definition at line 56 of file Preprocessor.php.
PPFrame::expand | ( | $ | root, |
$ | flags = 0 |
||
) |
Expand a document tree node.
Implemented in PPFrame_DOM, and PPFrame_Hash.
PPFrame::getArgument | ( | $ | name | ) |
Get an argument to this frame by name.
Implemented in PPCustomFrame_DOM, PPCustomFrame_Hash, PPTemplateFrame_DOM, PPTemplateFrame_Hash, PPFrame_DOM, and PPFrame_Hash.
Returns all arguments of this frame.
Implemented in PPTemplateFrame_DOM, PPTemplateFrame_Hash, PPFrame_DOM, and PPFrame_Hash.
Returns all named arguments of this frame.
Implemented in PPTemplateFrame_DOM, PPTemplateFrame_Hash, PPFrame_DOM, and PPFrame_Hash.
Returns all numbered arguments of this frame.
Implemented in PPTemplateFrame_DOM, PPTemplateFrame_Hash, PPFrame_DOM, and PPFrame_Hash.
PPFrame::implode | ( | $ | sep | ) |
Implode with no flags specified.
Implemented in PPFrame_DOM, and PPFrame_Hash.
PPFrame::implodeWithFlags | ( | $ | sep, |
$ | flags | ||
) |
Implode with flags for expand()
Implemented in PPFrame_DOM, and PPFrame_Hash.
PPFrame::isEmpty | ( | ) |
Returns true if there are no arguments in this frame.
Implemented in PPCustomFrame_DOM, PPCustomFrame_Hash, PPTemplateFrame_DOM, PPTemplateFrame_Hash, PPFrame_DOM, and PPFrame_Hash.
Return true if the frame is a template frame.
Implemented in PPTemplateFrame_DOM, PPTemplateFrame_Hash, PPFrame_DOM, and PPFrame_Hash.
PPFrame::loopCheck | ( | $ | title | ) |
Returns true if the infinite loop check is OK, false if a loop is detected.
$title |
Implemented in PPFrame_DOM, and PPFrame_Hash.
PPFrame::newChild | ( | $ | args = false , |
$ | title = false |
||
) |
Create a child frame.
$args | array |
$title | Title |
Implemented in PPFrame_DOM, and PPFrame_Hash.
PPFrame::virtualBracketedImplode | ( | $ | start, |
$ | sep, | ||
$ | end | ||
) |
Virtual implode with brackets.
Implemented in PPFrame_DOM, and PPFrame_Hash.
PPFrame::virtualImplode | ( | $ | sep | ) |
Makes an object that, when expand()ed, will be the same as one obtained with implode()
Implemented in PPFrame_DOM, and PPFrame_Hash.
const PPFrame::NO_ARGS = 1 |
Definition at line 57 of file Preprocessor.php.
Referenced by PPFrame_Hash\expand(), and PPFrame_DOM\expand().
const PPFrame::NO_IGNORE = 8 |
Definition at line 60 of file Preprocessor.php.
Referenced by PPFrame_Hash\expand(), and PPFrame_DOM\expand().
const PPFrame::NO_TEMPLATES = 2 |
Definition at line 58 of file Preprocessor.php.
Referenced by PPFrame_Hash\expand(), PPFrame_DOM\expand(), and Parser\replaceVariables().
const PPFrame::RECOVER_COMMENTS = 16 |
Definition at line 61 of file Preprocessor.php.
Referenced by PPFrame_Hash\expand(), and PPFrame_DOM\expand().
const PPFrame::RECOVER_ORIG = 27 |
Definition at line 63 of file Preprocessor.php.
Referenced by Parser\braceSubstitution(), Parser\extractSections(), and Parser\formatHeadings().
const PPFrame::STRIP_COMMENTS = 4 |
Definition at line 59 of file Preprocessor.php.
Referenced by Parser\braceSubstitution(), PPFrame_Hash\expand(), PPFrame_DOM\expand(), PPTemplateFrame_Hash\getNamedArgument(), PPTemplateFrame_DOM\getNamedArgument(), PPTemplateFrame_Hash\getNumberedArgument(), PPTemplateFrame_DOM\getNumberedArgument(), PPFrame_Hash\newChild(), PPFrame_DOM\newChild(), and CoreParserFunctions\tagObj().