fill some config properties with calculated values
static void
prepareConfig
(object $config, boolean $allModuleInfo, boolean $isCli, string $pseudoScriptName)
-
object
$config: the config object
-
boolean
$allModuleInfo: may be true for the installer, which needs all informations else should be false, these extra informations are not needed to run the application
-
boolean
$isCli: indicate if the configuration to read is for a CLI script or no
-
string
$pseudoScriptName: the name of the entry point, relative to the base path, corresponding to the readed configuration
read the given ini file, for the current entry point, or for the entrypoint given in $pseudoScriptName. Merge it with the content of defaultconfig.ini.php It also calculates some options.
If you are in a CLI script but you want to load a configuration file for a web entry point or vice-versa, you need to indicate the $pseudoScriptName parameter with the name of the entry point
static object an
read
(string $configFile, [boolean $allModuleInfo = false], [boolean $isCli = false], [string $pseudoScriptName = ''])
-
string
$configFile: the config file name
-
boolean
$allModuleInfo: may be true for the installer, which needs all informations else should be false, these extra informations are not needed to run the application
-
boolean
$isCli: indicate if the configuration to read is for a CLI script or no
-
string
$pseudoScriptName: the name of the entry point, relative to the base path, corresponding to the readed configuration
Identical to read(), but also stores the result in a temporary file
static object an
readAndCache
(string $configFile, [boolean $isCli = null], [string $pseudoScriptName = ''])
-
string
$configFile: the config file name
-
boolean
$isCli
-
string
$pseudoScriptName
Analyse and check the "lib:" and "app:" path.
static void
_loadModuleInfo
(object $config, boolean $allModuleInfo)
-
object
$config: the config object
-
boolean
$allModuleInfo: may be true for the installer, which needs all informations else should be false, these extra informations are not needed to run the application
Analyse plugin paths
static void
_loadPluginsPathList
(object $config)
-
object
$config: the config container