Detailed Description
Definition at line 16 of file TbEditableSaver.php.
Constructor & Destructor Documentation
TbEditableSaver::__construct |
( |
|
$modelClass | ) |
|
Member Function Documentation
TbEditableSaver::afterUpdate |
( |
| ) |
|
|
protected |
TbEditableSaver::beforeUpdate |
( |
| ) |
|
|
protected |
TbEditableSaver::checkErrors |
( |
| ) |
|
TbEditableSaver::error |
( |
|
$msg | ) |
|
TbEditableSaver::onAfterUpdate |
( |
|
$event | ) |
|
This event is raised after the update is performed.
- Parameters
-
CModelEvent | $event | the event parameter |
Definition at line 246 of file TbEditableSaver.php.
TbEditableSaver::onBeforeUpdate |
( |
|
$event | ) |
|
This event is raised before the update is performed.
- Parameters
-
CModelEvent | $event | the event parameter |
Definition at line 234 of file TbEditableSaver.php.
TbEditableSaver::setAttribute |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
setting new value of attribute. Attrubute name also stored in array to save only changed attributes
- Parameters
-
Definition at line 219 of file TbEditableSaver.php.
TbEditableSaver::update |
( |
| ) |
|
Member Data Documentation
TbEditableSaver::$attribute |
TbEditableSaver::$changedAttributes = array() |
|
protected |
TbEditableSaver::$errorHttpCode = 400 |
TbEditableSaver::$modelClass |
TbEditableSaver::$primaryKey |
TbEditableSaver::$scenario = 'editable' |
The documentation for this class was generated from the following file: