Class TPagedDataSource
TPagedDataSource class
TPagedDataSource implements an integer-indexed collection class with paging functionality.
Data items in TPagedDataSource can be traversed using foreach PHP statement like the following,
foreach($pagedDataSource as $dataItem)
The data are fetched from setDataSource DataSource. Only the items within the specified page will be returned and traversed.
- TComponent
-
TPagedDataSource implements IteratorAggregate, Countable
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/TPagedDataSource.php
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Collections/TPagedDataSource.php
public
mixed
|
|
public
|
|
public
integer
|
|
public
|
|
public
integer
|
|
public
|
|
public
boolean
|
|
public
|
|
public
boolean
|
|
public
|
|
public
integer
|
|
public
|
|
public
integer
|
|
public
integer
|
#
count( )
Returns the number of items in the current page. This method is required by Countable interface. |
public
integer
|
|
public
boolean
|
|
public
boolean
|
|
public
integer
|
|
public
integer
|
|
public
Iterator
|
GLOBAL_RAISE_EVENT_LISTENER
|