An RDF literal.
The literal supports the xml:lang and rdf:datatype property. For XML datatypes see: http://www.w3.org/TR/xmlschema-2/
Located in /model/Literal.php (line 21)
Object | --Node | --Literal
Class | Description |
---|---|
ResLiteral | An RDF literal. |
Constructor
Checks if ihe literal equals another literal.
Two literals are equal, if they have the same label and they have the same language/datatype or both have no language/datatype property set.
Sets the datatype of the literal.
Instead of datatype URI, you can also use an datatype shortcuts like STRING or INTEGER. The array $short_datatype with the possible shortcuts is definded in ../constants.php
Sets the language of the literal.
Dumps literal.
Inherited From Object
Object::toString()
Documentation generated on Fri, 1 Jun 2007 16:49:39 +0200 by phpDocumentor 1.3.2