static void
checkCoordPluginsPath
( $config)
static void
checkMiscParameters
( $config)
static void
findServerName
([ $ext = '.php'], [ $isCli = false])
calculate miscelaneous path, depending of the server configuration and other informations in the given array : script path, script name, documentRoot ..
static void
getPaths
( &$urlconf, [ $pseudoScriptName = ''], [ $isCli = false], array $urlconf)
-
array
$urlconf: urlengine configuration. scriptNameServerVariable, basePath, jelixWWWPath and jqueryPath should be present
-
&$urlconf
-
$pseudoScriptName
-
$isCli
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
static void
runConfigCompilerPlugins
( $config)
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