PHP 클래스 Prado\Collections\TPagedListFetchDataEventParameter

TPagedListFetchDataEventParameter is used as the parameter for {@link TPagedList::onFetchData OnFetchData} event. To obtain the new page index, use {@link getNewPageIndex NewPageIndex}. The {@link getOffset Offset} property refers to the index of the first item in the new page, while {@link getLimit Limit} specifies how many items are requested for the page. Newly fetched data should be saved in {@link setData Data} property.
부터: 3.0
저자: Qiang Xue ([email protected])
상속: extends Prado\TEventParameter
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
__construct ( $pageIndex, $offset, $limit ) Constructor.
getData ( ) : mixed
getLimit ( ) : integer
getNewPageIndex ( ) : integer
getOffset ( ) : integer
setData ( $value )

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( $pageIndex, $offset, $limit )

getData() 공개 메소드

public getData ( ) : mixed
리턴 mixed new page data

getLimit() 공개 메소드

public getLimit ( ) : integer
리턴 integer number of items in the new page

getNewPageIndex() 공개 메소드

public getNewPageIndex ( ) : integer
리턴 integer the zero-based index of the new page

getOffset() 공개 메소드

public getOffset ( ) : integer
리턴 integer offset of the first item in the new page

setData() 공개 메소드

public setData ( $value )