41publicconstRECOVER_ORIG = self::NO_ARGS | self::NO_TEMPLATES | self::NO_IGNORE |
53publicfunctionnewChild( $args =
false, $title =
false, $indexOffset = 0 );
70publicfunctionexpand( $root, $flags = 0 );
215class_alias( PPFrame::class,
'PPFrame' );
Represents a title within MediaWiki.
getTitle()
Get a title of frame.
virtualImplode( $sep,... $params)
Makes an object that, when expand()ed, will be the same as one obtained with implode()
getArgument( $name)
Get an argument to this frame by name.
isEmpty()
Returns true if there are no arguments in this frame.
getTTL()
Get the TTL of the frame's output.
isVolatile()
Get the "volatile" flag.
getNumberedArguments()
Returns all numbered arguments of this frame.
newChild( $args=false, $title=false, $indexOffset=0)
Create a child frame.
expand( $root, $flags=0)
Expand a document tree node.
loopCheck( $title)
Returns true if the infinite loop check is OK, false if a loop is detected.
getNamedArguments()
Returns all named arguments of this frame.
getArguments()
Returns all arguments of this frame.
isTemplate()
Return true if the frame is a template frame.
cachedExpand( $key, $root, $flags=0)
Expand a document tree node, caching the result on its parent with the given key.
implode( $sep,... $params)
Implode with no flags specified.
implodeWithFlags( $sep, $flags,... $params)
Implode with flags for expand()
setTTL( $ttl)
Set the TTL of the output of this frame and all of its ancestors.
setVolatile( $flag=true)
Set the "volatile" flag.
virtualBracketedImplode( $start, $sep, $end,... $params)
Virtual implode with brackets.