Spyderserve Web Development

Category: Spyderserve Application Service (SAS)

SAS moduleTpl Function

_module->moduleTpl($filename, $variables) Description Builds a list from an array of data Variables Name Required Description Type Values Default $filename Yes File path from template/ directory in module string $variables Yes array of variables with name as key array Result This function returns a string of the template file contents.

SAS obSubmit Function

obSubmit(object, module, action, method) Description Used to submit a request or data to the server and then handles return Variables Name Required Description Type Values Default object Yes The object that the result is applied to based on the stated method DOM Object module Yes The referencing Module ID int action  Yes The display or […]

SAS replaceView Function

_module->replaceView($modID, $query) Description Completely replaced the current view with a new view determined by the Query string. Variables Name Required Description Type Values Default $modID No Module ID of referenced module int Current MOD_ID $query No Query String for Requested Module string ”  

SAS buildList Function

_module->buildList($array) Description Builds a list from an array of data Variables Name Required Description Type Values Default $array[‘sortable’] No if set to ” (blank) then enables sorting but does not fire any javascript function.  Set this variable to the javascript function to do something after each sort action. Use with javascript function saveListOrder. (Added in […]

SAS query Function

_app->query($array) Description Used to query the tables in the database. Variables Name Required Description Type Values Default $array[‘query’]  Yes  Written Query Statement with :name format for variables string $array[‘var’]  Array of variables to be added to query statement.  Key is in :name format. array $array[‘type’]  No On a select statement to decide if the function […]

Spyderserve  PO Box 5831 Valdosta, Georgia 31603 United States