You are here

public function EasyRdf_Sparql_Result::getType 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::getType()

Get the query result type (boolean/bindings)

ASK queries return a result of type 'boolean'. SELECT query return a result of type 'bindings'.

Return value

string The query result type.

File

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

Class

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

Code

public function getType() {
  return $this->type;
}