Class TSessionIterator

Description

Implements interfaces:

  • Iterator (internal interface)

TSessionIterator class

TSessionIterator implements Iterator interface.

TSessionIterator is used by THttpSession. It allows THttpSession to return a new iterator for traversing the session variables.

  • author: Qiang Xue <qiang.xue@gmail.com>
  • version: $Id: THttpSession.php 3114 2012-02-28 09:52:47Z GODZilla0480@gmail.com $
  • since: 3.0

Located in /Web/THttpSession.php (line 635)


	
			
Method Summary
TSessionIterator __construct (array 0)
mixed current ()
mixed key ()
void next ()
void rewind ()
boolean valid ()
Methods
Constructor __construct (line 650)

Constructor.

  • access: public
TSessionIterator __construct (array 0)
  • array 0: the data to be iterated through
current (line 679)

Returns the current array element.

This method is required by the interface Iterator.

  • return: the current array element
  • access: public
mixed current ()

Implementation of:
Iterator::current
key (line 669)

Returns the key of the current array element.

This method is required by the interface Iterator.

  • return: the key of the current array element
  • access: public
mixed key ()

Implementation of:
Iterator::key
next (line 688)

Moves the internal pointer to the next array element.

This method is required by the interface Iterator.

  • access: public
void next ()

Implementation of:
Iterator::next
rewind (line 659)

Rewinds internal array pointer.

This method is required by the interface Iterator.

  • access: public
void rewind ()

Implementation of:
Iterator::rewind
valid (line 702)

Returns whether there is an element at current position.

This method is required by the interface Iterator.

  • access: public
boolean valid ()

Implementation of:
Iterator::valid

Documentation generated on Mon, 25 Jun 2012 14:38:24 +0200 by phpDocumentor 1.4.3