PRADO Component Framework for PHP 5
  • Home
  • About
  • Testimonials
  • Demos
  • Download
  • Documentation
  • Forum
  • Development
  • Tutorials
  • Class Docs
  • API Manual
  • Wiki

Packages

  • None
  • System
    • Caching
    • Collections
    • Data
      • ActiveRecord
        • Relations
        • Scaffold
          • InputBuilder
      • Commom
        • Sqlite
      • Common
        • Mssql
        • Mysql
        • Oracle
        • Pgsql
        • Sqlite
      • DataGateway
      • SqlMap
        • Configuration
        • Statements
    • Exceptions
    • I18N
    • IO
    • Security
    • Util
    • Web
      • Javascripts
      • Services
      • UI
        • ActiveControls
        • WebControls
    • Xml
  • Wsat
    • pages
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class TQueueIterator

TQueueIterator class

TQueueIterator implements Iterator interface.

TQueueIterator is used by TQueue. It allows TQueue to return a new iterator for traversing the items in the queue.

TQueueIterator implements Iterator
Package: System\Collections
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Version: $Id$
Since: 3.1
Located at Collections/TQueue.php
Methods summary
public
# __construct( array & $data )

Constructor.

Constructor.

Parameters

$data
array
the data to be iterated through
public
# rewind( )

Rewinds internal array pointer. This method is required by the interface Iterator.

Rewinds internal array pointer. This method is required by the interface Iterator.

Implementation of

Iterator::rewind()
public integer
# key( )

Returns the key of the current array item. This method is required by the interface Iterator.

Returns the key of the current array item. This method is required by the interface Iterator.

Returns

integer
the key of the current array item

Implementation of

Iterator::key()
public mixed
# current( )

Returns the current array item. This method is required by the interface Iterator.

Returns the current array item. This method is required by the interface Iterator.

Returns

mixed
the current array item

Implementation of

Iterator::current()
public
# next( )

Moves the internal pointer to the next array item. This method is required by the interface Iterator.

Moves the internal pointer to the next array item. This method is required by the interface Iterator.

Implementation of

Iterator::next()
public boolean
# valid( )

Returns whether there is an item at current position. This method is required by the interface Iterator.

Returns whether there is an item at current position. This method is required by the interface Iterator.

Returns

boolean

Implementation of

Iterator::valid()
Terms of Service | Contact Us
PRADO v3.2.4 API Manual API documentation generated by ApiGen 2.8.0
Copyright © 2006-2014 by the PRADO Group.
Powered by PRADO