- 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'. |
◆ __toString()
Wikibase\Lib\FederatedProperties\FederatedPropertyId::__toString |
( |
| ) |
|
◆ assertValidSerialization()
static Wikibase\Lib\FederatedProperties\FederatedPropertyId::assertValidSerialization |
( |
string |
$serialization | ) |
|
|
staticprivate |
◆ equals()
Wikibase\Lib\FederatedProperties\FederatedPropertyId::equals |
( |
|
$target | ) |
|
◆ getEntityType()
Wikibase\Lib\FederatedProperties\FederatedPropertyId::getEntityType |
( |
| ) |
|
◆ getLocalPart()
Wikibase\Lib\FederatedProperties\FederatedPropertyId::getLocalPart |
( |
| ) |
|
TODO: This method shouldn't exist on this interface as it doesn't make sense for certain types of IDs.
It should be moved to a separate interface, or removed altogether.
- Returns
- string
Implements Wikibase\DataModel\Entity\EntityId.
◆ 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.
◆ getRepositoryName()
Wikibase\Lib\FederatedProperties\FederatedPropertyId::getRepositoryName |
( |
| ) |
|
TODO: This method shouldn't exist on this interface as it doesn't make sense for certain types of IDs.
It should be moved to a separate interface, or removed altogether.
- Returns
- string
Implements Wikibase\DataModel\Entity\EntityId.
◆ getSerialization()
Wikibase\Lib\FederatedProperties\FederatedPropertyId::getSerialization |
( |
| ) |
|
◆ serialize()
Wikibase\Lib\FederatedProperties\FederatedPropertyId::serialize |
( |
| ) |
|
◆ unserialize()
Wikibase\Lib\FederatedProperties\FederatedPropertyId::unserialize |
( |
|
$serialization | ) |
|
◆ $remoteId
Wikibase\Lib\FederatedProperties\FederatedPropertyId::$remoteId |
|
private |
◆ $serialization
Wikibase\Lib\FederatedProperties\FederatedPropertyId::$serialization |
|
private |
The documentation for this class was generated from the following file: