PHP 클래스 Prado\Web\UI\WebControls\TDataGridPagerStyle

TDataGridPagerStyle specifies the styles available for a datagrid pager.
부터: 3.0
저자: Qiang Xue ([email protected])
상속: extends TPanelStyle
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
copyFrom ( $style ) Copies the fields in a new style to this style.
getButtonType ( ) : TDataGridPagerButtonType
getFirstPageText ( ) : string
getLastPageText ( ) : string
getMode ( ) : TDataGridPagerMode
getNextPageText ( ) : string
getPageButtonCount ( ) : integer
getPosition ( ) : TDataGridPagerPosition
getPrevPageText ( ) : string
getVisible ( ) : boolean
mergeWith ( $style ) Merges the style with a new one.
reset ( ) Resets the style to the original empty state.
setButtonType ( $value )
setFirstPageText ( $value )
setLastPageText ( $value )
setMode ( $value )
setNextPageText ( $value )
setPageButtonCount ( $value )
setPosition ( $value )
setPrevPageText ( $value )
setVisible ( $value )

보호된 메소드들

메소드 설명
_getZappableSleepProps ( &$exprops ) Returns an array with the names of all variables of this object that should NOT be serialized because their value is the default one or useless to be cached for the next page loads.

메소드 상세

_getZappableSleepProps() 보호된 메소드

Reimplement in derived classes to add new variables, but remember to also to call the parent implementation first.
protected _getZappableSleepProps ( &$exprops )

copyFrom() 공개 메소드

If a style field is set in the new style, the corresponding field in this style will be overwritten.
public copyFrom ( $style )

getButtonType() 공개 메소드

public getButtonType ( ) : TDataGridPagerButtonType
리턴 TDataGridPagerButtonType the type of command button. Defaults to TDataGridPagerButtonType::LinkButton.

getFirstPageText() 공개 메소드

public getFirstPageText ( ) : string
리턴 string text for the first page button. Defaults to '<<'.

getLastPageText() 공개 메소드

public getLastPageText ( ) : string
리턴 string text for the last page button. Defaults to '>>'.

getMode() 공개 메소드

public getMode ( ) : TDataGridPagerMode
리턴 TDataGridPagerMode pager mode. Defaults to TDataGridPagerMode::NextPrev.

getNextPageText() 공개 메소드

public getNextPageText ( ) : string
리턴 string text for the next page button. Defaults to '>'.

getPageButtonCount() 공개 메소드

public getPageButtonCount ( ) : integer
리턴 integer maximum number of pager buttons to be displayed. Defaults to 10.

getPosition() 공개 메소드

public getPosition ( ) : TDataGridPagerPosition
리턴 TDataGridPagerPosition where the pager is to be displayed. Defaults to TDataGridPagerPosition::Bottom.

getPrevPageText() 공개 메소드

public getPrevPageText ( ) : string
리턴 string text for the previous page button. Defaults to '<'.

getVisible() 공개 메소드

public getVisible ( ) : boolean
리턴 boolean whether the pager is visible. Defaults to true.

mergeWith() 공개 메소드

If a style field is not set in this style, it will be overwritten by the new one.
public mergeWith ( $style )

reset() 공개 메소드

Resets the style to the original empty state.
public reset ( )

setButtonType() 공개 메소드

public setButtonType ( $value )

setFirstPageText() 공개 메소드

public setFirstPageText ( $value )

setLastPageText() 공개 메소드

public setLastPageText ( $value )

setMode() 공개 메소드

public setMode ( $value )

setNextPageText() 공개 메소드

public setNextPageText ( $value )

setPageButtonCount() 공개 메소드

public setPageButtonCount ( $value )

setPosition() 공개 메소드

public setPosition ( $value )

setPrevPageText() 공개 메소드

public setPrevPageText ( $value )

setVisible() 공개 메소드

public setVisible ( $value )