* @link http://www.yiiframework.com/ * @copyright 2008-2013 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiWidget'); /** * CJuiDroppable displays a droppable widget. * * CJuiDroppable encapsulates the {@link http://jqueryui.com/droppable/ JUI Droppable} * plugin. * * To use this widget, you may insert the following code in a view: *
* $this->beginWidget('zii.widgets.jui.CJuiDroppable',array(
* // additional javascript options for the droppable plugin
* 'options'=>array(
* 'scope'=>'myScope',
* ),
* ));
* echo 'Your droppable content here';
*
* $this->endWidget();
*
*
*
* By configuring the {@link options} property, you may specify the options
* that need to be passed to the JUI Droppable plugin. Please refer to
* the {@link http://api.jqueryui.com/droppable/ JUI Droppable API} documentation
* for possible options (name-value pairs) and
* {@link http://jqueryui.com/droppable/ JUI Droppable page} for general
* description and demo.
*
* @author Sebastian Thierer