boolean equals(
object literal
$that)
|
|
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.
Parameters:
void setDatatype(
string
$datatype)
|
|
Sets the datatype of the literal.
Instead of datatype URI, you can also use an datatype shortcuts like STRING or INTEGER. The array $GLOBALS['_RDF_default_datatype'] with the possible shortcuts is definded in ../constants.php
Parameters: