MediaWiki  REL1_31
PPCustomFrame_Hash Class Reference

Expansion frame with custom arguments. More...

Inheritance diagram for PPCustomFrame_Hash:
Collaboration diagram for PPCustomFrame_Hash:

Public Member Functions

 __construct ( $preprocessor, $args)
 __toString ()
 getArgument ( $index)
 getArguments ()
 isEmpty ()
- Public Member Functions inherited from PPFrame_Hash
 __construct ( $preprocessor)
 Construct a new preprocessor frame. More...
 cachedExpand ( $key, $root, $flags=0)
 expand ( $root, $flags=0)
 getNamedArguments ()
 getNumberedArguments ()
 getPDBK ( $level=false)
 getTitle ()
 Get a title of frame. More...
 getTTL ()
 Get the TTL. 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)
 isTemplate ()
 Return true if the frame is a template frame. More...
 isVolatile ()
 Get the volatile flag. More...
 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...
 setTTL ( $ttl)
 Set the TTL. More...
 setVolatile ( $flag=true)
 Set the volatile flag. 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

- Public Attributes inherited from PPFrame_Hash
 Recursion depth of this frame, top = 0 Note that this is NOT the same as expansion depth in expand() More...
 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
- Public Attributes inherited from PPFrame
const NO_ARGS = 1
const NO_IGNORE = 8
const NO_TAGS = 32
const NO_TEMPLATES = 2
const RECOVER_ORIG = 59
 This constant exists when $indexOffset is supported in newChild() More...

Additional Inherited Members

- Protected Attributes inherited from PPFrame_Hash
array $childExpansionCache

Detailed Description

Expansion frame with custom arguments.

Definition at line 1666 of file Preprocessor_Hash.php.

Constructor & Destructor Documentation

◆ __construct()

PPCustomFrame_Hash::__construct (   $preprocessor,

Definition at line 1670 of file Preprocessor_Hash.php.

Member Function Documentation

◆ __toString()

PPCustomFrame_Hash::__toString ( )

Reimplemented from PPFrame_Hash.

Definition at line 1675 of file Preprocessor_Hash.php.

◆ getArgument()

PPCustomFrame_Hash::getArgument (   $index)
int | string$index

Reimplemented from PPFrame_Hash.

Definition at line 1702 of file Preprocessor_Hash.php.

◆ getArguments()

PPCustomFrame_Hash::getArguments ( )

Reimplemented from PPFrame_Hash.

Definition at line 1709 of file Preprocessor_Hash.php.

References $args.

◆ isEmpty()

PPCustomFrame_Hash::isEmpty ( )

Reimplemented from PPFrame_Hash.

Definition at line 1694 of file Preprocessor_Hash.php.

Member Data Documentation

◆ $args


Definition at line 1668 of file Preprocessor_Hash.php.

The documentation for this class was generated from the following file: