Property | Type | Description | |
---|---|---|---|
$file | the filename of the entry point | ||
$isCliScript | true if the script corresponding to the configuration is a script for CLI | ||
$sameConfigAs | entrypoint id of the entrypoint that have the same config | ||
$scriptName | the url path of the entry point | ||
$type | the type of entry point |
Property | Type | Description | |
---|---|---|---|
$appInfos | Jelix\Core\Infos\AppInfos | ||
$config | configuration parameters. compiled content of config files result of the merge of entry point config, localconfig.ini.php, mainconfig.ini.php and defaultconfig.ini.php | ||
$configFile | the filename of the configuration file dedicated to the entry point
ex: |
||
$epConfigIni | Jelix\IniFile\IniModifier | entrypoint config of app/config/ | |
$fullConfigIni | Jelix\IniFile\MultiIniModifier | the entry point config combined with $localConfigIni | |
$localConfigIni | Jelix\IniFile\MultiIniModifier | the localconfig.ini.php file combined with $mainConfigIni | |
$localEpConfigIni | Jelix\IniFile\IniModifier | + * entrypoint config of var/config/ + * @var \Jelix\IniFile\IniModifier + | |
$mainConfigIni | Jelix\IniFile\MultiIniModifier | the mainconfig.ini.php file combined with defaultconfig.ini.php | |
$moduleLaunchers | key is module name | ||
$modulesInfos | Jelix\Core\Infos\ModuleInfos[] | ||
$urlMap | Jelix\Routing\UrlMapping\XmlEntryPoint |
Method | Description | |
---|---|---|
__construct ( Jelix\IniFile\MultiIniModifier $mainConfig, Jelix\IniFile\MultiIniModifier $localConfig, string $configFile, string $file, string $type ) | ||
createInstallLaunchers ( callable $launcherGetter ) | ||
getAppInfos ( ) : Jelix\Core\Infos\AppInfos | ||
getConfigFile ( ) : string | ||
getConfigIni ( ) : Jelix\IniFile\MultiIniModifier | the entry point config (static and local) combined with $localConfigIni | |
getConfigObj ( ) : stdObj | ||
getEpConfigIni ( ) | * he static entry point config alone (in app/config) | |
getEpId ( ) : string | ||
getLauncher ( $moduleName ) : |
||
getLaunchers ( ) : |
||
getLocalConfigIni ( ) : Jelix\IniFile\MultiIniModifier | the localconfig.ini.php file combined with $mainConfigIni | |
getLocalEpConfigIni ( ) | * the local entry point config alone (in var/config) | |
getMainConfigIni ( ) : Jelix\IniFile\MultiIniModifier | the mainconfig.ini.php file combined with defaultconfig.ini.php | |
getModule ( $moduleName ) | ||
getModulesList ( ) : array | ||
getUrlMap ( ) | ||
setAppInfos ( Jelix\Core\Infos\AppInfos $app ) | ||
setConfigObj ( $config ) | ||
setUrlMap ( Jelix\Routing\UrlMapping\XmlEntryPoint $urlEp ) |
public __construct ( Jelix\IniFile\MultiIniModifier $mainConfig, Jelix\IniFile\MultiIniModifier $localConfig, string $configFile, string $file, string $type ) | ||
$mainConfig | Jelix\IniFile\MultiIniModifier | the mainconfig.ini.php file combined with defaultconfig.ini.php |
$localConfig | Jelix\IniFile\MultiIniModifier | the localconfig.ini.php file combined with $mainConfig |
$configFile | string | the path of the configuration file, relative to the app/config directory |
$file | string | the filename of the entry point |
$type | string | type of the entry point ('classic', 'cli', 'xmlrpc'....) |
public createInstallLaunchers ( callable $launcherGetter ) | ||
$launcherGetter | callable |
public getAppInfos ( ) : Jelix\Core\Infos\AppInfos | ||
return | Jelix\Core\Infos\AppInfos |
public getConfigFile ( ) : string | ||
return | string | the config file name of the entry point |
public getConfigIni ( ) : Jelix\IniFile\MultiIniModifier | ||
return | Jelix\IniFile\MultiIniModifier |
public getConfigObj ( ) : stdObj | ||
return | stdObj | the config content of the entry point, as seen when calling App::config() |
public getEpConfigIni ( ) |
public getLauncher ( $moduleName ) : |
||
return |
public getLaunchers ( ) : |
||
return |
public getLocalConfigIni ( ) : Jelix\IniFile\MultiIniModifier | ||
return | Jelix\IniFile\MultiIniModifier |
public getLocalEpConfigIni ( ) |
public getMainConfigIni ( ) : Jelix\IniFile\MultiIniModifier | ||
return | Jelix\IniFile\MultiIniModifier |
public getModulesList ( ) : array | ||
return | array | the list of modules and their path, as stored in the compiled configuration file |
public setAppInfos ( Jelix\Core\Infos\AppInfos $app ) | ||
$app | Jelix\Core\Infos\AppInfos |
public setUrlMap ( Jelix\Routing\UrlMapping\XmlEntryPoint $urlEp ) | ||
$urlEp | Jelix\Routing\UrlMapping\XmlEntryPoint |
protected AppInfos,Jelix\Core\Infos $appInfos | ||
return | Jelix\Core\Infos\AppInfos |
protected $config |
protected $configFile |
protected IniModifier,Jelix\IniFile $epConfigIni | ||
return | Jelix\IniFile\IniModifier |
protected MultiIniModifier,Jelix\IniFile $fullConfigIni | ||
return | Jelix\IniFile\MultiIniModifier |
public $isCliScript |
protected MultiIniModifier,Jelix\IniFile $localConfigIni | ||
return | Jelix\IniFile\MultiIniModifier |
protected IniModifier,Jelix\IniFile $localEpConfigIni | ||
return | Jelix\IniFile\IniModifier |
protected MultiIniModifier,Jelix\IniFile $mainConfigIni | ||
return | Jelix\IniFile\MultiIniModifier |
protected AbstractInstallLauncher[],Jelix\Installer $moduleLaunchers | ||
return |
protected ModuleInfos[],Jelix\Core\Infos $modulesInfos | ||
return | Jelix\Core\Infos\ModuleInfos[] |
public $sameConfigAs |