Fully Qualified Name: | Zend\Cache\Storage\Adapter\DbaIterator |
Implements: | IteratorInterface |
Name | Description | Defined By |
---|---|---|
__construct() | Constructor | DbaIterator |
current() | Get current key, value or metadata. | DbaIterator |
getMode() | Get iterator mode | DbaIterator |
getStorage() | Get storage instance | DbaIterator |
key() | Get current key | DbaIterator |
next() | Move forward to next element | DbaIterator |
rewind() | Rewind the Iterator to the first element. | DbaIterator |
setMode() | Set iterator mode | DbaIterator |
valid() | Checks if current position is valid | DbaIterator |
Constructor
Parameter Name | Type | Description |
---|---|---|
$storage | \Dba | |
$handle | resource | |
$prefix | string |
Returns:
Get current key, value or metadata.
Returns: mixed
Get iterator mode
Returns: int Value of IteratorInterface::CURRENT_AS_*
Get storage instance
Returns: \Dba
Get current key
Returns: string
Move forward to next element
Returns: void
Rewind the Iterator to the first element.
Returns: void
Set iterator mode
Parameter Name | Type | Description |
---|---|---|
$mode | int |
Returns: \DbaIterator Provides a fluent interface
Checks if current position is valid
Returns: bool