Class CJuiDroppable
CJuiDroppable displays a droppable widget.
CJuiDroppable encapsulates the 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 CJuiWidget::$options
property, you may specify the options that
need to be passed to the JUI Droppable plugin. Please refer to the JUI Droppable API documentation for possible options (name-value pairs) and
JUI
Droppable page for general description and demo.
- CComponent
- CBaseController
- CWidget
- CJuiWidget
- CJuiDroppable
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/CJuiDroppable.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/CJuiDroppable.php
public
|
|
public
|
getScriptFile(),
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 HTML tag name of the Droppable element. Defaults to 'div'. |
$_scriptFile,
$cssFile,
$htmlOptions,
$options,
$scriptUrl,
$theme,
$themeUrl
|
$actionPrefix,
$skin
|
$controller,
$id,
$owner,
$viewPath
|