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.
부터: 3.0
저자: Qiang Xue ([email protected])
상속: implements Iterator
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
__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() 공개 메소드

Constructor.
public __construct ( TList $list, $startIndex, $count )
$list TList

current() 공개 메소드

This method is required by the interface Iterator.
public current ( ) : mixed
리턴 mixed the current array item

key() 공개 메소드

This method is required by the interface Iterator.
public key ( ) : integer
리턴 integer the key of the current array item

next() 공개 메소드

This method is required by the interface Iterator.
public next ( )

rewind() 공개 메소드

This method is required by the interface Iterator.
public rewind ( )

valid() 공개 메소드

This method is required by the interface Iterator.
public valid ( ) : boolean
리턴 boolean