diff --git a/qfq/store/Store.php b/qfq/store/Store.php index 1f136babb2f7c511ad73a5a2ba324a3bf1d22407..b78686e8eafa616c06c5f88d6d4b0dfa4904a4c7 100644 --- a/qfq/store/Store.php +++ b/qfq/store/Store.php @@ -29,12 +29,40 @@ require_once(__DIR__ . '/../../qfq/Database.php'); class Store { + /** + * @var Store Instance of class Store. There should only be one class 'Store' at a time. + */ private static $instance = null; + /** + * @var Sip Instance of class SIP + */ private static $sip = null; + /** + * @var array Stores all indiviudal stores with the variable raw values + * + * $raw['D']['id'] = 0 - Defaultvalues from Tabledefinition + * ... + * $raw['S']['r'] = 1234 - record ID from current SIP identifier + * ... + * $raw['C']['HTTP_SERVER'] = 'qfq' - Servername + * $raw['C']['s'] = 'badcaffee1234' - recent SIP + */ private static $raw = array(); + + /** + * @var array Default sanatize classes. + */ private static $sanatizeClass = array(); + + /** + * $sanatizeClass['S'] = false + * $sanatizeClass['C'] = true + * ... + * + * @var array each entry with true/false - depending if store needs to be sanatized. + */ private static $sanatizeStore = array(); /**