Inherits PPFrame.
Inherited by PPCustomFrame_Hash, and PPTemplateFrame_Hash.
Public Member Functions | |
| __construct ($preprocessor) | |
| Construct a new preprocessor frame. | |
| newChild ($args=false, $title=false) | |
| Create a new child frame $args is optionally a multi-root PPNode or array containing the template arguments. | |
| expand ($root, $flags=0) | |
| Expand a document tree node. | |
| implodeWithFlags ($sep, $flags) | |
| Implode with flags for expand(). | |
| implode ($sep) | |
| Implode with no flags specified This previously called implodeWithFlags but has now been inlined to reduce stack depth. | |
| 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. | |
| __toString () | |
| getPDBK ($level=false) | |
| 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 | |
| $preprocessor | |
| $parser | |
| $title | |
| $titleCache | |
| $loopCheckHash | |
| Hashtable listing templates which are disallowed for expansion in this frame, having been encountered previously in parent frames. | |
| $depth | |
| Recursion depth of this frame, top = 0 Note that this is NOT the same as expansion depth in expand(). | |
Definition at line 788 of file Preprocessor_Hash.php.
| PPFrame_Hash::__construct | ( | $ | preprocessor | ) |
Construct a new preprocessor frame.
| Preprocessor | $preprocessor The parent preprocessor |
Definition at line 809 of file Preprocessor_Hash.php.
References $preprocessor.
| PPFrame_Hash::__toString | ( | ) |
Reimplemented in PPTemplateFrame_Hash, and PPCustomFrame_Hash.
Definition at line 1130 of file Preprocessor_Hash.php.
| PPFrame_Hash::expand | ( | $ | root, | |
| $ | flags = 0 | |||
| ) |
Expand a document tree node.
Implements PPFrame.
Definition at line 852 of file Preprocessor_Hash.php.
References $flags, $out, $s, Parser::MARKER_SUFFIX, and virtualBracketedImplode().
Referenced by implode(), implodeWithFlags(), and newChild().
| PPFrame_Hash::getArgument | ( | $ | name | ) |
Get an argument to this frame by name.
Implements PPFrame.
Reimplemented in PPTemplateFrame_Hash, and PPCustomFrame_Hash.
Definition at line 1149 of file Preprocessor_Hash.php.
| PPFrame_Hash::getPDBK | ( | $ | level = false |
) |
Definition at line 1134 of file Preprocessor_Hash.php.
| PPFrame_Hash::implode | ( | $ | sep | ) |
| PPFrame_Hash::implodeWithFlags | ( | $ | sep, | |
| $ | flags | |||
| ) |
| PPFrame_Hash::isEmpty | ( | ) |
Returns true if there are no arguments in this frame.
Implements PPFrame.
Reimplemented in PPTemplateFrame_Hash, and PPCustomFrame_Hash.
Definition at line 1145 of file Preprocessor_Hash.php.
| PPFrame_Hash::isTemplate | ( | ) |
Return true if the frame is a template frame.
Implements PPFrame.
Reimplemented in PPTemplateFrame_Hash.
Definition at line 1163 of file Preprocessor_Hash.php.
| PPFrame_Hash::loopCheck | ( | $ | title | ) |
Returns true if the infinite loop check is OK, false if a loop is detected.
Implements PPFrame.
Definition at line 1156 of file Preprocessor_Hash.php.
References $title.
| PPFrame_Hash::newChild | ( | $ | args = false, |
|
| $ | title = false | |||
| ) |
Create a new child frame $args is optionally a multi-root PPNode or array containing the template arguments.
Implements PPFrame.
Definition at line 822 of file Preprocessor_Hash.php.
References $args, $name, $title, expand(), and PPFrame::STRIP_COMMENTS.
| PPFrame_Hash::virtualBracketedImplode | ( | $ | start, | |
| $ | sep, | |||
| $ | end | |||
| ) |
| PPFrame_Hash::virtualImplode | ( | $ | sep | ) |
| PPFrame_Hash::$depth |
Recursion depth of this frame, top = 0 Note that this is NOT the same as expansion depth in expand().
Definition at line 802 of file Preprocessor_Hash.php.
| PPFrame_Hash::$loopCheckHash |
Hashtable listing templates which are disallowed for expansion in this frame, having been encountered previously in parent frames.
Definition at line 796 of file Preprocessor_Hash.php.
| PPFrame_Hash::$parser |
Definition at line 789 of file Preprocessor_Hash.php.
| PPFrame_Hash::$preprocessor |
Definition at line 789 of file Preprocessor_Hash.php.
Referenced by PPCustomFrame_Hash::__construct(), PPTemplateFrame_Hash::__construct(), and __construct().
| PPFrame_Hash::$title |
Definition at line 789 of file Preprocessor_Hash.php.
Referenced by PPTemplateFrame_Hash::__construct(), loopCheck(), and newChild().
| PPFrame_Hash::$titleCache |
Definition at line 790 of file Preprocessor_Hash.php.
1.5.9