System Class provided by System to start the environment (system clock & config aswell as optional includes) and handles the Systemwide Database Credentials
| package |
SYSTEM |
|---|
getSystemDBInfo() : object
Supports MYSQL and PostgreSQL
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
objectReturns \SYSTEM\DB\DBInfoPG or \SYSTEM\DB\DBInfoMYS depending on configrated Database.
isSystemDbInfoPG() : bool
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
boolReturns true if Databaseconnection is PostgreSQL else false.
register_errorhandler_dbwriter() : null
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
nullReturns null
register_errorhandler_jsonoutput() : null
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
nullReturns null
start(arrayconfig, boolshort_exc = true, boolshort_res = true, boolerror_db = true, boolerror_json = true) : null
Flushes given Config values Starts the internal clock. Sets Error-reporting level according to config (opt)Allows to turn off optional includes which pollute global Namespace. (opt)Register Error-Handler-DB-Writer to log System Events to the Database (opt)Register Error-Handler-JSON-Output to return Errors as JSON.
Config has following format array( array(ID, VALUE), array(ID, VALUE)) For IDs @see \SYSTEM\CONFIG\config_ids Extend this class to define your own.
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
arrayConfiguration Array passed upon Enviroment Start
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
boolInclude Shortcut for System Log Classes in global Namespace
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
boolInclude Shortcut for System Result Classes in global Namespace
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
boolInclude Shortcut for System Log Classes in global Namespace
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
boolInclude Shortcut for System Log Classes in global Namespace
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
nullReturns null.