An RDF literal.
The literal supports the xml:lang and rdf:datatype property. For XML datatypes see: http://www.w3.org/TR/xmlschema-2/
History:
Located in /model/Literal.php (line 26)
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, 17 Dec 2004 16:15:32 +0100 by phpDocumentor 1.3.0RC3