Page content record > bodytext const STORE_ZERO = "0"; // value: 0, might helpfull if variable is empty but used in an SQL statement, which might produce a SQL error otherwise if substituted with an empty string const STORE_SYSTEM = "Y"; // various system values like db connection credentials const STORE_USE_DEFAULT = "FSRD"; // // Store: Definitions / Members // // URL variables const CLIENT_FORM = 'form'; const CLIENT_SIP = 's'; const CLIENT_RECORD_ID = 'r'; const CLIENT_KEY_SEM_ID = 'keySemId'; const CLIENT_KEY_SEM_ID_USER = 'keySemIdUser'; const CLIENT_PAGE_ID = 'id'; const CLIENT_PAGE_TYPE = 'type'; const CLIENT_PAGE_LANGUAGE = 'L'; // ALL $_SERVER variables: http://php.net/manual/en/reserved.variables.server.php // The following exist and might be the most used ones. const CLIENT_SCRIPT_URL = 'SCRIPT_URL'; const CLIENT_SCRIPT_URI = 'SCRIPT_URI'; const CLIENT_HTTP_HOST = 'HTTP_HOST'; const CLIENT_HTTP_USER_AGENT = 'HTTP_USER_AGENT'; const CLIENT_SERVER_NAME = 'SERVER_NAME'; const CLIENT_SERVER_ADDRESS = 'SERVER_ADDRESS'; const CLIENT_SERVER_PORT = 'SERVER_PORT'; const CLIENT_REMOTE_ADDRESS = 'REMOTE_ADDRESS'; const CLIENT_REQUEST_SCHEME = 'REQUEST_SCHEME'; const CLIENT_SCRIPT_FILENAME = 'SCRIPT_FILENAME'; const CLIENT_QUERY_STRING = 'QUERY_STRING'; const CLIENT_REQUEST_URI = 'REQUEST_URI'; const CLIENT_SCRIPT_NAME = 'SCRIPT_NAME'; const CLIENT_PHP_SELF = 'PHP_SELF'; // T3 Bodytext Keywords const TYPO3_FORM = CLIENT_FORM; const TYPO3_DEBUG_LOAD = 'debugLoad'; const TYPO3_DEBUG_SAVE = 'debugSave'; const TYPO3_FE_USER = 'feUser'; const TYPO3_FE_USER_UID = 'feUserUid'; const TYPO3_FE_USER_GROUP = 'feUserGroup'; const TYPO3_TT_CONTENT_UID = 'ttcontentUid'; const TYPO3_PAGE_ID = 'typo3PageId'; const TYPO3_PAGE_TYPE = 'typo33PageType'; // System const SYSTEM_DB_USER = 'DB_USER'; const SYSTEM_DB_SERVER = 'DB_SERVER'; const SYSTEM_DB_PASSWORD = 'DB_PASSWORD'; const SYSTEM_DB_NAME = 'DB_NAME'; const SYSTEM_DB_NAME_TEST = 'DB_NAME_TEST'; const SYSTEM_SESSION_NAME = 'SESSION_NAME'; const SYSTEM_SQL_LOG = 'SQL_LOG'; // Logging to file const SYSTEM_SQL_LOG_MODE = 'SQL_LOG_MODE'; // Mode, which statements to log. const SYSTEM_SHOW_DEBUG_INFO = 'SHOW_DEBUG_INFO'; const SYSTEM_CSS_LINK_CLASS_INTERNAL = 'CSS_LINK_CLASS_INTERNAL'; const SYSTEM_CSS_LINK_CLASS_EXTERNAL = 'CSS_LINK_CLASS_EXTERNAL'; // computed automatically during runtime const SYSTEM_PATH_EXT = 'EXT_PATH'; // Information for: Log / Debug / Exception const SYSTEM_SQL_RAW = 'sqlRaw'; // Type: SANITIZE_ALL / String. SQL Query (before substitute). Useful for error reporting. const SYSTEM_SQL_FINAL = 'sqlFinal'; // Type: SANITIZE_ALL / String. SQL Query (after substitute). Useful for error reporting. const SYSTEM_SQL_COUNT = 'sqlCount'; // Type: SANITIZE_DIGIT / Int.Number of rows in SQL ResultSet. Useful for error reporting. const SYSTEM_SQL_PARAM_ARRAY = 'sqlParamArray'; // Type: SANITIZE_ALL / Parameter of prepared SQL Statement. Useful for error reporting. const SYSTEM_FORM = CLIENT_FORM; // ' / ' const SYSTEM_FORM_ELEMENT = 'formElement'; // ' / ' const SYSTEM_FORM_ELEMENT_COLUMN = 'formElementColumn'; // '' const SYSTEM_FORM_ELEMENT_MESSAGE = 'formElementMessage'; // '' // die folgenden Elemente sind vermutlich nicht noetig, wenn Store Klassen gloable Vars benutzt. //const SYSTEM_FORM_DEF = 'formDefinition'; // Type: SANITIZE_ALNUMX / AssocArray. Final form to process. Useful for error reporting. //const SYSTEM_FORM_ELEMENT_DEF = 'formElementDefinition'; // Type: SANITIZE_ALL / AssocArray. Formelement which are processed at the moment. Useful for error reporting. //const SYSTEM_FORM_ELEMENT_FIELD = 'formElementField'; // Type: SANITIZE_ALNUMX / String. Fieldname of processed Formelement. Useful for error reporting. const SIP_SIP = CLIENT_SIP; // s const SIP_RECORD_ID = CLIENT_RECORD_ID; // r const SIP_FORM = CLIENT_FORM; const SIP_TABLE = 'table'; // delete a record from 'table' const SIP_URLPARAM = 'urlparam'; // FURTHER: all extracted params from 'urlparam // FORM - copy from table 'form' of processed form //const DEF_FORM_NAME = CLIENT_FORM; // FORMELEMENT - copy of all formElements of processed form //const DEF_FORM_ELEMENT_ID = 'id'; // SQL logging Modes const SQL_LOG_MODE_ALL = 'all'; const SQL_LOG_MODE_MODIFY = 'modify'; // api/save.php, api/delete.php const API_STATUS = 'status'; const API_MESSAGE = 'message'; const API_REDIRECT = 'redirect'; const API_REDIRECT_URL = 'redirect-url'; const API_FIELD_NAME = 'field-name'; const API_FIELD_MESSAGE = 'field-message'; const API_ANSWER_STATUS_SUCCESS = 'success'; const API_ANSWER_STATUS_ERROR = 'error'; const API_ANSWER_REDIRECT_CLIENT = 'client'; const API_ANSWER_REDIRECT_NO = 'no'; const API_ANSWER_REDIRECT_URL = 'url'; // BuildForm const SYMBOL_NEW = 'new'; const SYMBOL_EDIT = 'edit'; const SYMBOL_DELETE = 'delete'; //CHECKBOX const CHECKBOX_VALUE_CHECKED = 'checked'; const CHECKBOX_VALUE_UNCHECKED = 'unchecked'; const CHECKBOX_ORIENTATION = 'orientation'; // Subrecord const SUBRECORD_COLUMN_WIDTH = 20; const FORM_ELEMENTS_NATIVE = 'native'; const FORM_ELEMENTS_SUBRECORD = 'subrecord'; const FORM_ELEMENTS_NATIVE_SUBRECORD = 'native_subrecord'; const SUBRECORD_NEW = SYMBOL_NEW; const SUBRECORD_EDIT = SYMBOL_EDIT; const SUBRECORD_DELETE = SYMBOL_DELETE; const SUBRECORD_PARAMETER_FORM = CLIENT_FORM; const SUBRECORD_PARAMETER_PAGE = 'page'; const SUBRECORD_PARAMETER_DETAIL = 'detail';