Class CJuiWidget
This is the base class for all JUI widget classes.
- CComponent
- CBaseController
- CWidget
- CJuiWidget
Direct known subclasses
CJuiAccordion, CJuiDialog, CJuiTabs, SortableWidgets, CJuiDraggable, CJuiDroppable, CJuiInputWidget, CJuiProgressBar, CJuiResizable, CJuiSelectable, CJuiSlider, CJuiSortablePackage: zii\widgets\jui
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Sebastian Thierer <sebathi@gmail.com>
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.1
Located at x2engine/framework/zii/widgets/jui/CJuiWidget.php
public
|
|
public
|
|
public
|
|
protected
|
#
resolvePackagePath( )
Determine the JUI package installation path. This method will identify the JavaScript root URL and theme root URL. If they are not explicitly specified, it will publish the included JUI package and use that to resolve the needed paths. |
protected
|
#
registerCoreScripts( )
Registers the core script files. This method registers jquery and JUI JavaScript files and the theme CSS file. |
protected
|
#
registerScriptFile( string $fileName, integer $position =
Registers a JavaScript file under |
__construct(),
actions(),
getController(),
getId(),
getOwner(),
getViewFile(),
getViewPath(),
render(),
run(),
setId()
|
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderFile(),
renderInternal(),
widget()
|
public
string
|
$scriptUrl |
|
#
the root URL that contains all JUI JavaScript files. If this property is not set (default), Yii will publish the JUI package included in the zii release and use that to infer the root script URL. You should set this property if you intend to use a JUI package whose version is different from the one included in zii. Note that under this URL, there must be a file whose name is specified by scriptFile. Do not append any slash character to the URL. |
public
string
|
$themeUrl |
|
#
the root URL that contains all JUI theme folders. If this property is not set
(default), Yii will publish the JUI package included in the zii release and use
that to infer the root theme URL. You should set this property if you intend to
use a theme that is not found in the JUI package included in zii. Note that
under this URL, there must be a directory whose name is specified by |
public
string
|
$theme | 'base' |
#
the JUI theme name. Defaults to 'base'. Make sure that under |
protected
mixed
|
$_scriptFile |
|
|
public
mixed
|
$cssFile | 'jquery-ui.css' |
#
the theme CSS file name. Defaults to 'jquery-ui.css'. Note the file must
exist under the URL specified by |
public
array
|
$options | array() |
#
the initial JavaScript options that should be passed to the JUI plugin. |
public
array
|
$htmlOptions | array() |
#
the HTML attributes that should be rendered in the HTML tag representing the JUI widget. |
$actionPrefix,
$skin
|
$controller,
$id,
$owner,
$viewPath
|