PHP 클래스 Prado\Web\UI\ActiveControls\TBaseActiveControl

The {@link setEnableUpdate EnableUpdate} property determines wether the active control is allowed to update the contents of the client-side when the callback response returns.
부터: 3.1
상속: extends Prado\TComponent
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
__construct ( $control ) Constructor. Attach a base active control to an active control instance.
canUpdateClientSide ( $bDontRequireVisibility = false ) : boolean Returns true if callback response is allowed to update the browser contents.
getEnableUpdate ( ) : boolean
setEnableUpdate ( $value )

보호된 메소드들

메소드 설명
getControl ( ) : TControl
getOption ( $name, $default = null ) : mixed Gets an option named value. Options are used to store and retrive named values for the base active controls.
getOptions ( ) : TMap
getPage ( ) : TPage
setOption ( $name, $value, $default = null ) : mixed Sets a named options with a value. Options are used to store and retrive named values for the base active controls.

메소드 상세

__construct() 공개 메소드

Constructor. Attach a base active control to an active control instance.
public __construct ( $control )

canUpdateClientSide() 공개 메소드

Is is true if the control is initilized, and is a callback request and the {@link setEnableUpdate EnableUpdate} property is true and the page is not loading post data.
public canUpdateClientSide ( $bDontRequireVisibility = false ) : boolean
리턴 boolean true if the callback response is allowed update client-side contents.

getControl() 보호된 메소드

protected getControl ( ) : TControl
리턴 Prado\Web\UI\TControl the attached control.

getEnableUpdate() 공개 메소드

public getEnableUpdate ( ) : boolean
리턴 boolean true to allow fine grain callback updates.

getOption() 보호된 메소드

Gets an option named value. Options are used to store and retrive named values for the base active controls.
protected getOption ( $name, $default = null ) : mixed
리턴 mixed options value.

getOptions() 보호된 메소드

protected getOptions ( ) : TMap
리턴 Prado\Collections\TMap active control options

getPage() 보호된 메소드

protected getPage ( ) : TPage
리턴 TPage the page containing the attached control.

setEnableUpdate() 공개 메소드

public setEnableUpdate ( $value )

setOption() 보호된 메소드

Sets a named options with a value. Options are used to store and retrive named values for the base active controls.
protected setOption ( $name, $value, $default = null ) : mixed
리턴 mixed options value.