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
Afficher le fichier Open project: pradosoft/prado

Méthodes publiques

Méthode 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 méthode

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 méthode

public getActiveControl ( ) : TBaseActiveCallbackControl
Résultat TBaseActiveCallbackControl standard callback control options.

getPostBackOptions() public méthode

Array containing defined javascript options
public getPostBackOptions ( ) : array
Résultat array

getText() public méthode

public getText ( ) : string
Résultat string caption of the button

onClick() public méthode

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

raiseCallbackEvent() public méthode

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

setText() public méthode

public setText ( $value )