|
| newLanguageAwareRenderer ( $type, Language $language, UsageAccumulator $usageAccumulator, ParserOutput $parserOutput, Title $title) |
|
| getLanguageAwareRendererFromCode ( $type, $languageCode, UsageAccumulator $usageAccumulator, ParserOutput $parserOutput, Title $title) |
|
| newVariantsAwareRenderer ( $type, array $variants, UsageAccumulator $usageAccumulator, ParserOutput $parserOutput, Title $title) |
|
| isParserUsingVariants (Parser $parser) |
| Check whether variants are used in this parser run.
|
|
| useVariants (Parser $parser) |
|
- Copyright
- GPL-2.0-or-later
- Author
- Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
-
Thiemo Kreuz
◆ __construct()
Wikibase\Client\DataAccess\ParserFunctions\StatementGroupRendererFactory::__construct |
( |
PropertyLabelResolver |
$propertyLabelResolver, |
|
|
SnaksFinder |
$snaksFinder, |
|
|
EntityLookup |
$entityLookup, |
|
|
DataAccessSnakFormatterFactory |
$dataAccessSnakFormatterFactory, |
|
|
EntityUsageFactory |
$entityUsageFactory, |
|
|
|
$allowDataAccessInUserLanguage |
|
) |
| |
- Parameters
-
PropertyLabelResolver | $propertyLabelResolver | |
SnaksFinder | $snaksFinder | |
EntityLookup | $entityLookup | |
DataAccessSnakFormatterFactory | $dataAccessSnakFormatterFactory | |
EntityUsageFactory | $entityUsageFactory | |
bool | $allowDataAccessInUserLanguage | |
◆ getLanguageAwareRendererFromCode()
Wikibase\Client\DataAccess\ParserFunctions\StatementGroupRendererFactory::getLanguageAwareRendererFromCode |
( |
|
$type, |
|
|
|
$languageCode, |
|
|
UsageAccumulator |
$usageAccumulator, |
|
|
ParserOutput |
$parserOutput, |
|
|
Title |
$title |
|
) |
| |
|
private |
- Parameters
-
string | $type | One of DataAccessSnakFormatterFactory::TYPE_* |
string | $languageCode | |
UsageAccumulator | $usageAccumulator | |
ParserOutput | $parserOutput | |
Title | $title | |
- Returns
- LanguageAwareRenderer
◆ isParserUsingVariants()
Wikibase\Client\DataAccess\ParserFunctions\StatementGroupRendererFactory::isParserUsingVariants |
( |
Parser |
$parser | ) |
|
|
private |
Check whether variants are used in this parser run.
- Parameters
-
- Returns
- bool
◆ newLanguageAwareRenderer()
Wikibase\Client\DataAccess\ParserFunctions\StatementGroupRendererFactory::newLanguageAwareRenderer |
( |
|
$type, |
|
|
Language |
$language, |
|
|
UsageAccumulator |
$usageAccumulator, |
|
|
ParserOutput |
$parserOutput, |
|
|
Title |
$title |
|
) |
| |
|
private |
- Parameters
-
string | $type | One of DataAccessSnakFormatterFactory::TYPE_* |
Language | $language | |
UsageAccumulator | $usageAccumulator | |
ParserOutput | $parserOutput | |
Title | $title | |
- Returns
- LanguageAwareRenderer
◆ newRendererFromParser()
- Parameters
-
Parser | $parser | |
string | $type | One of DataAccessSnakFormatterFactory::TYPE_* |
- Returns
- StatementGroupRenderer
◆ newVariantsAwareRenderer()
Wikibase\Client\DataAccess\ParserFunctions\StatementGroupRendererFactory::newVariantsAwareRenderer |
( |
|
$type, |
|
|
array |
$variants, |
|
|
UsageAccumulator |
$usageAccumulator, |
|
|
ParserOutput |
$parserOutput, |
|
|
Title |
$title |
|
) |
| |
|
private |
- Parameters
-
string | $type | One of DataAccessSnakFormatterFactory::TYPE_* |
string[] | $variants | |
UsageAccumulator | $usageAccumulator | |
ParserOutput | $parserOutput | |
Title | $title | |
- Returns
- VariantsAwareRenderer
◆ useVariants()
Wikibase\Client\DataAccess\ParserFunctions\StatementGroupRendererFactory::useVariants |
( |
Parser |
$parser | ) |
|
|
private |
◆ $allowDataAccessInUserLanguage
Wikibase\Client\DataAccess\ParserFunctions\StatementGroupRendererFactory::$allowDataAccessInUserLanguage |
|
private |
◆ $dataAccessSnakFormatterFactory
Wikibase\Client\DataAccess\ParserFunctions\StatementGroupRendererFactory::$dataAccessSnakFormatterFactory |
|
private |
◆ $entityLookup
Wikibase\Client\DataAccess\ParserFunctions\StatementGroupRendererFactory::$entityLookup |
|
private |
◆ $entityUsageFactory
Wikibase\Client\DataAccess\ParserFunctions\StatementGroupRendererFactory::$entityUsageFactory |
|
private |
◆ $languageAwareRenderers
Wikibase\Client\DataAccess\ParserFunctions\StatementGroupRendererFactory::$languageAwareRenderers = [] |
|
private |
◆ $propertyLabelResolver
Wikibase\Client\DataAccess\ParserFunctions\StatementGroupRendererFactory::$propertyLabelResolver |
|
private |
◆ $snaksFinder
Wikibase\Client\DataAccess\ParserFunctions\StatementGroupRendererFactory::$snaksFinder |
|
private |
The documentation for this class was generated from the following file: