Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\DataModel\Services\Lookup\PropertyDataTypeLookup Interface Reference
+ Inheritance diagram for Wikibase\DataModel\Services\Lookup\PropertyDataTypeLookup:

Public Member Functions

 getDataTypeIdForProperty (PropertyId $propertyId)
 Returns the data type for the Property of which the id is given.
 

Detailed Description

Since
1.0
Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Member Function Documentation

◆ getDataTypeIdForProperty()

Wikibase\DataModel\Services\Lookup\PropertyDataTypeLookup::getDataTypeIdForProperty ( PropertyId $propertyId)

Returns the data type for the Property of which the id is given.

Since
2.0
Parameters
PropertyId$propertyId
Returns
string
Exceptions
PropertyDataTypeLookupException

Implemented in Wikibase\Lib\PropertyInfoDataTypeLookup, Wikibase\Lib\SourceDispatchingPropertyDataTypeLookup, Wikibase\DataModel\Services\Lookup\EntityRetrievingDataTypeLookup, Wikibase\DataModel\Services\Lookup\InMemoryDataTypeLookup, and Wikibase\DataModel\Services\Lookup\InProcessCachingDataTypeLookup.


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