Wikibase
MediaWiki Wikibase extension
|
Public Member Functions | |
getEntityType () | |
getSerialization () | |
__toString () | |
TODO: Consider removing this method in favor of just always calling getSerialization(). | |
equals ( $target) | |
__serialize () | |
This method replaces Serializable::serialize() . | |
__unserialize (array $data) | |
This method replaces Serializable::unserialize() . | |
Wikibase\DataModel\Entity\EntityId::__serialize | ( | ) |
This method replaces Serializable::serialize()
.
Do not call it manually. Also, consider using getSerialization()
and an EntityIdParser
instead of PHP serialization.
Implemented in Wikibase\DataModel\Entity\ItemId, Wikibase\DataModel\Entity\NumericPropertyId, Wikibase\DataModel\Entity\SerializableEntityId, and Wikibase\Lib\FederatedProperties\FederatedPropertyId.
Wikibase\DataModel\Entity\EntityId::__toString | ( | ) |
TODO: Consider removing this method in favor of just always calling getSerialization().
Implemented in Wikibase\DataModel\Entity\SerializableEntityId, and Wikibase\Lib\FederatedProperties\FederatedPropertyId.
Wikibase\DataModel\Entity\EntityId::__unserialize | ( | array | $data | ) |
This method replaces Serializable::unserialize()
.
Do not call it manually. Also, consider using getSerialization()
and an EntityIdParser
instead of PHP serialization.
Implemented in Wikibase\DataModel\Entity\ItemId, Wikibase\DataModel\Entity\NumericPropertyId, Wikibase\Lib\FederatedProperties\FederatedPropertyId, and Wikibase\DataModel\Entity\SerializableEntityId.
Wikibase\DataModel\Entity\EntityId::equals | ( | $target | ) |
mixed | $target |
Implemented in Wikibase\DataModel\Entity\SerializableEntityId, and Wikibase\Lib\FederatedProperties\FederatedPropertyId.
Wikibase\DataModel\Entity\EntityId::getEntityType | ( | ) |
Wikibase\DataModel\Entity\EntityId::getSerialization | ( | ) |
Implemented in Wikibase\DataModel\Entity\SerializableEntityId, and Wikibase\Lib\FederatedProperties\FederatedPropertyId.