Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct (Store $store, EntityCache $entityCache) | |
skipCache ( $skipCache=true) | |
setLanguageCode ( $languageCode) | |
invalidateCache (DIWikiPage $subject) | |
getSpecification ( $source, DIProperty $target) | |
getFieldListBy (DIProperty $property) | |
getPreferredPropertyLabelByLanguageCode (DIProperty $property, $languageCode='') | |
hasUniquenessConstraint (DIProperty $property) | |
getPropertyGroup (DIProperty $property) | |
getExternalFormatterUri (DIProperty $property) | |
getAllowedPatternBy (DIProperty $property) | |
getAllowedValues (DIProperty $property) | |
getAllowedListValues (DIProperty $property) | |
getDisplayPrecision (DIProperty $property) | |
getDisplayUnits (DIProperty $property) | |
getPropertyDescriptionByLanguageCode (DIProperty $property, $languageCode='', $linker=null) | |
Public Attributes | |
const | CACHE_NS_KEY_SPECIFICATIONLOOKUP = ':propertyspecificationlookup' |
const | CACHE_NS_KEY_SPECIFICATIONLOOKUP_PREFERREDLABEL = ':propertyspecificationlookup:preferredlabel' |
const | CACHE_NS_KEY_SPECIFICATIONLOOKUP_DESCRIPTION = ':propertyspecificationlookup:description' |
This class should be accessed via ApplicationFactory::getPropertySpecificationLookup to ensure a singleton instance.
GNU GPL v2+
SMW\Property\SpecificationLookup::__construct | ( | Store | $store, |
EntityCache | $entityCache | ||
) |
Store | $store | |
EntityCache | $entityCache |
SMW\Property\SpecificationLookup::getAllowedListValues | ( | DIProperty | $property | ) |
SMW\Property\SpecificationLookup::getAllowedPatternBy | ( | DIProperty | $property | ) |
SMW\Property\SpecificationLookup::getAllowedValues | ( | DIProperty | $property | ) |
SMW\Property\SpecificationLookup::getDisplayPrecision | ( | DIProperty | $property | ) |
SMW\Property\SpecificationLookup::getDisplayUnits | ( | DIProperty | $property | ) |
SMW\Property\SpecificationLookup::getExternalFormatterUri | ( | DIProperty | $property | ) |
SMW\Property\SpecificationLookup::getFieldListBy | ( | DIProperty | $property | ) |
SMW\Property\SpecificationLookup::getPreferredPropertyLabelByLanguageCode | ( | DIProperty | $property, |
$languageCode = '' |
|||
) |
SMW\Property\SpecificationLookup::getPropertyDescriptionByLanguageCode | ( | DIProperty | $property, |
$languageCode = '' , |
|||
$linker = null |
|||
) |
SMW\Property\SpecificationLookup::getPropertyGroup | ( | DIProperty | $property | ) |
SMW\Property\SpecificationLookup::getSpecification | ( | $source, | |
DIProperty | $target | ||
) |
SMW\Property\SpecificationLookup::hasUniquenessConstraint | ( | DIProperty | $property | ) |
SMW\Property\SpecificationLookup::invalidateCache | ( | DIWikiPage | $subject | ) |
DIWikiPage | $subject |
SMW\Property\SpecificationLookup::setLanguageCode | ( | $languageCode | ) |
string | $languageCode |
SMW\Property\SpecificationLookup::skipCache | ( | $skipCache = true | ) |
boolean | $skipCache |
const SMW\Property\SpecificationLookup::CACHE_NS_KEY_SPECIFICATIONLOOKUP = ':propertyspecificationlookup' |
Identifies types used as part of the generate key to distinguish between instances that would create the same entity key