Wikibase
MediaWiki Wikibase extension
|
Null implementation of EntityMentionListener. More...
Public Member Functions | |
entityReferenceMentioned (EntityId $id) | |
Should be called when an entity reference (an EntityIdValue object) is encountered. | |
propertyMentioned (PropertyId $id) | |
Should be called when a property is used in a PropertySnak. | |
subEntityMentioned (EntityDocument $entity) | |
Should be called when a sub entity is encountered. | |
Null implementation of EntityMentionListener.
Wikibase\Repo\Rdf\NullEntityMentionListener::entityReferenceMentioned | ( | EntityId | $id | ) |
Should be called when an entity reference (an EntityIdValue object) is encountered.
EntityId | $id |
Implements Wikibase\Repo\Rdf\EntityMentionListener.
Wikibase\Repo\Rdf\NullEntityMentionListener::propertyMentioned | ( | PropertyId | $id | ) |
Should be called when a property is used in a PropertySnak.
PropertyId | $id |
Implements Wikibase\Repo\Rdf\EntityMentionListener.
Wikibase\Repo\Rdf\NullEntityMentionListener::subEntityMentioned | ( | EntityDocument | $entity | ) |
Should be called when a sub entity is encountered.
For example, in WikibaseLexeme, when a Form or a Sense is encountered when serializing a Lexeme.
EntityDocument | $entity |
Implements Wikibase\Repo\Rdf\EntityMentionListener.