Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\InternalSerialization\Deserializers\LegacySiteLinkListDeserializer Class Reference
+ Inheritance diagram for Wikibase\InternalSerialization\Deserializers\LegacySiteLinkListDeserializer:
+ Collaboration diagram for Wikibase\InternalSerialization\Deserializers\LegacySiteLinkListDeserializer:

Public Member Functions

 deserialize ( $serialization)
 

Private Member Functions

 assertStructureIsValid ( $serialization)
 
 assertKeyIsValid ( $key)
 
 assertElementIsValid ( $arrayElement)
 
 assertElementIsValidArray (array $arrayElement)
 
 getDeserialized (array $siteLinkArray)
 
 newSiteLinkFromSerialization ( $siteId, $siteLinkData)
 
 tryNewSiteLinkFromSerialization ( $siteId, $siteLinkData)
 
 getDeserializedBadges (array $badgesSerialization)
 

Detailed Description

Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Member Function Documentation

◆ assertElementIsValid()

Wikibase\InternalSerialization\Deserializers\LegacySiteLinkListDeserializer::assertElementIsValid ( $arrayElement)
private

◆ assertElementIsValidArray()

Wikibase\InternalSerialization\Deserializers\LegacySiteLinkListDeserializer::assertElementIsValidArray ( array $arrayElement)
private

◆ assertKeyIsValid()

Wikibase\InternalSerialization\Deserializers\LegacySiteLinkListDeserializer::assertKeyIsValid ( $key)
private

◆ assertStructureIsValid()

Wikibase\InternalSerialization\Deserializers\LegacySiteLinkListDeserializer::assertStructureIsValid ( $serialization)
private

◆ deserialize()

Wikibase\InternalSerialization\Deserializers\LegacySiteLinkListDeserializer::deserialize ( $serialization)
Parameters
array$serialization
Returns
SiteLink[]
Exceptions
DeserializationException

◆ getDeserialized()

Wikibase\InternalSerialization\Deserializers\LegacySiteLinkListDeserializer::getDeserialized ( array $siteLinkArray)
private
Parameters
array$siteLinkArray
Returns
SiteLinkList

◆ getDeserializedBadges()

Wikibase\InternalSerialization\Deserializers\LegacySiteLinkListDeserializer::getDeserializedBadges ( array $badgesSerialization)
private
Parameters
string[]$badgesSerialization
Returns
ItemId[]

◆ newSiteLinkFromSerialization()

Wikibase\InternalSerialization\Deserializers\LegacySiteLinkListDeserializer::newSiteLinkFromSerialization ( $siteId,
$siteLinkData )
private
Parameters
string$siteId
string | array$siteLinkData
Exceptions
DeserializationException
Returns
SiteLink

◆ tryNewSiteLinkFromSerialization()

Wikibase\InternalSerialization\Deserializers\LegacySiteLinkListDeserializer::tryNewSiteLinkFromSerialization ( $siteId,
$siteLinkData )
private
Parameters
string$siteId
string | array$siteLinkData
Returns
SiteLink

The documentation for this class was generated from the following file: