You are here

public function EasyRdf_Literal::getValue in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Literal.php \EasyRdf_Literal::getValue()

Returns the value of the literal.

Return value

string Value of this literal.

4 methods override EasyRdf_Literal::getValue()
EasyRdf_Literal_Boolean::getValue in vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/Boolean.php
Return the value of the literal cast to a PHP bool
EasyRdf_Literal_Date::getValue in vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/Date.php
Returns the date as a PHP DateTime object
EasyRdf_Literal_Decimal::getValue in vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/Decimal.php
Return the value of the literal cast to a PHP string
EasyRdf_Literal_Integer::getValue in vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/Integer.php
Return the value of the literal cast to a PHP int

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Literal.php, line 239

Class

EasyRdf_Literal
Class that represents an RDF Literal

Code

public function getValue() {
  return $this->value;
}