Wikibase
MediaWiki Wikibase extension
|
Interface for objects that represent a single Wikibase snak. More...
Public Member Functions | |
getType () | |
Returns a string that can be used to identify the type of snak. | |
getHash () | |
equals ( $value) | |
__serialize () | |
__unserialize (array $serialized) | |
Public Member Functions inherited from Wikibase\DataModel\PropertyIdProvider | |
getPropertyId () | |
Interface for objects that represent a single Wikibase snak.
See https://www.mediawiki.org/wiki/Wikibase/DataModel#Snaks
Wikibase\DataModel\Snak\Snak::__serialize | ( | ) |
Implemented in Wikibase\DataModel\Snak\PropertyValueSnak, and Wikibase\DataModel\Snak\SnakObject.
Wikibase\DataModel\Snak\Snak::__unserialize | ( | array | $serialized | ) |
Implemented in Wikibase\DataModel\Snak\PropertyValueSnak, and Wikibase\DataModel\Snak\SnakObject.
Wikibase\DataModel\Snak\Snak::equals | ( | $value | ) |
Wikibase\DataModel\Snak\Snak::getHash | ( | ) |
Implemented in Wikibase\DataModel\Snak\SnakObject.
Wikibase\DataModel\Snak\Snak::getType | ( | ) |
Returns a string that can be used to identify the type of snak.
Implemented in Wikibase\DataModel\Snak\PropertyNoValueSnak, Wikibase\DataModel\Snak\PropertySomeValueSnak, and Wikibase\DataModel\Snak\PropertyValueSnak.