- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Lib\FederatedProperties\FederatedPropertyId::__construct |
( |
string | $uriSerialization, |
|
|
string | $remoteId ) |
- Parameters
-
string | $uriSerialization | The concept URI serialization of the ID |
string | $remoteId | The ID as it is referred to on the federation source, e.g. 'P31' for serialization 'http://www.wikidata.org/entity/P31'. |
◆ __serialize()
Wikibase\Lib\FederatedProperties\FederatedPropertyId::__serialize |
( |
| ) |
|
◆ __toString()
Wikibase\Lib\FederatedProperties\FederatedPropertyId::__toString |
( |
| ) |
|
◆ __unserialize()
Wikibase\Lib\FederatedProperties\FederatedPropertyId::__unserialize |
( |
array | $data | ) |
|
◆ assertValidSerialization()
static Wikibase\Lib\FederatedProperties\FederatedPropertyId::assertValidSerialization |
( |
string | $serialization | ) |
|
|
staticprivate |
◆ equals()
Wikibase\Lib\FederatedProperties\FederatedPropertyId::equals |
( |
| $target | ) |
|
◆ getEntityType()
Wikibase\Lib\FederatedProperties\FederatedPropertyId::getEntityType |
( |
| ) |
|
◆ getRemoteIdSerialization()
Wikibase\Lib\FederatedProperties\FederatedPropertyId::getRemoteIdSerialization |
( |
| ) |
|
The ID as it is referred to on the federation source, e.g.
'P31' for serialization 'http://www.wikidata.org/entity/P31'.
This method must only be used when communicating with the federation source, but never to represent a FederatedPropertyId locally, because removing the concept base URI prefix makes the ID ambiguous.
◆ getSerialization()
Wikibase\Lib\FederatedProperties\FederatedPropertyId::getSerialization |
( |
| ) |
|
◆ $remoteId
string Wikibase\Lib\FederatedProperties\FederatedPropertyId::$remoteId |
|
private |
◆ $serialization
string Wikibase\Lib\FederatedProperties\FederatedPropertyId::$serialization |
|
private |
The documentation for this class was generated from the following file: