Class WhEditableField
WhEditable class
Creates editable element on page (without linking to model attribute)
- CWidget
-
WhEditable
-
WhEditableField
Copyright: Copyright © 2amigos.us 2013-
Copyright: Copyright © Vitaliy Potapov 2012
License: New BSD License
Author: Antonio Ramirez <amigo.cobos@gmail.com>
Author: Vitaliy Potapov <noginsk@rambler.ru>
Version: 1.3.1
Link: https://github.com/vitalets/x-editable-yii
Located at widgets/editable/WhEditableField.php
Methods summary
public
|
|
public
null|string
|
|
public static
boolean
|
#
isMongo( mixed $model )
Checks is model is instance of mongo model see: http://www.yiiframework.com/extension/yiimongodbsuite |
public static
array
|
#
resolveModels( mixed $model, mixed $attribute )
Resolves model and returns array of values:
|
Methods inherited from WhEditable
attachAjaxUpdateEvent()
,
buildHtmlOptions()
,
buildJsOptions()
,
isAutotext()
,
registerAssets()
,
registerClientScript()
,
renderLink()
,
renderText()
,
run()
,
source()
Magic methods summary
Properties summary
public
CActiveRecord
|
$model |
#
ActiveRecord to be updated. |
public
string
|
$attribute |
#
attribute name. |
Properties inherited from WhEditable
$_prepareToAutotext
,
$apply
,
$combodate
,
$disabled
,
$display
,
$emptytext
,
$encode
,
$format
,
$htmlOptions
,
$inputclass
,
$liveSelector
,
$liveTarget
,
$mode
,
$name
,
$onHidden
,
$onInit
,
$onSave
,
$onShown
,
$options
,
$params
,
$pk
,
$placement
,
$select2
,
$send
,
$showbuttons
,
$source
,
$success
,
$template
,
$text
,
$theme
,
$title
,
$type
,
$url
,
$validate
,
$value
,
$viewformat
,
$viewseparator