Class CJuiProgressBar
CJuiProgressBar displays a progress bar widget.
CJuiProgressBar encapsulates the JUI Progressbar plugin.
To use this widget, you may insert the following code in a view:
$this->widget('zii.widgets.jui.CJuiProgressBar',array( 'value'=>75, // additional javascript options for the progress bar plugin 'options'=>array( 'change'=>new CJavaScriptExpression('function(event, ui) {...}'), ), 'htmlOptions'=>array( 'style'=>'height:20px;', ), ));
By configuring the CJuiWidget::$options
property, you may specify the options that
need to be passed to the JUI progressbar plugin. Please refer to the JUI ProgressBar documentation for possible options (name-value pairs) and
JUI
ProgressBar page for general description and demo.
- CComponent
- CBaseController
- CWidget
- CJuiWidget
- CJuiProgressBar
Package: zii\widgets\jui
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Sebastian Thierer <sebathi@gmail.com>
Since: 1.1
Located at x2engine/framework/zii/widgets/jui/CJuiProgressBar.php
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Sebastian Thierer <sebathi@gmail.com>
Since: 1.1
Located at x2engine/framework/zii/widgets/jui/CJuiProgressBar.php
public
|
getScriptFile(),
init(),
registerCoreScripts(),
registerScriptFile(),
resolvePackagePath(),
setScriptFile()
|
__construct(),
actions(),
getController(),
getId(),
getOwner(),
getViewFile(),
getViewPath(),
render(),
setId()
|
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderFile(),
renderInternal(),
widget()
|
public
string
|
$tagName | 'div' |
#
the name of the container element that contains the progress bar. Defaults to 'div'. |
public
integer
|
$value | 0 |
#
the percentage of the progress. This must be an integer between 0 and 100. Defaults to 0. |
$_scriptFile,
$cssFile,
$htmlOptions,
$options,
$scriptUrl,
$theme,
$themeUrl
|
$actionPrefix,
$skin
|
$controller,
$id,
$owner,
$viewPath
|