Jump to content

Update

From NusaATK

ATK Action Handler: update
Implemented by the atkUpdateHandler class

API docs

Overview of all ATK action handlers
Alphabetical list

update action screenshot

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.