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 {@link setDataSource DataSource}. Only the items
within the specified page will be returned and traversed.