Commit 85dc1486 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Typos fixed

parent 77c0bd79
......@@ -6,6 +6,8 @@
* Time: 8:35 PM
*/
const QFQ_INI = "qfq.ini"; // QFQ configuration file: db access
// Sanatize Classifier
const SANATIZE_ALNUMX = "alnumx";
const SANATIZE_DIGIT = "digit";
......@@ -16,10 +18,11 @@ const SANATIZE_DEFAULT = SANATIZE_DIGIT;
const ERROR_UNKNOW_SANATIZE_CLASS = 1001;
const ERROR_STORE_NOT_IMPLEMENTED = 1002;
const ERROR_UNKNOWN_STORE = 1003;
const ERROR_VALUES_ALREADY_CODPIED = 1004;
const ERROR_VALUE_ALREADY_CODPIED = 1004;
const ERROR_SETVARARRAY_NOT_IMPLEMENTED = 1005;
const ERROR_MISSING_FORM_NAME = 1006;
const ERROR_IN_SQL_STATEMENT = 1007;
const ERROR_READ_FILE = 1008;
// store Identifier
const STORE_FORM = "F"; // form, still not saved in database
......@@ -29,11 +32,10 @@ const STORE_TABLE_DEFINITION = "T"; // table definition in database of primary t
const STORE_CLIENT = "C"; // Client: POST variable, if not found: GET variable
const STORE_T3_BODYTEXT = "B"; // Typo3 > 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_SETUP = "P"; // various setup values like db connection credentials
const STORE_SYSTEM = "Y"; // various system values like db connection credentials
const USE_STORE_DEFAULT = "FSRT";
// URL variables
const CLIENT_FORM = 'form';
const CLIENT_SIP = 's';
......
......@@ -54,7 +54,7 @@ class StoreT3Bodytext {
*/
public static function setVarArray(array $dataArray) {
if (count(self::$raw) > 0) {
throw new CodeException("Raw values already been copied. Do this only one time.", ERROR_VALUES_ALREADY_CODPIED);
throw new CodeException("Raw values already been copied. Do this only one time.", ERROR_VALUE_ALREADY_CODPIED);
}
self::$raw = $dataArray;
......
......@@ -26,7 +26,6 @@ class StoreWebVar {
/**
* Design Pattern: Singleton - class should only be instanced internally
*
*/
private function __construct() {
self::$defaultSanatizeClass = [
......
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