PHP Class 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
Since: 3.3
Inheritance: extends Prado\Web\UI\ActiveControls\TActivePanel, implements Prado\Web\UI\JuiControls\IJuiOptions, implements Prado\Web\UI\ActiveControls\ICallbackEventHandler
Afficher le fichier Open project: pradosoft/prado

Protected Properties

Свойство Type Description
$_options

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.
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.

Méthodes protégées

Méthode Description
addAttributesToRender ( $writer ) Ensure that the ID attribute is rendered and registers the javascript code for initializing the active control.
getPostBackOptions ( ) : array

Private Methods

Méthode Description
triggerClientMethod ( $method )

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

addAttributesToRender() protected méthode

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

close() public méthode

Close this dialog
public close ( )

getOptions() public méthode

Object containing defined javascript options
public getOptions ( ) : TJuiControlOptions
Résultat TJuiControlOptions

getPostBackOptions() protected méthode

protected getPostBackOptions ( ) : array
Résultat array list of callback options.

getValidEvents() public méthode

Array containing valid javascript events
public getValidEvents ( ) : array()
Résultat array()

getValidOptions() public méthode

Array containing valid javascript options
public getValidOptions ( ) : array()
Résultat array()

getWidget() public méthode

public getWidget ( ) : string
Résultat string the name of the jQueryUI widget method

getWidgetID() public méthode

public getWidgetID ( ) : string
Résultat string the clientid of the jQueryUI widget element

onOpen() public méthode

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

open() public méthode

Open this dialog
public open ( )

raiseCallbackEvent() public méthode

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

render() public méthode

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() public méthode

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

Property Details

$_options protected_oe property

protected $_options