Class CJuiInputWidget
CJuiInputWidget is the base class for JUI widgets that can collect user input.
- CComponent
- CBaseController
- CWidget
- CJuiWidget
- CJuiInputWidget
Abstract
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/CJuiInputWidget.php
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/CJuiInputWidget.php
protected
array
|
#
resolveNameID( string $nameProperty = 'name', string $attributeProperty = 'attribute' )
Resolves name and ID of the input. Source property of the name and/or source property of the attribute could be customized by specifying first and/or second parameter accordingly. |
protected
boolean
|
getScriptFile(),
init(),
registerCoreScripts(),
registerScriptFile(),
resolvePackagePath(),
setScriptFile()
|
__construct(),
actions(),
getController(),
getId(),
getOwner(),
getViewFile(),
getViewPath(),
render(),
run(),
setId()
|
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderFile(),
renderInternal(),
widget()
|
public
|
$model |
|
#
the data model associated with this widget. |
public
string
|
$attribute |
|
#
the attribute associated with this widget. The name can contain square brackets (e.g. 'name[1]') which is used to collect tabular data input. |
public
string
|
$name |
|
#
the input name. This must be set if |
public
string
|
$value |
|
#
the input value. |
$_scriptFile,
$cssFile,
$htmlOptions,
$options,
$scriptUrl,
$theme,
$themeUrl
|
$actionPrefix,
$skin
|
$controller,
$id,
$owner,
$viewPath
|