jConfig
in package
static class which loads the configuration.
Tags
Table of Contents
- sectionsToIgnoreForEp = array('httpVersion', 'timeZone', 'domainName', 'forceHTTPPort', 'forceHTTPSPort', 'chmodFile', 'chmodDir', 'disableInstallers', 'enableAllModules', 'modules', '_coreResponses', 'compilation')
- $fromCache : mixed
- indicate if the configuration was loading from the cache (true) or if the cache configuration was regenerated (false).
- getDefaultConfigFile() : mixed
- load() : object
- load and read the configuration of the application The combination of all configuration files (the given file and the mainconfig.ini.php) is stored in a single temporary file. So it calls the jConfigCompiler class if needed.
- __construct() : mixed
- this is a static class, so private constructor.
Constants
sectionsToIgnoreForEp
public
mixed
sectionsToIgnoreForEp
= array('httpVersion', 'timeZone', 'domainName', 'forceHTTPPort', 'forceHTTPSPort', 'chmodFile', 'chmodDir', 'disableInstallers', 'enableAllModules', 'modules', '_coreResponses', 'compilation')
Properties
$fromCache
indicate if the configuration was loading from the cache (true) or if the cache configuration was regenerated (false).
public
static mixed
$fromCache
= rue
Methods
getDefaultConfigFile()
public
static getDefaultConfigFile() : mixed
Return values
mixed —load()
load and read the configuration of the application The combination of all configuration files (the given file and the mainconfig.ini.php) is stored in a single temporary file. So it calls the jConfigCompiler class if needed.
public
static load(string $configFile) : object
Parameters
- $configFile : string
-
the config file name
Tags
Return values
object —it contains all configuration options
__construct()
this is a static class, so private constructor.
private
__construct() : mixed