Semantic MediaWiki and related extensions
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SESP\PropertyRegistry Class Reference

Public Member Functions

 getPropertyId ($id)
 
 getPropertyType ($id)
 
 registerAsFixedTables (&$propertyTableDefinitions, $configuration)
 
 registerPropertiesAndAliases ()
 

Static Public Member Functions

static getInstance ()
 
static clear ()
 

Protected Member Functions

 __construct (DefinitionReader $definitionReader, MessageCache $messageCache)
 
 registerPropertiesFromList (array $propertyList)
 
 getPropertyLabel ($id)
 
 getPropertyVisibility ($id)
 
 getPropertyAlias ($id)
 
 getPropertyDataItemTypeId ($id)
 
 lookupWithIndexForId ($index, $id)
 

Protected Attributes

 $messageCache = null
 
 $definitions = null
 

Static Protected Attributes

static $instance = null
 

Detailed Description

GNU GPL v2+

Since
1.0
Author
mwjames

Constructor & Destructor Documentation

SESP\PropertyRegistry::__construct ( DefinitionReader  $definitionReader,
MessageCache  $messageCache 
)
protected
Since
1.2.0
Parameters
DefinitionReader$definitionReader
MessageCache$messageCache

Member Function Documentation

static SESP\PropertyRegistry::clear ( )
static
Since
1.0
static SESP\PropertyRegistry::getInstance ( )
static
Since
1.0
Returns
PropertyRegistry
SESP\PropertyRegistry::getPropertyAlias (   $id)
protected
SESP\PropertyRegistry::getPropertyDataItemTypeId (   $id)
protected
SESP\PropertyRegistry::getPropertyId (   $id)
Since
1.0
Parameters
string$id
Returns
string|null
SESP\PropertyRegistry::getPropertyLabel (   $id)
protected
SESP\PropertyRegistry::getPropertyType (   $id)
Since
1.0
Parameters
string$id
Returns
string|null
SESP\PropertyRegistry::getPropertyVisibility (   $id)
protected
SESP\PropertyRegistry::lookupWithIndexForId (   $index,
  $id 
)
protected
SESP\PropertyRegistry::registerAsFixedTables ( $propertyTableDefinitions,
  $configuration 
)

Only properties that are customized are also considered as possible candidates for a fixed table

Note
Specific exif properties are not considered as fixed table entry
Since
1.0
Parameters
array$propertyTableDefinitions
array$configuration
Returns
boolean
SESP\PropertyRegistry::registerPropertiesAndAliases ( )
Note
If there are an exceedingly amount of possible exif properties, those should only registered if '_EXIFDATA' is used as configuration parameter
Since
1.0
Returns
boolean
SESP\PropertyRegistry::registerPropertiesFromList ( array  $propertyList)
protected

Member Data Documentation

SESP\PropertyRegistry::$definitions = null
protected
SESP\PropertyRegistry::$instance = null
staticprotected
SESP\PropertyRegistry::$messageCache = null
protected

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