

NOTE: We cannot put this in inc/classes/ because it would be loaded (again) in class loader. See inc/loader/class_ClassLoader.php for instance
Definition at line 28 of file class_FrameworkConfiguration.php.
Public Member Functions | |
| __toString () | |
| Compatiblity method to return this class' name. | |
| detectBaseUrl () | |
| Dectect and return the base URL for all URLs and forms. | |
| detectDomain () | |
| Detect safely and return the full domain where this script is installed. | |
| detectScriptPath () | |
| Detect safely the script path without trailing slash which is the part between "http://your-domain.invalid/" and "script-name.php". | |
| getField ($fieldName) | |
| Getter for field name. | |
| readConfig ($cfgEntry) | |
| Read a configuration element. | |
| setConfigEntry ($cfgEntry, $cfgValue) | |
| Set a configuration entry. | |
| setDefaultTimezone ($zone) | |
| Setter for default time zone (must be correct!). | |
| setMagicQuotesRuntime ($enableQuotes) | |
| Setter for runtime magic quotes. | |
| updateDatabaseField ($fieldName, $fieldValue) | |
| Updates a given field with new value. | |
Static Public Member Functions | |
| static | getInstance () |
| Getter for an instance of this class. | |
Public Attributes | |
| const | EXCEPTION_CONFIG_ENTRY_IS_EMPTY = 0x130 |
| const | EXCEPTION_CONFIG_ENTRY_WAS_NOT_FOUND = 0x131 |
Protected Member Functions | |
| __construct () | |
| Protected constructor. | |
Private Member Functions | |
| loadIncludes (ArrayObject $arrayObject) | |
| A private include loader. | |
Private Attributes | |
| $config = array() | |
| The framework's main configuration array which will be initialized with hard-coded configuration data and might be overwritten/extended by config data from the database. | |
Static Private Attributes | |
| static | $cfgInstance = null |
| The configuration instance itself. | |
1.5.6