This implementation of the UsageAccumulator interface simply wraps an array containing the usage information.
More...
|
| addUsage (EntityUsage $usage) |
|
| getUsages () |
|
| addLabelUsage (EntityId $id, $languageCode=null) |
| Registers the usage of an entity's label (in the given language).
|
|
| addDescriptionUsage (EntityId $id, $languageCode=null) |
| Registers the usage of an entity's description (in the given language).
|
|
| addTitleUsage (EntityId $id) |
| Registers the usage of an entity's local page title, e.g.
|
|
| addSiteLinksUsage (EntityId $id) |
| Registers the usage of an entity's sitelinks, e.g.
|
|
| addStatementUsage (EntityId $id, PropertyId $propertyId) |
| Registers the usage of statements from an entity (identified by their property id).
|
|
| addOtherUsage (EntityId $id) |
| Registers the usage of other (i.e.
|
|
| addAllUsage (EntityId $id) |
| Registers the usage of any/all data of an entity (e.g.
|
|
This implementation of the UsageAccumulator interface simply wraps an array containing the usage information.
- Copyright
- GPL-2.0-or-later
- Author
- Daniel Kinzler