jConfigCompiler merge two ini file in a single array and store it in a temporary file This is a static class
| package |
jelix |
|---|---|
| subpackage |
core |
| static |
__construct()
_loadModuleInfo(object $config, boolean $allModuleInfo)
| Throws |
|
|---|
objectthe config object
booleanmay be true for the installer, which needs all informations else should be false, these extra informations are not needed to run the application
_loadPluginsPathList(object $config)
objectthe config container
checkCoordPluginsPath( $config)
checkMiscParameters( $config)
findServerName( $ext = '.php', $isCli = false)
getModulesPaths( $config, $toCompileConfig = false)
getPaths(array &$urlconf, string $pseudoScriptName = '', boolean $isCli = false)
.
| Throws |
|
|---|
arrayurlengine configuration. scriptNameServerVariable, basePath, jelixWWWPath and jqueryPath should be present
string
boolean
prepareConfig(object $config, boolean $allModuleInfo, boolean $isCli, string $pseudoScriptName)
objectthe config object
booleanmay be true for the installer, which needs all informations else should be false, these extra informations are not needed to run the application
booleanindicate if the configuration to read is for a CLI script or no
stringthe name of the entry point, relative to the base path, corresponding to the readed configuration
read(string $configFile, boolean $allModuleInfo = false, boolean $isCli = false, string $pseudoScriptName = '') : object
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
| Throws |
|
|---|
stringthe config file name
booleanmay be true for the installer, which needs all informations else should be false, these extra informations are not needed to run the application
booleanindicate if the configuration to read is for a CLI script or no
stringthe name of the entry point, relative to the base path, corresponding to the readed configuration
objectan object which contains configuration values
readAndCache(string $configFile, boolean $isCli = null, string $pseudoScriptName = '') : object
| Throws |
|
|---|
stringthe config file name
boolean
string
objectan object which contains configuration values
runConfigCompilerPlugins( $config)
commonConfig :