* @link http://www.yiiframework.com/ * @copyright 2008-2013 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/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'=>new CJavaScriptExpression('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://api.jqueryui.com/progressbar/ JUI ProgressBar} documentation * for possible options (name-value pairs) and * {@link http://jqueryui.com/progressbar/ JUI ProgressBar page} for general * description and demo. * * @author Sebastian Thierer