class ResultSet
A set of arbitrary data returned from a graph query. It is iterable and indexable.
Implements
Iterator
ArrayAccess
Methods
int
count
( )Gets the number of results contained in the result set.
null
rewind
( )Resets the intenal iterator of the result set to the beginning.
mixed
current
( )Gets the current value at the current position of the internal iterator.
int string
key
( )Gets the current key or offset of the current position of the internal iterator;
null
next
( )Moves the internal iterator to the next position.
bool
valid
( )Determines if the internal iterator points to a valid position in the result set.
bool
offsetExists
(int
$offset )
Determines if a result exists at an offset.
Gets a result at the provided offset.
mixed
offsetSet
(mixed
$offset, mixed
$value )
Not implmented. The result set is read-only.
mixed
offsetUnset
(mixed
$offset )
Not implmented. The result set is read-only.
Graph\Result
first
( )Gets the first result in the result set.