* @link http://www.yiiframework.com/ * @copyright Copyright © 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiWidget'); /** * CJuiProgressBar displays a progress bar widget. * * CJuiProgressBar encapsulates the {@link http://jqueryui.com/demos/progressbar/ 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'=>'js:function(event, ui) {...}',
* ),
* 'htmlOptions'=>array(
* 'style'=>'height:20px;'
* ),
* ));
*
*
* By configuring the {@link options} property, you may specify the options
* that need to be passed to the JUI progressbar plugin. Please refer to
* the {@link http://jqueryui.com/demos/progressbar/ JUI Progressbar} documentation
* for possible options (name-value pairs).
*
* @author Sebastian Thierer