Public Member Functions | |
newChild ($args=false, $title=false) | |
Create a child frame. | |
expand ($root, $flags=0) | |
Expand a document tree node. | |
implodeWithFlags ($sep, $flags) | |
Implode with flags for expand(). | |
implode ($sep) | |
Implode with no flags specified. | |
virtualImplode ($sep) | |
Makes an object that, when expand()ed, will be the same as one obtained with implode(). | |
virtualBracketedImplode ($start, $sep, $end) | |
Virtual implode with brackets. | |
isEmpty () | |
Returns true if there are no arguments in this frame. | |
getArgument ($name) | |
Get an argument to this frame by name. | |
loopCheck ($title) | |
Returns true if the infinite loop check is OK, false if a loop is detected. | |
isTemplate () | |
Return true if the frame is a template frame. | |
Public Attributes | |
const | NO_ARGS = 1 |
const | NO_TEMPLATES = 2 |
const | STRIP_COMMENTS = 4 |
const | NO_IGNORE = 8 |
const | RECOVER_COMMENTS = 16 |
const | RECOVER_ORIG = 27 |
Definition at line 23 of file Preprocessor.php.
PPFrame::expand | ( | $ | root, | |
$ | flags = 0 | |||
) |
PPFrame::getArgument | ( | $ | name | ) |
Get an argument to this frame by name.
Implemented in PPFrame_DOM, PPTemplateFrame_DOM, PPCustomFrame_DOM, PPFrame_Hash, PPTemplateFrame_Hash, and PPCustomFrame_Hash.
PPFrame::implode | ( | $ | sep | ) |
PPFrame::implodeWithFlags | ( | $ | sep, | |
$ | flags | |||
) |
PPFrame::isEmpty | ( | ) |
Returns true if there are no arguments in this frame.
Implemented in PPFrame_DOM, PPTemplateFrame_DOM, PPCustomFrame_DOM, PPFrame_Hash, PPTemplateFrame_Hash, and PPCustomFrame_Hash.
PPFrame::isTemplate | ( | ) |
Return true if the frame is a template frame.
Implemented in PPFrame_DOM, PPTemplateFrame_DOM, PPFrame_Hash, and PPTemplateFrame_Hash.
PPFrame::loopCheck | ( | $ | title | ) |
Returns true if the infinite loop check is OK, false if a loop is detected.
Implemented in PPFrame_DOM, and PPFrame_Hash.
PPFrame::newChild | ( | $ | args = false , |
|
$ | title = false | |||
) |
PPFrame::virtualBracketedImplode | ( | $ | start, | |
$ | sep, | |||
$ | end | |||
) |
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 24 of file Preprocessor.php.
const PPFrame::NO_IGNORE = 8 |
Definition at line 27 of file Preprocessor.php.
const PPFrame::NO_TEMPLATES = 2 |
const PPFrame::RECOVER_COMMENTS = 16 |
Definition at line 28 of file Preprocessor.php.
const PPFrame::RECOVER_ORIG = 27 |
Definition at line 30 of file Preprocessor.php.
Referenced by Parser::braceSubstitution(), and Parser::extractSections().
const PPFrame::STRIP_COMMENTS = 4 |
Definition at line 26 of file Preprocessor.php.
Referenced by PPFrame_Hash::newChild(), PPFrame_DOM::newChild(), and CoreParserFunctions::tagObj().