Commit a6e8dad9 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Store.php: _GET['s'] and _POST['s'] will be saved during initialization to...

Store.php: _GET['s'] and _POST['s'] will be saved during initialization to check later, if the call is for 'form load' for 'form save'.
parent 892d3618
......@@ -8,6 +8,9 @@
const QFQ_INI = "qfq.ini"; // QFQ configuration file: db access
const FORM_LOAD = 'form_load';
const FORM_SAVE = 'form_save';
// Sanatize Classifier
const SANATIZE_ALNUMX = "alnumx";
const SANATIZE_DIGIT = "digit";
......@@ -23,12 +26,13 @@ const ROW_EMPTY_IS_OK = "empty_is_ok";
// QFQ Error Codes
const ERROR_UNKNOW_SANATIZE_CLASS = 1001;
const ERROR_OPEN_DATABASE = 1002;
// 1003;
const ERROR_CODE_SHOULD_NOT_HAPPEN = 1003;
const ERROR_VALUE_ALREADY_CODPIED = 1004;
// 1005
const ERROR_MISSING_FORM_NAME = 1006;
const ERROR_IN_SQL_STATEMENT = 1007;
const ERROR_READ_FILE = 1008;
// DB Errors
//const ERROR_DB_QUERY_SIMPLE = 2000;
const ERROR_DB_GENERIC_CHECK = 2001;
......@@ -64,6 +68,9 @@ const CLIENT_PAGE_ID = 'pageId';
const CLIENT_PAGE_TYPE = 'pageType';
const CLIENT_PAGE_LANGUAGE = 'pageLanguage';
const CLIENT_GET_SIP = 'getSip';
const CLIENT_POST_SIP = 'postSip';
// T3 Bodytext Keywords
const T3_BODYTEXT_FORM = CLIENT_FORM;
const T3_BODYTEXT_DEBUG_LOAD = 'debugLoad';
......@@ -78,15 +85,16 @@ const SYSTEM_TESTDB = 'TESTDB';
const SYSTEM_SESSIONNAME = 'SESSIONNAME';
const SYSTEM_DBH = 'dataBaseHandle';
const SYSTEM_FORM = CLIENT_FORM; // Final form to process.
const SYSTEM_FORM_ELEMENT = 'formElement'; // Formelement which are processed at the moment. Useful for error reporting.
const SYSTEM_FORM_ELEMENT_FIELD = 'formElementField'; // Fieldname of processed Formelement. Useful for error reporting.
const SYSTEM_SQL_RAW = 'sqlRaw'; // SQL Query (before substitute). Useful for error reporting.
const SYSTEM_SQL_FINAL = 'sqlFinal'; // SQL Query (after substitute). Useful for error reporting.
const SYSTEM_SQL_COUNT = 'sqlCount'; // Number of rows in SQL ResultSet. Useful for error reporting.
// die folgenden Elemente sind vermutlich nicht noetig, wenn Store Klassen gloable Vars benutzt.
//const SYSTEM_FORM_DEF = 'formDefinition'; // Type: SANATIZE_ALNUMX / AssocArray. Final form to process. Useful for error reporting.
//const SYSTEM_FORM_ELEMENT_DEF = 'formElementDefinition'; // Type: SANATIZE_ALL / AssocArray. Formelement which are processed at the moment. Useful for error reporting.
//const SYSTEM_FORM_ELEMENT_FIELD = 'formElementField'; // Type: SANATIZE_ALNUMX / String. Fieldname of processed Formelement. Useful for error reporting.
const SYSTEM_SQL_RAW = 'sqlRaw'; // Type: SANATIZE_ALL / String. SQL Query (before substitute). Useful for error reporting.
const SYSTEM_SQL_FINAL = 'sqlFinal'; // Type: SANATIZE_ALL / String. SQL Query (after substitute). Useful for error reporting.
const SYSTEM_SQL_COUNT = 'sqlCount'; // Type: SANATIZE_DIGIT / Int.Number of rows in SQL ResultSet. Useful for error reporting.
// FORM - copy from table 'form' of processed form
const DEF_FORM_NAME = CLIENT_FORM;
//const DEF_FORM_NAME = CLIENT_FORM;
// FORMELEMENT - copy of all formElements of processed form
const DEF_FORM_ELEMENT_ID = 'id';
\ No newline at end of file
//const DEF_FORM_ELEMENT_ID = 'id';
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment