Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct (DataItem $dataItem=null) | |
getDataItem () | |
getHash () | |
getSerialization () | |
Static Public Member Functions | |
static | newFromSerialization (array $serialization) |
Static Protected Member Functions | |
static | deserialize ( $serialization) |
Protected Attributes | |
$dataItem | |
Additional Inherited Members | |
Public Attributes inherited from SMW\Exporter\Element | |
const | TYPE_RESOURCE = 0 |
const | TYPE_NSRESOURCE = 1 |
const | TYPE_LITERAL = 2 |
ExpElement is a class for representing single elements that appear in exported data, such as individual resources, data literals, or blank nodes.
A single element for export, e.g. a data literal, instance name, or blank node. This abstract base class declares the basic common functionality of export elements (which is not much, really).
GNU GPL v2+
SMW\Exporter\Element\ExpElement::__construct | ( | DataItem | $dataItem = null | ) |
DataItem | null | $dataItem |
|
staticprotected |
SMW\Exporter\Element\ExpElement::getDataItem | ( | ) |
Get a DataItem object that represents the contents of this export element in SMW, or null if no such data item could be found.
Implements SMW\Exporter\Element.
SMW\Exporter\Element\ExpElement::getHash | ( | ) |
SMW\Exporter\Element\ExpElement::getSerialization | ( | ) |
|
static |