Class for returned for SPARQL SELECT and ASK query responses.
Located in /EasyRdf/Sparql/Result.php (line 46)
ArrayIterator | --EasyRdf_Sparql_Result
Create a new SPARQL Result object
You should not normally need to create a SPARQL result object directly - it will be constructed automatically for you by EasyRdf_Sparql_Client.
Return a human readable view of the query result.
This method is intended to be a debugging aid and will return a pretty-print view of the query result.
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.
Get the field names in a query result of type bindings.
Get the query result type (boolean/bindings)
ASK queries return a result of type 'boolean'. SELECT query return a result of type 'bindings'.
Return false if the result of the query was false.
Return true if the result of the query was true.
Return the number of fields in a query result of type bindings.
Return the number of rows in a query result of type bindings.
Magic method to return value of the result to string
If this is a boolean result then it will return 'true' or 'false'. If it is a bindings type, then it will dump as a text based table.
Inherited From ArrayIterator (Internal Class)
constructor __construct ( $array )
append ( $value )
asort ( )
count ( )
current ( )
getArrayCopy ( )
getFlags ( )
key ( )
ksort ( )
natcasesort ( )
natsort ( )
next ( )
offsetExists ( $index )
offsetGet ( $index )
offsetSet ( $index, $newval )
offsetUnset ( $index )
rewind ( )
seek ( $position )
serialize ( )
setFlags ( $flags )
uasort ( $cmp_function )
uksort ( $cmp_function )
unserialize ( $serialized )
valid ( )
Documentation generated on Wed, 16 Jan 2013 19:16:38 +0000 by phpDocumentor 1.4.4