Xataface 2.0
Xataface Application Framework
Public Member Functions
dataface_actions_ajax_save Class Reference

An AJAX action that saves some values to a record. More...

Public Member Functions

 handle ($params)
 out ($params)

Detailed Description

An AJAX action that saves some values to a record.

POST Parameters

Parameters:
String--record_id The record ID of the record to save.
Other Parameters

The values that you want to save should be passed directly as POST variables with the column names as the key and the value to save as the value.

Returns:
JSON data structure with:
 {
                code: <int>,   // The status code.  200 for success.
                message: <string>,  // The status message
                recordId: <string>, // The record id of the record after save.  Only on success.
 }

Definition at line 25 of file ajax_save.php.


Member Function Documentation

handle ( params)

Definition at line 27 of file ajax_save.php.

out ( params)

Definition at line 79 of file ajax_save.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations