Class EditableSaver
EditableSaver class file.
This component is servar-side part for editable widgets. It performs update of one model attribute.
- CComponent
- EditableSaver
License: New BSD License
Author: Vitaliy Potapov <noginsk@rambler.ru>
Version: 1.0.0
Link: https://github.com/vitalets/yii-bootstrap-editable
Located at vitalets/yii-bootstrap-editable/EditableSaver.php
Methods summary
public
EditableBackend
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
#
setAttribute( mixed $name, mixed $value )
setting new value of attribute. Attrubute name also stored in array to save only changed attributes |
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()
Magic methods summary
Properties summary
public
mixed
|
$scenario |
#
scenarion used in model for update |
public
mixed
|
$modelClass |
#
name of model |
public
mixed
|
$primaryKey |
#
primaryKey value |
public
mixed
|
$attribute |
#
name of attribute to be updated |
public
CActiveRecord
|
$model |
#
model instance |
public
integer
|
$errorHttpCode |
#
http status code ruterned for errors |
protected
mixed
|
$changedAttributes |
#
name of changed attributes. Used when saving model |