Functions | |
| def | response |
| def | json |
| def | ok |
| def | error |
| def | output_database |
| def | submit_item |
Variables | |
| string | json_database_path = 'apartments.js' |
| tuple | db = jsondb.load_database(json_database_path) |
| tuple | form = cgi.FieldStorage() |
| tuple | action_name = form.getvalue('action', 'noAction') |
| dictionary | action_map |
| tuple | action = action_map.get(action_name, False) |
| def public::error | ( | msg | ) |
Definition at line 29 of file public.py.
Referenced by SMWUpdateJob::run(), and SFCreatePageJob::run().
| def public::response | ( | status, | ||
| content_type, | ||||
| text | ||||
| ) |
Definition at line 17 of file public.py.
Referenced by SMWSearchByProperty::addAutoComplete(), SMWSpecialBrowse::addAutoComplete(), and SMWQueryUI::getPoSortFormBox().
| tuple public::action = action_map.get(action_name, False) |
Definition at line 57 of file public.py.
Referenced by SFFormEditPage::__construct(), SFFormStart::execute(), SFCreateClass::execute(), SFCreateCategory::execute(), SDCreateFilter::execute(), SFCreateProperty::printCreatePropertyForm(), SFRunQuery::printPage(), SDUtils::printRedirectForm(), and SFParserFunctions::renderFormInput().
| dictionary public::action_map |
| tuple public::action_name = form.getvalue('action', 'noAction') |
| tuple public::db = jsondb.load_database(json_database_path) |
| tuple public::form = cgi.FieldStorage() |
| string public::json_database_path = 'apartments.js' |
1.5.6