Zend Framework  3.0
Public Member Functions | Public Attributes | List of all members
IteratorInterface Interface Reference

Public Member Functions

 getStorage ()
 Get storage instance.
 
 getMode ()
 Get iterator mode.
 
 setMode ($mode)
 Set iterator mode.
 

Public Attributes

const CURRENT_AS_SELF = 0
 
const CURRENT_AS_KEY = 1
 
const CURRENT_AS_VALUE = 2
 
const CURRENT_AS_METADATA = 3
 

Member Function Documentation

getMode ( )

Get iterator mode.

Returns
int Value of IteratorInterface::CURRENT_AS_*

Implemented in DbaIterator, FilesystemIterator, KeyListIterator, ApcIterator, and ApcuIterator.

getStorage ( )

Get storage instance.

Returns
StorageInterface

Implemented in DbaIterator, FilesystemIterator, KeyListIterator, ApcIterator, and ApcuIterator.

setMode (   $mode)

Set iterator mode.

Parameters
int$modeValue of IteratorInterface::CURRENT_AS_*
Returns
IteratorInterface Fluent interface

Implemented in DbaIterator, FilesystemIterator, KeyListIterator, ApcIterator, and ApcuIterator.

Member Data Documentation

const CURRENT_AS_KEY = 1
const CURRENT_AS_METADATA = 3
const CURRENT_AS_SELF = 0
const CURRENT_AS_VALUE = 2