Movatterモバイル変換


[0]ホーム

URL:


MediaWiki master
PPFrame.php
Go to the documentation of this file.
1<?php
22namespaceMediaWiki\Parser;
23
24useMediaWiki\Title\Title;
25
32interfacePPFrame {
33publicconstNO_ARGS = 1;
34publicconstNO_TEMPLATES = 2;
35publicconstSTRIP_COMMENTS = 4;
36publicconstNO_IGNORE = 8;
37publicconstRECOVER_COMMENTS = 16;
38publicconstNO_TAGS = 32;
39publicconstPROCESS_NOWIKI = 64;
40
41publicconstRECOVER_ORIG = self::NO_ARGS | self::NO_TEMPLATES | self::NO_IGNORE |
42 self::RECOVER_COMMENTS |self::NO_TAGS;
43
53publicfunctionnewChild( $args =false, $title =false, $indexOffset = 0 );
54
62publicfunctioncachedExpand( $key, $root, $flags = 0 );
63
70publicfunctionexpand( $root, $flags = 0 );
71
79publicfunctionimplodeWithFlags( $sep, $flags, ...$params );
80
87publicfunctionimplode( $sep, ...$params );
88
96publicfunctionvirtualImplode( $sep, ...$params );
97
106publicfunctionvirtualBracketedImplode( $start, $sep, $end, ...$params );
107
113publicfunctionisEmpty();
114
119publicfunctiongetArguments();
120
125publicfunctiongetNumberedArguments();
126
131publicfunctiongetNamedArguments();
132
138publicfunctiongetArgument( $name );
139
146publicfunctionloopCheck( $title );
147
152publicfunctionisTemplate();
153
165publicfunctionsetVolatile( $flag =true );
166
176publicfunctionisVolatile();
177
190publicfunctiongetTTL();
191
204publicfunctionsetTTL( $ttl );
205
211publicfunctiongetTitle();
212}
213
215class_alias( PPFrame::class,'PPFrame' );
MediaWiki\Title\Title
Represents a title within MediaWiki.
DefinitionTitle.php:78
MediaWiki\Parser\PPFrame
DefinitionPPFrame.php:32
MediaWiki\Parser\PPFrame\getTitle
getTitle()
Get a title of frame.
MediaWiki\Parser\PPFrame\virtualImplode
virtualImplode( $sep,... $params)
Makes an object that, when expand()ed, will be the same as one obtained with implode()
MediaWiki\Parser\PPFrame\getArgument
getArgument( $name)
Get an argument to this frame by name.
MediaWiki\Parser\PPFrame\isEmpty
isEmpty()
Returns true if there are no arguments in this frame.
MediaWiki\Parser\PPFrame\getTTL
getTTL()
Get the TTL of the frame's output.
MediaWiki\Parser\PPFrame\NO_TAGS
const NO_TAGS
DefinitionPPFrame.php:38
MediaWiki\Parser\PPFrame\isVolatile
isVolatile()
Get the "volatile" flag.
MediaWiki\Parser\PPFrame\RECOVER_ORIG
const RECOVER_ORIG
DefinitionPPFrame.php:41
MediaWiki\Parser\PPFrame\getNumberedArguments
getNumberedArguments()
Returns all numbered arguments of this frame.
MediaWiki\Parser\PPFrame\newChild
newChild( $args=false, $title=false, $indexOffset=0)
Create a child frame.
MediaWiki\Parser\PPFrame\NO_IGNORE
const NO_IGNORE
DefinitionPPFrame.php:36
MediaWiki\Parser\PPFrame\expand
expand( $root, $flags=0)
Expand a document tree node.
MediaWiki\Parser\PPFrame\NO_TEMPLATES
const NO_TEMPLATES
DefinitionPPFrame.php:34
MediaWiki\Parser\PPFrame\loopCheck
loopCheck( $title)
Returns true if the infinite loop check is OK, false if a loop is detected.
MediaWiki\Parser\PPFrame\getNamedArguments
getNamedArguments()
Returns all named arguments of this frame.
MediaWiki\Parser\PPFrame\getArguments
getArguments()
Returns all arguments of this frame.
MediaWiki\Parser\PPFrame\NO_ARGS
const NO_ARGS
DefinitionPPFrame.php:33
MediaWiki\Parser\PPFrame\STRIP_COMMENTS
const STRIP_COMMENTS
DefinitionPPFrame.php:35
MediaWiki\Parser\PPFrame\isTemplate
isTemplate()
Return true if the frame is a template frame.
MediaWiki\Parser\PPFrame\RECOVER_COMMENTS
const RECOVER_COMMENTS
DefinitionPPFrame.php:37
MediaWiki\Parser\PPFrame\cachedExpand
cachedExpand( $key, $root, $flags=0)
Expand a document tree node, caching the result on its parent with the given key.
MediaWiki\Parser\PPFrame\implode
implode( $sep,... $params)
Implode with no flags specified.
MediaWiki\Parser\PPFrame\implodeWithFlags
implodeWithFlags( $sep, $flags,... $params)
Implode with flags for expand()
MediaWiki\Parser\PPFrame\PROCESS_NOWIKI
const PROCESS_NOWIKI
DefinitionPPFrame.php:39
MediaWiki\Parser\PPFrame\setTTL
setTTL( $ttl)
Set the TTL of the output of this frame and all of its ancestors.
MediaWiki\Parser\PPFrame\setVolatile
setVolatile( $flag=true)
Set the "volatile" flag.
MediaWiki\Parser\PPFrame\virtualBracketedImplode
virtualBracketedImplode( $start, $sep, $end,... $params)
Virtual implode with brackets.
MediaWiki\Parser
DefinitionBlockLevelPass.php:27

[8]ページ先頭

©2009-2025 Movatter.jp