Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\DataModel\Snak\PropertySomeValueSnak Class Reference

Class representing a property some value snak. More...

+ Inheritance diagram for Wikibase\DataModel\Snak\PropertySomeValueSnak:
+ Collaboration diagram for Wikibase\DataModel\Snak\PropertySomeValueSnak:

Public Member Functions

 getType ()
 
- Public Member Functions inherited from Wikibase\DataModel\Snak\SnakObject
 __construct ( $propertyId)
 Support for passing in an EntityId instance that is not a PropertyId instance has been deprecated since 0.5.
 
 getPropertyId ()
 
 getHash ()
 
 getSerializationForHash ()
 The serialization to use for hashing, for compatibility reasons this is equivalent to the old (pre 7.4) PHP serialization.
 
 equals ( $target)
 
 serialize ()
 
 unserialize ( $serialized)
 
 __serialize ()
 
 __unserialize (array $serialized)
 

Additional Inherited Members

- Protected Attributes inherited from Wikibase\DataModel\Snak\SnakObject
 $propertyId
 

Detailed Description

Class representing a property some value snak.

See https://www.mediawiki.org/wiki/Wikibase/DataModel#PropertySomeValueSnak

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

Member Function Documentation

◆ getType()

Wikibase\DataModel\Snak\PropertySomeValueSnak::getType ( )
See also
Snak::getType
Since
0.2
Returns
string

Implements Wikibase\DataModel\Snak\Snak.


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