Inherits SMWExpElement.
Inherited by SMWExpNsResource.
Public Member Functions | |
| __construct ($uri, $dataItem=null) | |
| Constructor. | |
| isBlankNode () | |
| Return true if this resource represents a blank node. | |
| getUri () | |
| Get the URI of this resource. | |
This class can also be used to represent blank nodes: It is assumed that all objects of class SMWExpElement or any of its subclasses represent a blank node if their name is empty or of the form "_id" where "id" is any identifier string. IDs are local to the current context, such as a list of triples or an SMWExpData container.
Definition at line 60 of file SMW_Exp_Element.php.
| SMWExpResource::__construct | ( | $ | uri, | |
| $ | dataItem = null | |||
| ) |
Constructor.
The given URI must not contain serialization-specific abbreviations or escapings, such as XML entities.
| $uri | string of the full URI | |
| $dataItem | SMWDataItem or null |
Definition at line 69 of file SMW_Exp_Element.php.
| SMWExpResource::isBlankNode | ( | ) |
Return true if this resource represents a blank node.
Definition at line 79 of file SMW_Exp_Element.php.
| SMWExpResource::getUri | ( | ) |
Get the URI of this resource.
The result is a UTF-8 encoded URI (or IRI) without any escaping.
Definition at line 89 of file SMW_Exp_Element.php.
Referenced by SMWExpData::addPropertyObjectValue(), SMWSerializer::declarationDone(), SMWSparqlStore::getSparqlRedirectTarget(), SMWExpData::getValues(), and SMWSerializer::requireDeclaration().
1.5.6