PHP Класс Prado\Web\UI\JuiControls\TJuiDialog

TJuiDialog is an extension to {@link TActivePanel} based on jQuery-UI's {@link http://jqueryui.com/dialog/ Dialog} widget. contents
С версии: 3.3
Наследование: extends Prado\Web\UI\ActiveControls\TActivePanel, implements Prado\Web\UI\JuiControls\IJuiOptions, implements Prado\Web\UI\ActiveControls\ICallbackEventHandler
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_options

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

Метод Описание
__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.
close ( ) Close this dialog
getOptions ( ) : TJuiControlOptions Object containing defined javascript options
getValidEvents ( ) : array() Array containing valid javascript events
getValidOptions ( ) : array() Array containing valid javascript options
getWidget ( ) : string
getWidgetID ( ) : string
onOpen ( object $params ) Raises the OnCreate event
open ( ) Open this dialog
raiseCallbackEvent ( $param ) Raises callback event. This method is required by the {@link ICallbackEventHandler} interface.
render ( $writer ) Overrides parent implementation to just render the inner contents and avoid replacing the element itself when updating clientside, because replacing/removing will cause jqueryui to fire destroy on the original dialog extension.
setGroupingText ( $value ) Rendering as a fieldset is not supported for TJuiDialog.

Защищенные методы

Метод Описание
addAttributesToRender ( $writer ) Ensure that the ID attribute is rendered and registers the javascript code for initializing the active control.
getPostBackOptions ( ) : array

Приватные методы

Метод Описание
triggerClientMethod ( $method )

Описание методов

__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 ( )

addAttributesToRender() защищенный Метод

Ensure that the ID attribute is rendered and registers the javascript code for initializing the active control.
protected addAttributesToRender ( $writer )

close() публичный Метод

Close this dialog
public close ( )

getOptions() публичный Метод

Object containing defined javascript options
public getOptions ( ) : TJuiControlOptions
Результат TJuiControlOptions

getPostBackOptions() защищенный Метод

protected getPostBackOptions ( ) : array
Результат array list of callback options.

getValidEvents() публичный Метод

Array containing valid javascript events
public getValidEvents ( ) : array()
Результат array()

getValidOptions() публичный Метод

Array containing valid javascript options
public getValidOptions ( ) : array()
Результат array()

getWidget() публичный Метод

public getWidget ( ) : string
Результат string the name of the jQueryUI widget method

getWidgetID() публичный Метод

public getWidgetID ( ) : string
Результат string the clientid of the jQueryUI widget element

onOpen() публичный Метод

Raises the OnCreate event
public onOpen ( object $params )
$params object event parameters

open() публичный Метод

Open this dialog
public open ( )

raiseCallbackEvent() публичный Метод

Raises callback event. This method is required by the {@link ICallbackEventHandler} interface.
public raiseCallbackEvent ( $param )

render() публичный Метод

Overrides parent implementation to just render the inner contents and avoid replacing the element itself when updating clientside, because replacing/removing will cause jqueryui to fire destroy on the original dialog extension.
public render ( $writer )

setGroupingText() публичный Метод

Rendering as a fieldset is not supported for TJuiDialog.
public setGroupingText ( $value )

Описание свойств

$_options защищенное свойство

protected $_options