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

Triggers a new callback request when a particular {@link setEventName EventName} on a control with ID given by {@link setControlID ControlID} is raised. The default action of the event on the client-side can be prevented when {@link setPreventDefaultAction PreventDefaultAction} is set to true.
부터: 3.1
상속: extends TTriggeredCallback
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
getEventName ( ) : string
getPreventDefaultAction ( ) : boolean
render ( $writer ) Registers the javascript code for initializing the active control.
setEventName ( $value ) Sets the client-side event name that fires the callback request.
setPreventDefaultAction ( $value )

보호된 메소드들

메소드 설명
getClientClassName ( ) : string
getTriggerOptions ( ) : array

메소드 상세

getClientClassName() 보호된 메소드

protected getClientClassName ( ) : string
리턴 string corresponding javascript class name for TEventTriggeredCallback.

getEventName() 공개 메소드

public getEventName ( ) : string
리턴 string The client-side event name the trigger listens to.

getPreventDefaultAction() 공개 메소드

public getPreventDefaultAction ( ) : boolean
리턴 boolean true to prevent/stop default event action.

getTriggerOptions() 보호된 메소드

protected getTriggerOptions ( ) : array
리턴 array list of timer options for client-side.

render() 공개 메소드

Registers the javascript code for initializing the active control.
public render ( $writer )

setEventName() 공개 메소드

Sets the client-side event name that fires the callback request.
public setEventName ( $value )

setPreventDefaultAction() 공개 메소드

public setPreventDefaultAction ( $value )