PHP 클래스 Prado\Collections\TPagedMapIterator
TPagedMapIterator implements \Iterator interface.
TPagedMapIterator is used by {@link TPagedDataSource}. It allows TPagedDataSource
to return a new iterator for traversing the items in a {@link TMap} object.
파일 보기
프로젝트 열기: pradosoft/prado
공개 메소드들
메소드 |
설명 |
|
__construct ( TMap $map, $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. |
|
메소드 상세
public __construct ( TMap $map, $startIndex, $count ) |
$map |
TMap |
|
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.