Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Store\PropertyInfoStore Interface Reference
+ Inheritance diagram for Wikibase\Lib\Store\PropertyInfoStore:

Public Member Functions

 setPropertyInfo (PropertyId $propertyId, array $info)
 Update the info for the given property.
 
 removePropertyInfo (PropertyId $propertyId)
 Remove the info entry for the given property.
 

Public Attributes

const KEY_CANONICAL_URI = 'canonicalURI'
 Key to use in the info array for the property's canonical URI pattern.
 

Detailed Description

Author
Daniel Kinzler
Bene* < benes.nosp@m.tar..nosp@m.wikim.nosp@m.edia.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >

Member Function Documentation

◆ removePropertyInfo()

Wikibase\Lib\Store\PropertyInfoStore::removePropertyInfo ( PropertyId  $propertyId)

Remove the info entry for the given property.

Parameters
PropertyId$propertyId
Returns
bool true iff something was deleted
Exceptions
StorageException
DBError

Implemented in Wikibase\Lib\Store\CacheAwarePropertyInfoStore, and Wikibase\Lib\Store\Sql\PropertyInfoTable.

◆ setPropertyInfo()

Wikibase\Lib\Store\PropertyInfoStore::setPropertyInfo ( PropertyId  $propertyId,
array  $info 
)

Update the info for the given property.

Note
All well known fields MUST be set in $info.
Parameters
PropertyId$propertyId
array$info
Exceptions
StorageException
DBError

Implemented in Wikibase\Lib\Store\CacheAwarePropertyInfoStore, and Wikibase\Lib\Store\Sql\PropertyInfoTable.

Member Data Documentation

◆ KEY_CANONICAL_URI

const Wikibase\Lib\Store\PropertyInfoStore::KEY_CANONICAL_URI = 'canonicalURI'

Key to use in the info array for the property's canonical URI pattern.


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