EmptyQueryResult
class EmptyQueryResult implements QueryResultInterface (View source)
An empty result list
Properties
protected QueryInterface | $query |
Methods
getQuery()
Returns a clone of the query object
object|null
getFirst()
Returns NULL
array
toArray()
Returns an empty array
mixed
current()
No description
void
next()
No description
int
key()
No description
bool
valid()
No description
void
rewind()
No description
bool
offsetExists($offset)
No description
mixed
offsetGet($offset)
No description
void
offsetSet(mixed $offset, mixed $value)
No description
void
offsetUnset(mixed $offset)
No description
int
count()
No description
Details
__construct(QueryInterface $query)
Constructor
QueryInterface
getQuery()
Returns a clone of the query object
object|null
getFirst()
Returns NULL
array
toArray()
Returns an empty array
mixed
current()
No description
void
next()
No description
int
key()
No description
bool
valid()
No description
void
rewind()
No description
bool
offsetExists($offset)
No description
mixed
offsetGet($offset)
No description
void
offsetSet(mixed $offset, mixed $value)
No description
void
offsetUnset(mixed $offset)
No description
int
count()
No description