HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
TbEditableField Class Reference
Inheritance diagram for TbEditableField:
Collaboration diagram for TbEditableField:

Public Member Functions

 init ()
 getSelector ()
- Public Member Functions inherited from TbEditable
 buildHtmlOptions ()
 buildJsOptions ()
 registerClientScript ()
 run ()
 renderLink ()
 renderText ()

Static Public Member Functions

static isMongo ($model)
static resolveModels ($model, $attribute)
- Static Public Member Functions inherited from TbEditable
static isAutotext ($options, $type)
static source ($models, $valueField='', $textField='', $groupField='', $groupTextField='')
static attachAjaxUpdateEvent ($widget)

Public Attributes

 $model = null
 $attribute = null
- Public Attributes inherited from TbEditable
 $type = null
 $url = null
 $pk = null
 $name = null
 $params = null
 $inputclass = null
 $mode = null
 $text = null
 $value = null
 $placement = null
 $emptytext = null
 $showbuttons = null
 $send = null
 $disabled = false
 $source = null
 $format = null
 $viewformat = null
 $template = null
 $combodate = null
 $viewseparator = null
 $select2 = null
 $validate = null
 $success = null
 $display = null
 $liveTarget = null
 $liveSelector = null
 $onInit
 $onShown
 $onSave
 $onHidden
 $options = array()
 $htmlOptions = array()
 $encode = true
 $apply = null
 $title = null
 $themeUrl
 $theme = 'base'
 $cssFile = 'jquery-ui.css'

Private Attributes

 $staticModel = null

Additional Inherited Members

- Protected Member Functions inherited from TbEditable
 registerJQueryUI ()
- Protected Attributes inherited from TbEditable
 $_prepareToAutotext = false

Detailed Description

Definition at line 18 of file TbEditableField.php.

Member Function Documentation

TbEditableField::getSelector ( )

Reimplemented from TbEditable.

Definition at line 160 of file TbEditableField.php.

TbEditableField::init ( )

initialization of widget

Reimplemented from TbEditable.

Definition at line 40 of file TbEditableField.php.

Here is the call graph for this function:

static TbEditableField::isMongo (   $model)
static

Checks is model is instance of mongo model see: http://www.yiiframework.com/extension/yiimongodbsuite

Parameters
mixed$model
Returns
bool

Definition at line 173 of file TbEditableField.php.

Here is the caller graph for this function:

static TbEditableField::resolveModels (   $model,
  $attribute 
)
static

Resolves model and returns array of values:

  • staticModel: static class of model, need for checki safety of attribute
  • real model: containing attribute. Can be null
  • attribute: it will be without dots for activerecords
Parameters
mixed$model
mixed$attribute

Definition at line 187 of file TbEditableField.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

TbEditableField::$attribute = null

Definition at line 27 of file TbEditableField.php.

TbEditableField::$model = null

Definition at line 23 of file TbEditableField.php.

TbEditableField::$staticModel = null
private

Definition at line 34 of file TbEditableField.php.


The documentation for this class was generated from the following file: