Update: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{action}} | |||
The update action is used for saving changes to an existing record. | The update action is used for saving changes to an existing record. | ||
Revision as of 10:41, 12 February 2010
|
ATK Action Handler: update
|

The update action is used for saving changes to an existing record.
The standard handler class for the update action of a node is the atkUpdatehandler.
This handler saves an existing record to the database. The data is retrieved from the postvars. This is the action that follows an 'edit' action. The 'edit' action draws the edit form, the 'update' action saves the data to the database.
Validation of the record is performed before storage. If validation fails, the edit handler is invoked again.
Back to Actions Overview