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

Public Member Functions

 __construct (Cache $cache=null, $languageCode='en')
 
 setLabelCacheVersion ( $labelCacheVersion)
 
 getLabel ( $key)
 
 getLabelsFrom (PropertyDefinitions $propertyDefinitions)
 

Public Attributes

const LABEL_CACHE_NAMESPACE = 'sesp:labels'
 

Detailed Description

GNU GPL v2+

Since
2.0
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SESP\LabelFetcher::__construct ( Cache  $cache = null,
  $languageCode = 'en' 
)
Since
2.0
Parameters
Cache | null$cache
string$languageCode

Member Function Documentation

◆ getLabel()

SESP\LabelFetcher::getLabel (   $key)
Since
2.0
Parameters
string$key
Returns
string

◆ getLabelsFrom()

SESP\LabelFetcher::getLabelsFrom ( PropertyDefinitions  $propertyDefinitions)
Since
2.0
Parameters
PropertyDefinitions$propertyDefinitions
Returns
array

◆ setLabelCacheVersion()

SESP\LabelFetcher::setLabelCacheVersion (   $labelCacheVersion)
Since
2.0
Parameters
integer | string$labelCacheVersion

Member Data Documentation

◆ LABEL_CACHE_NAMESPACE

const SESP\LabelFetcher::LABEL_CACHE_NAMESPACE = 'sesp:labels'

Namespace of the cache instance


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

About | General disclaimer | Privacy policy