PHP Класс Prado\Collections\TPagedListIterator
TPagedListIterator implements \Iterator interface.
TPagedListIterator is used by {@link TPagedDataSource}. It allows TPagedDataSource
to return a new iterator for traversing the items in a {@link TList} object.
Показать файл
Открыть проект
Открытые методы
Метод |
Описание |
|
__construct ( TList $list, $startIndex, $count ) |
Constructor. |
|
current ( ) : mixed |
Returns the current array item. |
|
key ( ) : integer |
Returns the key of the current array item. |
|
next ( ) |
Moves the internal pointer to the next array item. |
|
rewind ( ) |
Rewinds internal array pointer. |
|
valid ( ) : boolean |
Returns whether there is an item at current position. |
|
Описание методов
__construct()
публичный метод
public __construct ( TList $list, $startIndex, $count ) |
$list |
TList |
|
current()
публичный метод
This method is required by the interface Iterator.
This method is required by the interface Iterator.
This method is required by the interface Iterator.
This method is required by the interface Iterator.
This method is required by the interface Iterator.