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

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

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

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 no value snak.

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

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\PropertyNoValueSnak::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: