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
Показать файл Открыть проект

Открытые методы

Метод Описание
__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 )