Class \Prado\Collections\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 \Prado\Collections\setDataSource. Only the items within the specified page will be returned and traversed.
Class hierarchy
- \Prado\Collections\TPagedDataSource implements IteratorAggregate, Countable
- \Prado\TComponent
Since: 3.0
public
|
count() : int
Returns the number of items in the current page.
This method is required by \Countable interface. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |