PHP Class Prado\Web\TSessionIterator

TSessionIterator implements \Iterator interface. TSessionIterator is used by THttpSession. It allows THttpSession to return a new iterator for traversing the session variables.
Since: 3.0
Author: Qiang Xue ([email protected])
Inheritance: implements Iterator
Afficher le fichier Open project: pradosoft/prado

Méthodes publiques

Méthode Description
__construct ( ) Constructor.
current ( ) : mixed Returns the current array element.
key ( ) : mixed Returns the key of the current array element.
next ( ) Moves the internal pointer to the next array element.
rewind ( ) Rewinds internal array pointer.
valid ( ) : boolean Returns whether there is an element at current position.

Method Details

__construct() public méthode

Constructor.
public __construct ( )

current() public méthode

This method is required by the interface Iterator.
public current ( ) : mixed
Résultat mixed the current array element

key() public méthode

This method is required by the interface Iterator.
public key ( ) : mixed
Résultat mixed the key of the current array element

next() public méthode

This method is required by the interface Iterator.
public next ( )

rewind() public méthode

This method is required by the interface Iterator.
public rewind ( )

valid() public méthode

This method is required by the interface Iterator.
public valid ( ) : boolean
Résultat boolean