Overview

Packages

  • application
    • commands
    • components
      • actions
      • filters
      • leftWidget
      • permissions
      • sortableWidget
      • util
      • webupdater
      • x2flow
        • actions
        • triggers
      • X2GridView
      • X2Settings
    • controllers
    • models
      • embedded
    • modules
      • accounts
        • controllers
        • models
      • actions
        • controllers
        • models
      • calendar
        • controllers
        • models
      • charts
        • models
      • contacts
        • controllers
        • models
      • docs
        • components
        • controllers
        • models
      • groups
        • controllers
        • models
      • marketing
        • components
        • controllers
        • models
      • media
        • controllers
        • models
      • mobile
        • components
      • opportunities
        • controllers
        • models
      • products
        • controllers
        • models
      • quotes
        • controllers
        • models
      • services
        • controllers
        • models
      • template
        • models
      • users
        • controllers
        • models
      • workflow
        • controllers
        • models
      • x2Leads
        • controllers
        • models
  • Net
  • None
  • PHP
  • system
    • base
    • caching
      • dependencies
    • collections
    • console
    • db
      • ar
      • schema
        • cubrid
        • mssql
        • mysql
        • oci
        • pgsql
        • sqlite
    • i18n
      • gettext
    • logging
    • test
    • utils
    • validators
    • web
      • actions
      • auth
      • filters
      • form
      • helpers
      • renderers
      • services
      • widgets
        • captcha
        • pagers
  • Text
    • Highlighter
  • zii
    • behaviors
    • widgets
      • grid
      • jui

Classes

  • CJuiAccordion
  • CJuiAutoComplete
  • CJuiButton
  • CJuiDatePicker
  • CJuiDialog
  • CJuiDraggable
  • CJuiDroppable
  • CJuiInputWidget
  • CJuiProgressBar
  • CJuiResizable
  • CJuiSelectable
  • CJuiSlider
  • CJuiSliderInput
  • CJuiSortable
  • CJuiTabs
  • CJuiWidget
  • Overview
  • Package
  • Class
  • Tree

Class CJuiInputWidget

CJuiInputWidget is the base class for JUI widgets that can collect user input.

CComponent
Extended by CBaseController
Extended by CWidget
Extended by CJuiWidget
Extended by CJuiInputWidget

Direct known subclasses

CJuiAutoComplete, CJuiButton, CJuiDatePicker, CJuiSliderInput
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
Methods summary
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.

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.

Parameters

$nameProperty
string
$nameProperty class property name which holds element name to be used. This parameter is available since 1.1.14.
$attributeProperty
string
$attributeProperty class property name which holds model attribute name to be used. This parameter is available since 1.1.14.

Returns

array
name and ID of the input: array('name','id').

Throws

CException
in case model and attribute property or name property cannot be resolved.
protected boolean
# hasModel( )

Returns

boolean
whether this widget is associated with a data model.
Methods inherited from CJuiWidget
getScriptFile(), init(), registerCoreScripts(), registerScriptFile(), resolvePackagePath(), setScriptFile()
Methods inherited from CWidget
__construct(), actions(), getController(), getId(), getOwner(), getViewFile(), getViewPath(), render(), run(), setId()
Methods inherited from CBaseController
beginCache(), beginClip(), beginContent(), beginWidget(), createWidget(), endCache(), endClip(), endContent(), endWidget(), renderFile(), renderInternal(), widget()
Methods inherited from CComponent
__call(), __get(), __isset(), __set(), __unset(), asa(), attachBehavior(), attachBehaviors(), attachEventHandler(), canGetProperty(), canSetProperty(), detachBehavior(), detachBehaviors(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), getEventHandlers(), hasEvent(), hasEventHandler(), hasProperty(), raiseEvent()
Properties summary
public CModel $model
#

the data model associated with this widget.

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.

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 CJuiInputWidget::$model is not set.

the input name. This must be set if CJuiInputWidget::$model is not set.

public string $value
#

the input value.

the input value.

Properties inherited from CJuiWidget
$_scriptFile, $cssFile, $htmlOptions, $options, $scriptUrl, $theme, $themeUrl
Properties inherited from CWidget
$actionPrefix, $skin
Magic properties inherited from CWidget
$controller, $id, $owner, $viewPath
API documentation generated by ApiGen 2.8.0