MediaWiki
1.23.2
|
Expansion frame with template arguments. More...
Public Member Functions | |
__construct ( $preprocessor, $parent=false, $numberedArgs=array(), $namedArgs=array(), $title=false) | |
__toString () | |
getArgument ( $name) | |
getArguments () | |
getNamedArgument ( $name) | |
getNamedArguments () | |
getNumberedArgument ( $index) | |
getNumberedArguments () | |
isEmpty () | |
Returns true if there are no arguments in this frame. More... | |
isTemplate () | |
Return true if the frame is a template frame. More... | |
Public Member Functions inherited from PPFrame_Hash | |
__construct ( $preprocessor) | |
Construct a new preprocessor frame. More... | |
expand ( $root, $flags=0) | |
getPDBK ( $level=false) | |
getTitle () | |
Get a title of frame. More... | |
implode ( $sep) | |
Implode with no flags specified This previously called implodeWithFlags but has now been inlined to reduce stack depth. More... | |
implodeWithFlags ( $sep, $flags) | |
loopCheck ( $title) | |
Returns true if the infinite loop check is OK, false if a loop is detected. More... | |
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. More... | |
virtualBracketedImplode ( $start, $sep, $end) | |
Virtual implode with brackets. More... | |
virtualImplode ( $sep) | |
Makes an object that, when expand()ed, will be the same as one obtained with implode() More... | |
Public Attributes | |
$namedArgs | |
$namedExpansionCache | |
$numberedArgs | |
$numberedExpansionCache | |
$parent | |
Public Attributes inherited from PPFrame_Hash | |
$depth | |
Recursion depth of this frame, top = 0 Note that this is NOT the same as expansion depth in expand() More... | |
$loopCheckHash | |
Hashtable listing templates which are disallowed for expansion in this frame, having been encountered previously in parent frames. More... | |
Parser | $parser |
Preprocessor | $preprocessor |
Title | $title |
$titleCache | |
Public Attributes inherited from PPFrame | |
const | NO_ARGS = 1 |
const | NO_IGNORE = 8 |
const | NO_TEMPLATES = 2 |
const | RECOVER_COMMENTS = 16 |
const | RECOVER_ORIG = 27 |
const | STRIP_COMMENTS = 4 |
const | SUPPORTS_INDEX_OFFSET = 1 |
This constant exists when $indexOffset is supported in newChild() More... | |
Expansion frame with template arguments.
Definition at line 1339 of file Preprocessor_Hash.php.
PPTemplateFrame_Hash::__construct | ( | $preprocessor, | |
$parent = false , |
|||
$numberedArgs = array() , |
|||
$namedArgs = array() , |
|||
$title = false |
|||
) |
$preprocessor | |
$parent | |
$numberedArgs | array |
$namedArgs | array |
$title | Title |
Definition at line 1350 of file Preprocessor_Hash.php.
References $namedArgs, $numberedArgs, $parent, PPFrame_Hash\$preprocessor, PPFrame_Hash\$title, array(), Title\getPrefixedDBkey(), and title.
PPTemplateFrame_Hash::__toString | ( | ) |
Reimplemented from PPFrame_Hash.
Definition at line 1368 of file Preprocessor_Hash.php.
PPTemplateFrame_Hash::getArgument | ( | $name | ) |
$name |
Reimplemented from PPFrame_Hash.
Definition at line 1464 of file Preprocessor_Hash.php.
References $name, getNamedArgument(), and getNumberedArgument().
Referenced by getArguments(), getNamedArguments(), and getNumberedArguments().
PPTemplateFrame_Hash::getArguments | ( | ) |
Reimplemented from PPFrame_Hash.
Definition at line 1397 of file Preprocessor_Hash.php.
References array(), as, and getArgument().
PPTemplateFrame_Hash::getNamedArgument | ( | $name | ) |
$name |
Definition at line 1448 of file Preprocessor_Hash.php.
References $name, and PPFrame\STRIP_COMMENTS.
Referenced by getArgument().
PPTemplateFrame_Hash::getNamedArguments | ( | ) |
Reimplemented from PPFrame_Hash.
Definition at line 1421 of file Preprocessor_Hash.php.
References array(), as, and getArgument().
PPTemplateFrame_Hash::getNumberedArgument | ( | $index | ) |
$index |
Definition at line 1433 of file Preprocessor_Hash.php.
References PPFrame\STRIP_COMMENTS.
Referenced by getArgument().
PPTemplateFrame_Hash::getNumberedArguments | ( | ) |
Reimplemented from PPFrame_Hash.
Definition at line 1410 of file Preprocessor_Hash.php.
References array(), as, and getArgument().
PPTemplateFrame_Hash::isEmpty | ( | ) |
Returns true if there are no arguments in this frame.
Reimplemented from PPFrame_Hash.
Definition at line 1390 of file Preprocessor_Hash.php.
PPTemplateFrame_Hash::isTemplate | ( | ) |
Return true if the frame is a template frame.
Reimplemented from PPFrame_Hash.
Definition at line 1477 of file Preprocessor_Hash.php.
PPTemplateFrame_Hash::$namedArgs |
Definition at line 1340 of file Preprocessor_Hash.php.
Referenced by __construct(), and __toString().
PPTemplateFrame_Hash::$namedExpansionCache |
Definition at line 1341 of file Preprocessor_Hash.php.
PPTemplateFrame_Hash::$numberedArgs |
Definition at line 1340 of file Preprocessor_Hash.php.
Referenced by __construct().
PPTemplateFrame_Hash::$numberedExpansionCache |
Definition at line 1341 of file Preprocessor_Hash.php.
PPTemplateFrame_Hash::$parent |
Definition at line 1340 of file Preprocessor_Hash.php.
Referenced by __construct().