Wikibase
MediaWiki Wikibase extension
|
PropertyInfoProvider implementation based on a specific field in the array returned by a PropertyInfoLookup. More...
Public Member Functions | |
__construct (PropertyInfoLookup $infoLookup, $propertyInfoKey) | |
getPropertyInfo (PropertyId $propertyId) | |
Returns the value for the property info field specified in the constructor. | |
Private Attributes | |
$infoLookup | |
$propertyInfoKey | |
PropertyInfoProvider implementation based on a specific field in the array returned by a PropertyInfoLookup.
Wikibase\Lib\Store\FieldPropertyInfoProvider::__construct | ( | PropertyInfoLookup | $infoLookup, |
$propertyInfoKey ) |
PropertyInfoLookup | $infoLookup | |
string | $propertyInfoKey | Name of the desired field in the PropertyInfo array. Use one of the PropertyInfoStore::KEY_XXX constants. |
Wikibase\Lib\Store\FieldPropertyInfoProvider::getPropertyInfo | ( | PropertyId | $propertyId | ) |
Returns the value for the property info field specified in the constructor.
PropertyId | $propertyId |
StorageException |
Implements Wikibase\Lib\Store\PropertyInfoProvider.
|
private |
|
private |