Semantic MediaWiki and related extensions
Public Member Functions | Static Public Member Functions | List of all members
SMW\Deserializers\DVDescriptionDeserializerRegistry Class Reference

Public Member Functions

 __construct (DispatchingDescriptionDeserializer $dispatchingDescriptionDeserializer=null)
 
 registerDescriptionDeserializer (DescriptionDeserializer $descriptionDeserializer)
 
 getDescriptionDeserializerBy (DataValue $dataValue)
 

Static Public Member Functions

static getInstance ()
 
static clear ()
 

Detailed Description

GNU GPL v2+

Since
2.3
Author
mwjames

Constructor & Destructor Documentation

SMW\Deserializers\DVDescriptionDeserializerRegistry::__construct ( DispatchingDescriptionDeserializer  $dispatchingDescriptionDeserializer = null)
Since
2.3
Parameters
DispatchingDescriptionDeserializer | null$dispatchingDescriptionDeserializer

Member Function Documentation

static SMW\Deserializers\DVDescriptionDeserializerRegistry::clear ( )
static
Since
2.3
SMW\Deserializers\DVDescriptionDeserializerRegistry::getDescriptionDeserializerBy ( DataValue  $dataValue)
Since
2.3
Parameters
DataValue$dataValue
Returns
DescriptionDeserializer
static SMW\Deserializers\DVDescriptionDeserializerRegistry::getInstance ( )
static
Since
2.3
Returns
self
SMW\Deserializers\DVDescriptionDeserializerRegistry::registerDescriptionDeserializer ( DescriptionDeserializer  $descriptionDeserializer)
Note
This allows extensions to inject their own DescriptionDeserializer without further violating SRP of the DataType or DataValue.
Since
2.3
Parameters
DescriptionDeserializer$descriptionDeserializer

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