PHP 클래스 Prado\Web\UI\JuiControls\TJuiDialogButton

This button must be child of a TJuiDialog. It can be used to bind an callback to the buttons of the dialog. * > Text
부터: 3.3
상속: extends Prado\Web\UI\TControl, implements Prado\Web\UI\ActiveControls\ICallbackEventHandler, implements Prado\Web\UI\ActiveControls\IActiveControl
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
__construct ( ) Creates a new callback control, sets the adapter to TActiveControlAdapter. If you override this class, be sure to set the adapter appropriately by, for example, by calling this constructor.
getActiveControl ( ) : TBaseActiveCallbackControl
getPostBackOptions ( ) : array Array containing defined javascript options
getText ( ) : string
onClick ( object $params ) Raises the OnClick event
raiseCallbackEvent ( $param ) Raises callback event.
setText ( $value )

메소드 상세

__construct() 공개 메소드

Creates a new callback control, sets the adapter to TActiveControlAdapter. If you override this class, be sure to set the adapter appropriately by, for example, by calling this constructor.
public __construct ( )

getActiveControl() 공개 메소드

public getActiveControl ( ) : TBaseActiveCallbackControl
리턴 TBaseActiveCallbackControl standard callback control options.

getPostBackOptions() 공개 메소드

Array containing defined javascript options
public getPostBackOptions ( ) : array
리턴 array

getText() 공개 메소드

public getText ( ) : string
리턴 string caption of the button

onClick() 공개 메소드

Raises the OnClick event
public onClick ( object $params )
$params object event parameters

raiseCallbackEvent() 공개 메소드

raises the appropriate event(s) (e.g. OnClick)
public raiseCallbackEvent ( $param )

setText() 공개 메소드

public setText ( $value )