Renders the main Snaks associated with a given Property on an Entity.
More...
Renders the main Snaks associated with a given Property on an Entity.
- Copyright
- GPL-2.0-or-later
- Author
- Marius Hoch < hoo@o.nosp@m.nlin.nosp@m.e.de >
◆ __construct()
◆ formatSnaks()
Wikibase\Client\DataAccess\StatementTransclusionInteractor::formatSnaks |
( |
array |
$snaks | ) |
|
|
private |
- Parameters
-
Snak[] | $snaks | List of main snaks, all guaranteed to belong to the same property ID. |
- Returns
- string wikitext
◆ render()
Wikibase\Client\DataAccess\StatementTransclusionInteractor::render |
( |
EntityId |
$entityId, |
|
|
|
$propertyLabelOrId, |
|
|
array |
$acceptableRanks = null |
|
) |
| |
- Parameters
-
EntityId | $entityId | |
string | $propertyLabelOrId | property label or ID (pXXX) |
int[] | null | $acceptableRanks | |
- Exceptions
-
- Returns
- string Wikitext
◆ $entityLookup
Wikibase\Client\DataAccess\StatementTransclusionInteractor::$entityLookup |
|
private |
◆ $language
Wikibase\Client\DataAccess\StatementTransclusionInteractor::$language |
|
private |
◆ $propertyIdResolver
Wikibase\Client\DataAccess\StatementTransclusionInteractor::$propertyIdResolver |
|
private |
◆ $snakFormatter
Wikibase\Client\DataAccess\StatementTransclusionInteractor::$snakFormatter |
|
private |
◆ $snaksFinder
Wikibase\Client\DataAccess\StatementTransclusionInteractor::$snaksFinder |
|
private |
◆ $usageAccumulator
Wikibase\Client\DataAccess\StatementTransclusionInteractor::$usageAccumulator |
|
private |
The documentation for this class was generated from the following file: