WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\Serialization\LexemeDeserializer Class Reference
+ Inheritance diagram for Wikibase\Lexeme\Serialization\LexemeDeserializer:
+ Collaboration diagram for Wikibase\Lexeme\Serialization\LexemeDeserializer:

Public Member Functions

 __construct (Deserializer $entityIdDeserializer, Deserializer $statementListDeserializer)
 
 deserialize ( $serialization)
 

Private Member Functions

 deserializeId (array $serialization)
 
 deserializeStatements (array $serialization)
 
 deserializeLemmas (array $serialization)
 
 deserializeLexicalCategory (array $serialization)
 
 deserializeLanguage (array $serialization)
 
 deserializeForms (array $serialization)
 
 deserializeForm (array $serialization)
 
 deserializeSenses (array $serialization)
 
 deserializeNextSenseId (array $serialization)
 

Private Attributes

 $entityIdDeserializer
 
 $termListDeserializer
 
 $statementListDeserializer
 
 $senseDeserializer
 

Detailed Description

Author
Amir Sarabadani ladsg.nosp@m.roup.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\Serialization\LexemeDeserializer::__construct ( Deserializer $entityIdDeserializer,
Deserializer $statementListDeserializer )

Member Function Documentation

◆ deserialize()

Wikibase\Lexeme\Serialization\LexemeDeserializer::deserialize ( $serialization)
Parameters
array$serialization
Exceptions
DeserializationException
Returns
Lexeme

◆ deserializeForm()

Wikibase\Lexeme\Serialization\LexemeDeserializer::deserializeForm ( array $serialization)
private
Parameters
array$serialization
Exceptions
DeserializationException
Returns
Form

◆ deserializeForms()

Wikibase\Lexeme\Serialization\LexemeDeserializer::deserializeForms ( array $serialization)
private
Parameters
array$serialization
Returns
FormSet

◆ deserializeId()

Wikibase\Lexeme\Serialization\LexemeDeserializer::deserializeId ( array $serialization)
private
Parameters
array$serialization
Returns
LexemeId|null

◆ deserializeLanguage()

Wikibase\Lexeme\Serialization\LexemeDeserializer::deserializeLanguage ( array $serialization)
private
Parameters
array$serialization
Returns
ItemId|null

◆ deserializeLemmas()

Wikibase\Lexeme\Serialization\LexemeDeserializer::deserializeLemmas ( array $serialization)
private
Parameters
array$serialization
Returns
TermList|null

◆ deserializeLexicalCategory()

Wikibase\Lexeme\Serialization\LexemeDeserializer::deserializeLexicalCategory ( array $serialization)
private
Parameters
array$serialization
Returns
ItemId|null

◆ deserializeNextSenseId()

Wikibase\Lexeme\Serialization\LexemeDeserializer::deserializeNextSenseId ( array $serialization)
private
Parameters
array$serialization
Returns
int

◆ deserializeSenses()

Wikibase\Lexeme\Serialization\LexemeDeserializer::deserializeSenses ( array $serialization)
private

◆ deserializeStatements()

Wikibase\Lexeme\Serialization\LexemeDeserializer::deserializeStatements ( array $serialization)
private
Parameters
array$serialization
Returns
StatementList|null

Member Data Documentation

◆ $entityIdDeserializer

Wikibase\Lexeme\Serialization\LexemeDeserializer::$entityIdDeserializer
private

◆ $senseDeserializer

Wikibase\Lexeme\Serialization\LexemeDeserializer::$senseDeserializer
private

◆ $statementListDeserializer

Wikibase\Lexeme\Serialization\LexemeDeserializer::$statementListDeserializer
private

◆ $termListDeserializer

Wikibase\Lexeme\Serialization\LexemeDeserializer::$termListDeserializer
private

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