20.1Class Function

Ajax server-side function wrapper.

Class Function( dry )
dry Just create a descriptive instance.
Properties
dry
errorMap
headerFilter
maxAge
name
originFilter
parameters
zipReply
Methods
errorGenerats a dictionary that can be sent as an error report.
paramNamesReturns a list of names the parameters of this AJAX function.
runMethod implementing the functionalities of this AJAX function.
setup

Properties

dry

errorMap

headerFilter

maxAge

name

originFilter

parameters

zipReply

Methods

error

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:

paramNames

Returns a list of names the parameters of this AJAX function.

paramNames()
ReturnA list of parameter names.

run

Method implementing the functionalities of this AJAX function.

run()
ReturnA dictionary of key-value objects to be sent as ajax values.

setup

setup()
Made with http://www.falconpl.org