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
파일 보기 프로젝트 열기: pradosoft/prado

보호된 프로퍼티들

프로퍼티 타입 설명
$_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