Fully Qualified Name: | Zend\Db\ResultSet\AbstractResultSet |
Implements: | Iterator, ResultSetInterface |
Name | Description | Defined By |
---|---|---|
buffer() | AbstractResultSet | |
count() | Countable: return count of rows | AbstractResultSet |
current() | Iterator: get current item | AbstractResultSet |
getDataSource() | Get the data source used to create the result set | AbstractResultSet |
getFieldCount() | Retrieve count of fields in individual rows of the result set | AbstractResultSet |
initialize() | Set the data source for the result set | AbstractResultSet |
isBuffered() | AbstractResultSet | |
key() | Iterator: retrieve current key | AbstractResultSet |
next() | Iterator: move pointer to next item | AbstractResultSet |
rewind() | Iterator: rewind | AbstractResultSet |
toArray() | Cast result set to array of arrays | AbstractResultSet |
valid() | Iterator: is pointer valid? | AbstractResultSet |
Returns: self Provides a fluent interface
Countable: return count of rows
Returns: int
Iterator: get current item
Returns: array|null
Get the data source used to create the result set
Returns: null|\Iterator
Retrieve count of fields in individual rows of the result set
Returns: int
Set the data source for the result set
Parameter Name | Type | Description |
---|---|---|
$dataSource | array|\Iterator|\IteratorAggregate|\ResultInterface |
Returns: self Provides a fluent interface
Returns: void
Iterator: retrieve current key
Returns: mixed
Iterator: move pointer to next item
Returns: void
Iterator: rewind
Returns: void
Cast result set to array of arrays
Returns: array
Iterator: is pointer valid?
Returns: bool