Runner for the {{#property|…}} and {{#statements|…}} parser functions.
More...
Runner for the {{#property|…}} and {{#statements|…}} parser functions.
- Copyright
- GPL-2.0-or-later
◆ __construct()
- Parameters
-
StatementGroupRendererFactory | $rendererFactory | |
SiteLinkLookup | $siteLinkLookup | |
EntityIdParser | $entityIdParser | |
RestrictedEntityLookup | $restrictedEntityLookup | |
string | $siteId | |
bool | $allowArbitraryDataAccess | |
◆ buildResult()
Wikibase\Client\DataAccess\ParserFunctions\Runner::buildResult |
( |
|
$rendered | ) |
|
|
private |
- Parameters
-
- Returns
- array Wikitext in element 0, flags in named elements
◆ getEntityIdForStatementListProvider()
Wikibase\Client\DataAccess\ParserFunctions\Runner::getEntityIdForStatementListProvider |
( |
Parser |
$parser, |
|
|
PPFrame |
$frame |
|
) |
| |
|
private |
- Parameters
-
Parser | $parser | |
PPFrame | $frame | |
- Returns
- EntityId|null
◆ getEntityIdFromString()
Wikibase\Client\DataAccess\ParserFunctions\Runner::getEntityIdFromString |
( |
Parser |
$parser, |
|
|
|
$entityIdString |
|
) |
| |
|
private |
Gets the entity and increments the expensive parser function count.
- Parameters
-
Parser | $parser | |
string | $entityIdString | |
- Returns
- EntityId|null
◆ renderEscapedPlainText()
static Wikibase\Client\DataAccess\ParserFunctions\Runner::renderEscapedPlainText |
( |
Parser |
$parser, |
|
|
PPFrame |
$frame, |
|
|
array |
$args |
|
) |
| |
|
static |
- Parameters
-
Parser | $parser | |
PPFrame | $frame | |
array | $args | |
- Returns
- array Wikitext in element 0, flags in named elements
◆ renderRichWikitext()
static Wikibase\Client\DataAccess\ParserFunctions\Runner::renderRichWikitext |
( |
Parser |
$parser, |
|
|
PPFrame |
$frame, |
|
|
array |
$args |
|
) |
| |
|
static |
- Parameters
-
Parser | $parser | |
PPFrame | $frame | |
array | $args | |
- Returns
- array Wikitext in element 0, flags in named elements
◆ runPropertyParserFunction()
- Parameters
-
Parser | $parser | |
PPFrame | $frame | |
array | $args | |
string | $type | One of DataAccessSnakFormatterFactory::TYPE_* |
- Returns
- array Wikitext in element 0, flags in named elements
◆ $allowArbitraryDataAccess
Wikibase\Client\DataAccess\ParserFunctions\Runner::$allowArbitraryDataAccess |
|
private |
◆ $entityIdParser
Wikibase\Client\DataAccess\ParserFunctions\Runner::$entityIdParser |
|
private |
◆ $rendererFactory
Wikibase\Client\DataAccess\ParserFunctions\Runner::$rendererFactory |
|
private |
◆ $restrictedEntityLookup
Wikibase\Client\DataAccess\ParserFunctions\Runner::$restrictedEntityLookup |
|
private |
◆ $siteId
Wikibase\Client\DataAccess\ParserFunctions\Runner::$siteId |
|
private |
◆ $siteLinkLookup
Wikibase\Client\DataAccess\ParserFunctions\Runner::$siteLinkLookup |
|
private |
The documentation for this class was generated from the following file:
- client/includes/DataAccess/ParserFunctions/Runner.php