MediaWiki REL1_33
|
Expansion frame with custom arguments. More...
Public Member Functions | |
__construct ( $preprocessor, $args) | |
__toString () | |
getArgument ( $index) | |
getArguments () | |
isEmpty () | |
Public Member Functions inherited from PPFrame_DOM | |
__construct ( $preprocessor) | |
Construct a new preprocessor frame. | |
cachedExpand ( $key, $root, $flags=0) | |
expand ( $root, $flags=0) | |
getNamedArguments () | |
getNumberedArguments () | |
getPDBK ( $level=false) | |
getTitle () | |
Get a title of frame. | |
getTTL () | |
Get the TTL. | |
implode ( $sep) | |
Implode with no flags specified This previously called implodeWithFlags but has now been inlined to reduce stack depth. | |
implodeWithFlags ( $sep, $flags) | |
isTemplate () | |
Return true if the frame is a template frame. | |
isVolatile () | |
Get the volatile flag. | |
loopCheck ( $title) | |
Returns true if the infinite loop check is OK, false if a loop is detected. | |
newChild ( $args=false, $title=false, $indexOffset=0) | |
Create a new child frame $args is optionally a multi-root PPNode or array containing the template arguments. | |
setTTL ( $ttl) | |
Set the TTL. | |
setVolatile ( $flag=true) | |
Set the volatile flag. | |
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 | |
$args | |
Public Attributes inherited from PPFrame_DOM | |
$depth | |
Recursion depth of this frame, top = 0 Note that this is NOT the same as expansion depth in expand() | |
$loopCheckHash | |
Hashtable listing templates which are disallowed for expansion in this frame, having been encountered previously in parent frames. | |
Parser | $parser |
Preprocessor | $preprocessor |
Title | $title |
$titleCache | |
Public Attributes inherited from PPFrame | |
const | NO_ARGS = 1 |
const | NO_IGNORE = 8 |
const | NO_TAGS = 32 |
const | NO_TEMPLATES = 2 |
const | RECOVER_COMMENTS = 16 |
const | RECOVER_ORIG |
const | STRIP_COMMENTS = 4 |
const | SUPPORTS_INDEX_OFFSET = 1 |
This constant exists when $indexOffset is supported in newChild() | |
Additional Inherited Members | |
Protected Attributes inherited from PPFrame_DOM | |
array | $childExpansionCache |
Expansion frame with custom arguments.
Definition at line 1848 of file Preprocessor_DOM.php.
PPCustomFrame_DOM::__construct | ( | $preprocessor, | |
$args ) |
Definition at line 1852 of file Preprocessor_DOM.php.
PPCustomFrame_DOM::__toString | ( | ) |
Reimplemented from PPFrame_DOM.
Definition at line 1857 of file Preprocessor_DOM.php.
PPCustomFrame_DOM::getArgument | ( | $index | ) |
int | string | $index |
Reimplemented from PPFrame_DOM.
Definition at line 1884 of file Preprocessor_DOM.php.
PPCustomFrame_DOM::getArguments | ( | ) |
Reimplemented from PPFrame_DOM.
Definition at line 1888 of file Preprocessor_DOM.php.
References $args.
PPCustomFrame_DOM::isEmpty | ( | ) |
PPCustomFrame_DOM::$args |
Definition at line 1850 of file Preprocessor_DOM.php.