You are here

public function EasyRdf_Sparql_Result::getBoolean in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Sparql/Result.php \EasyRdf_Sparql_Result::getBoolean()

Return the boolean value of the query result

If the query was of type boolean then this method will return either true or false. If the query was of some other type then this method will return null.

Return value

boolean The result of the query.

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Sparql/Result.php, line 99

Class

EasyRdf_Sparql_Result
Class for returned for SPARQL SELECT and ASK query responses.

Code

public function getBoolean() {
  return $this->boolean;
}