PHP Class 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
Since: 3.3
Inheritance: extends Prado\Web\UI\TControl, implements Prado\Web\UI\ActiveControls\ICallbackEventHandler, implements Prado\Web\UI\ActiveControls\IActiveControl
ファイルを表示 Open project: pradosoft/prado

Public Methods

Method Description
__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 )

Method Details

__construct() public method

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 method

public getActiveControl ( ) : TBaseActiveCallbackControl
return TBaseActiveCallbackControl standard callback control options.

getPostBackOptions() public method

Array containing defined javascript options
public getPostBackOptions ( ) : array
return array

getText() public method

public getText ( ) : string
return string caption of the button

onClick() public method

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

raiseCallbackEvent() public method

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

setText() public method

public setText ( $value )