PHP Class Prado\Web\UI\JuiControls\TJuiProgressbar

TJuiProgressbar is an extension to {@link TActivePanel} based on jQuery-UI's {@link http://jqueryui.com/progressbar/ Progressbar} widget.
Since: 3.3
Inheritance: extends Prado\Web\UI\ActiveControls\TActivePanel, implements Prado\Web\UI\JuiControls\IJuiOptions, implements Prado\Web\UI\ActiveControls\ICallbackEventHandler
Mostrar archivo Open project: pradosoft/prado

Protected Properties

Property Type Description
$_options

Public Methods

Method 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.
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
onChange ( object $params ) Raises the OnChange event
onComplete ( object $params ) Raises the OnComplete event
onCreate ( object $params ) Raises the OnCreate event
raiseCallbackEvent ( $param ) Raises callback event. This method is required by the {@link ICallbackEventHandler} interface.

Protected Methods

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

Method Details

__construct() public method

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 method

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

getOptions() public method

Object containing defined javascript options
public getOptions ( ) : TJuiControlOptions
return TJuiControlOptions

getPostBackOptions() protected method

protected getPostBackOptions ( ) : array
return array list of callback options.

getValidEvents() public method

Array containing valid javascript events
public getValidEvents ( ) : array()
return array()

getValidOptions() public method

Array containing valid javascript options
public getValidOptions ( ) : array()
return array()

getWidget() public method

public getWidget ( ) : string
return string the name of the jQueryUI widget method

getWidgetID() public method

public getWidgetID ( ) : string
return string the clientid of the jQueryUI widget element

onChange() public method

Raises the OnChange event
public onChange ( object $params )
$params object event parameters

onComplete() public method

Raises the OnComplete event
public onComplete ( object $params )
$params object event parameters

onCreate() public method

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

raiseCallbackEvent() public method

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

Property Details

$_options protected_oe property

protected $_options