PHP 클래스 Prado\Web\UI\TControlAdapter

TControlAdapter is the base class for adapters that customize various behaviors for the control to which the adapter is attached.
부터: 3.0
저자: Qiang Xue ([email protected])
상속: extends Prado\TApplicationComponent
파일 보기 프로젝트 열기: pradosoft/prado 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_control the control to which the adapter is attached

공개 메소드들

메소드 설명
__construct ( $control ) Constructor.
createChildControls ( ) Creates child controls for the attached control.
getControl ( ) : TControl
getPage ( ) : TPage
loadState ( ) Loads additional persistent control state.
onInit ( $param ) This method is invoked when the control enters 'OnInit' stage.
onLoad ( $param ) This method is invoked when the control enters 'OnLoad' stage.
onPreRender ( $param ) This method is invoked when the control enters 'OnPreRender' stage.
onUnload ( $param ) This method is invoked when the control enters 'OnUnload' stage.
render ( $writer ) This method is invoked when the control renders itself.
renderChildren ( $writer ) Renders the control's children.
saveState ( ) Saves additional persistent control state.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( $control )

createChildControls() 공개 메소드

Default implementation calls the attached control's corresponding method.
public createChildControls ( )

getControl() 공개 메소드

public getControl ( ) : TControl
리턴 TControl the control to which this adapter is attached

getPage() 공개 메소드

public getPage ( ) : TPage
리턴 TPage the page that contains the attached control

loadState() 공개 메소드

Default implementation calls the attached control's corresponding method.
public loadState ( )

onInit() 공개 메소드

Default implementation calls the attached control's corresponding method.
public onInit ( $param )

onLoad() 공개 메소드

Default implementation calls the attached control's corresponding method.
public onLoad ( $param )

onPreRender() 공개 메소드

Default implementation calls the attached control's corresponding method.
public onPreRender ( $param )

onUnload() 공개 메소드

Default implementation calls the attached control's corresponding method.
public onUnload ( $param )

render() 공개 메소드

Default implementation calls the attached control's corresponding method.
public render ( $writer )

renderChildren() 공개 메소드

Default implementation calls the attached control's corresponding method.
public renderChildren ( $writer )

saveState() 공개 메소드

Default implementation calls the attached control's corresponding method.
public saveState ( )

프로퍼티 상세

$_control 보호되어 있는 프로퍼티

the control to which the adapter is attached
protected $_control