Find Snaks for claims in a given Entity, based on PropertyId.
More...
|
| findSnaks (StatementListProvider $statementListProvider, PropertyId $propertyId, array $acceptableRanks=null) |
|
Find Snaks for claims in a given Entity, based on PropertyId.
- Copyright
- GPL-2.0-or-later
- Author
- Marius Hoch < hoo@o.nosp@m.nlin.nosp@m.e.de >
◆ findSnaks()
Wikibase\Client\DataAccess\SnaksFinder::findSnaks |
( |
StatementListProvider |
$statementListProvider, |
|
|
PropertyId |
$propertyId, |
|
|
array |
$acceptableRanks = null |
|
) |
| |
- Parameters
-
StatementListProvider | $statementListProvider | |
PropertyId | $propertyId | The PropertyId for which we want the formatted Snaks |
int[] | null | $acceptableRanks | |
- Returns
- Snak[] List of main snaks, all guaranteed to belong to the same property ID.
◆ getStatementsWithPropertyId()
Wikibase\Client\DataAccess\SnaksFinder::getStatementsWithPropertyId |
( |
StatementListProvider |
$statementListProvider, |
|
|
PropertyId |
$propertyId |
|
) |
| |
|
private |
- Parameters
-
StatementListProvider | $statementListProvider | |
PropertyId | $propertyId | |
- Returns
- StatementList
The documentation for this class was generated from the following file: