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 TDummyDataSourceIterator

TDummyDataSourceIterator class

TDummyDataSourceIterator implements Iterator interface.

TDummyDataSourceIterator is used by TDummyDataSource. It allows TDummyDataSource to return a new iterator for traversing its dummy items.

TDummyDataSourceIterator implements Iterator
Package: System\Collections
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Collections/TDummyDataSource.php
Methods summary
public
# __construct( integer $count )

Constructor.

Constructor.

Parameters

$count
integer
number of (virtual) items in the data source.
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