Page content record > bodytext const STORE_VAR = "V"; // Generic Vars 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_EMPTY = "E"; // value: '', might helpfull if variable is not defined and should result in an empty string instead of {{...}} (cause not replaced) const STORE_SYSTEM = "Y"; // various system values like db connection credentials const STORE_EXTRA = 'X'; // Persistent Store: contains arrays! Not Usefull for user. Used by system. 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'; const CLIENT_UPLOAD_FE_NAME = 'name'; const CLIENT_SIP_FOR_FORM = '_sipForForm'; const CLIENT_FE_NAME = '_feName'; const CLIENT_UPLOAD_FILENAME = '_filename'; // 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_RECORD_ID = CLIENT_RECORD_ID; 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 = 'pageId'; const TYPO3_PAGE_TYPE = 'pageType'; const TYPO3_PAGE_LANGUAGE = 'pageLanguage'; const TYPO3_DEBUG_SHOW_BODY_TEXT = 'debugShowBodyText'; // 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_DB_INIT = 'DB_INIT'; const SYSTEM_SQL_LOG = 'SQL_LOG'; // Logging to file const SYSTEM_SQL_LOG_MODE = 'SQL_LOG_MODE'; // Mode, which statements to log. const SYSTEM_DATE_FORMAT = 'DATE_FORMAT'; 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'; const SYSTEM_CSS_CLASS_QFQ_CONTAINER = 'CSS_CLASS_QFQ_CONTAINER'; // computed automatically during runtime const SYSTEM_PATH_EXT = 'EXT_PATH'; const SYSTEM_SITE_PATH = 'SITE_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'; // '' const SYSTEM_REPORT_COLUMN_INDEX = 'reportColumnIndex'; // Keyname of SQL-column processed at the moment. const SYSTEM_REPORT_COLUMN_NAME = 'reportColumnName'; // Keyname of SQL-column processed at the moment. const SYSTEM_REPORT_COLUMN_VALUE = 'reportColumnValue'; // Keyname of SQL-column processed at the moment. const SYSTEM_REPORT_FULL_LEVEL = 'reportFullLevel'; // Keyname of SQL-column processed at the moment. // 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 const VAR_RANDOM = 'random'; // TOKEN evaluate const TOKEN_ESCAPE_SINGLE_TICK = 's'; const TOKEN_ESCAPE_DOUBLE_TICK = 'd'; const TOKEN_FOUND_IN_STORE_QUERY = 'query'; const RANDOM_LENGTH = 32; // Report, BodyText const TOKEN_SQL = 'sql'; const TOKEN_HEAD = 'head'; const TOKEN_ALT_HEAD = 'althead'; const TOKEN_TAIL = 'tail'; const TOKEN_RBEG = 'rbeg'; const TOKEN_REND = 'rend'; const TOKEN_RENR = 'renr'; const TOKEN_RSEP = 'rsep'; const TOKEN_FBEG = 'fbeg'; const TOKEN_FEND = 'fend'; const TOKEN_FSEP = 'fsep'; const TOKEN_RBGD = 'rbgd'; const TOKEN_DEBUG = 'debug'; const TOKEN_FORM = CLIENT_FORM; const TOKEN_RECORD_ID = CLIENT_RECORD_ID; const TOKEN_DEBUG_BODYTEXT = TYPO3_DEBUG_SHOW_BODY_TEXT; const TOKEN_VALID_LIST = 'sql|head|althead|tail|rbeg|rend|renr|rsep|fbeg|fend|fsep|rbgd|debug|form|r|debugShowBodyText'; // 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, api/load.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_FORM_UPDATE = 'form-update'; const API_JSON_HIDDEN = 'hidden'; const API_JSON_DISABLED = 'disabled'; const API_JSON_REQUIRED = 'required'; const DATA_HIDDEN = 'data-hidden'; const DATA_DISABLED = 'data-disabled'; const DATA_REQUIRED = 'data-required'; 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'; const ALIGN_HORIZONTAL = 'horizontal'; const ALIGN_VERTICAL = 'vertical'; // Subrecord const SUBRECORD_COLUMN_WIDTH = 20; const FORM_ELEMENTS_NATIVE = 'native'; const FORM_ELEMENTS_SUBRECORD = 'subrecord'; const FORM_ELEMENTS_NATIVE_SUBRECORD = 'native_subrecord'; //const FORM_ELEMENTS_DYNAMIC_UPDATE = 'native_dynamic_update'; 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'; const GLYPH_ICON_EDIT = 'glyphicon-pencil'; const GLYPH_ICON_NEW = 'glyphicon-plus'; const GLYPH_ICON_DELETE = 'glyphicon-trash'; const GLYPH_ICON_HELP = 'glyphicon glyphicon-question-sign'; const GLYPH_ICON_INFO = 'glyphicon glyphicon-info-sign'; const GLYPH_ICON_SHOW = 'glyphicon glyphicon-search'; const GLYPH_ICON_TOOL = 'glyphicon-wrench'; const GLYPH_ICON_CHECK = 'glyphicon glyphicon-ok'; // FORM const F_TABLE_NAME = 'tableName'; const F_REQUIRED_PARAMETER = 'requiredParameter'; // FORM_ELEMENT_STATI const FE_MODE_SHOW = 'show'; const FE_MODE_READONLY = 'readonly'; const FE_MODE_REQUIRED = 'required'; const FE_MODE_HIDDEN = 'hidden'; const FE_SUBRECORD_ROW_CLASS = '_rowClass'; const FE_SUBRECORD_ROW_TITLE = '_rowTitle'; // FormElement columns: real const FE_NAME = 'name'; const FE_TYPE = 'type'; const FE_MODE = 'mode'; const FE_MODE_SQL = 'modeSql'; // TODO: Konstante FE_DYNAMIC_UPDATE ueberall einsetzen const FE_DYNAMIC_UPDATE = 'dynamicUpdate'; // FormElement columns: via parameter field const FE_DATE_FORMAT = 'dateFormat'; // value: FORMAT_DATE_INTERNATIONAL | FORMAT_DATE_GERMAN const FE_SHOW_SECONDS = 'showSeconds'; // value: 0|1 const FE_SHOW_ZERO = 'showZero'; // value: 0|1 const FE_PATH_FILE_NAME = 'pathFileName'; // Target pathFilename for an uploaded file. const FE_SQL_VALIDATE = 'sqlValidate'; // Action: Query to validate form load const FE_EXPECT_RECORDS = 'expectRecords'; // Action: expected number of rows of FE_SQL_VALIDATE const FE_MESSAGE_FAIL = 'messageFail'; // Action: Message to display, if FE_SQL_VALIDATE fails. const FE_REQUIRED_LIST = 'requiredList'; // Optional list of FormElements which have to be non empty to make this 'action'-FormElement active. const FE_SLAVE_ID = 'slaveId'; // Action; Value or Query to compute id of slave record. const FE_SQL_UPDATE = 'sqlUpdate'; // Action: Update Statement for slave record const FE_SQL_INSERT = 'sqlInsert'; // Action: Insert Statement to create slave record. const FE_SQL_DELETE = 'sqlDelete'; // Action: Delete Statement to delete unused slave record. // FormElement Types const FE_TYPE_EXTRA = 'extra'; const FE_TYPE_BEFORE_LOAD = 'beforeLoad'; const FE_TYPE_BEFORE_SAVE = 'beforeSave'; const FE_TYPE_BEFORE_INSERT = 'beforeInsert'; const FE_TYPE_BEFORE_UPDATE = 'beforeUpdate'; const FE_TYPE_BEFORE_DELETE = 'beforeDelete'; const FE_TYPE_AFTER_LOAD = 'afterLoad'; const FE_TYPE_AFTER_SAVE = 'afterSave'; const FE_TYPE_AFTER_INSERT = 'afterInsert'; const FE_TYPE_AFTER_UPDATE = 'afterUpdate'; const FE_TYPE_AFTER_DELETE = 'afterDelete'; const ACTION_KEYWORD_SLAVE_ID = 'slaveId'; // SUPPORT const PARAM_T3_ALL = 't3 all'; const PARAM_T3_NO_ID = "t3 no id"; // AbstractBuildForm const FLAG_ALL = 'flagAll'; const FLAG_DYNAMIC_UPDATE = 'flagDynamicUpdate'; const QUERY_TYPE_SELECT = 'type: select,show,describe,explain'; const QUERY_TYPE_INSERT = 'type: insert'; const QUERY_TYPE_UPDATE = 'type: update,replace,delete'; const QUERY_TYPE_CONTROL = 'type: set'; //Regexp //const REGEXP_DATE_INT = '^\d{4}-\d{2}-\d{2}$'; //const REGEXP_DATE_GER = '^\d{1,2}\.\d{1,2}\.\d{2}(\d{2})?$'; //const REGEXP_TIME = '^\d{1,2}:\d{1,2}(:\d{1,2})?$'; // Date/ DateTime formats const FORMAT_DATE_INTERNATIONAL = 'yyyy-mm-dd'; const FORMAT_DATE_GERMAN = 'dd.mm.yyyy'; // $_FILES const FILES_NAME = 'name'; const FILES_TMP_NAME = 'tmp_name'; const FILES_ERROR = 'error'; const FILES_SIZE = 'size'; const FILES_FLAG_DELETE = 'flagDelete'; const UPLOAD_CACHED = '.cached'; const FILE_ACTION = 'action'; const FILE_ACTION_UPLOAD = 'upload'; const FILE_ACTION_DELETE = 'delete'; // DATABASE const DB_NUM_ROWS = 'numRows'; const DB_AFFECTED_ROWS = 'affectedRows'; const DB_INSERT_ID = 'insertId'; const COLUMN_CREATED = 'created'; const INDEX_PHP = 'index.php'; // QuickFormQuery.php const T3DATA_BODYTEXT = 'bodytext'; const T3DATA_UID = 'uid';