Class WhEditableSaver
WhEditableColumn class
Helps to update model by editable widget submit request.
- CComponent
-
WhEditableSaver
Package: YiiWheels\widgets\editable
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/WhEditableSaver.php
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/WhEditableSaver.php
Methods summary
public
EditableBackend
|
|
public
|
|
public
|
|
public
|
|
public
|
#
setAttribute( mixed $name, mixed $value )
setting new value of attribute. Attrubute name also stored in array to save only changed attributes |
public
|
|
public
|
|
protected
|
|
protected
|
Magic methods summary
Properties summary
public
mixed
|
$scenario |
#
scenario used in model for update. Can be taken from |
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
mixed
|
$value |
#
new value of attribute |
public
integer
|
$errorHttpCode |
#
http status code returned in case of error |
protected
mixed
|
$changedAttributes |
#
name of changed attributes. Used when saving model |