Ajax server-side function wrapper.
Class Function( dry )
| dry | Just create a descriptive instance. |
| Properties | |
| dry | |
| errorMap | |
| headerFilter | |
| maxAge | |
| name | |
| originFilter | |
| parameters | |
| zipReply | |
| Methods | |
| error | Generats a dictionary that can be sent as an error report. |
| paramNames | Returns a list of names the parameters of this AJAX function. |
| run | Method implementing the functionalities of this AJAX function. |
| setup | |
Generats a dictionary that can be sent as an error report.
error( id, [detail] )
| id | The error ID |
| detail | Detail to be added to the error description. |
Returns a dictionary containing the following entries:
Returns a list of names the parameters of this AJAX function.
paramNames()
| Return | A list of parameter names. |
Method implementing the functionalities of this AJAX function.
run()
| Return | A dictionary of key-value objects to be sent as ajax values. |
setup()