PHP Class Jelix\Installer\EntryPoint

Afficher le fichier Open project: jelix/jelix Class Usage Examples

Méthodes publiques

Свойство 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

Protected Properties

Свойство 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: /app/config/index/config.ini.php
$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 AbstractInstallLauncher[] key is module name
$modulesInfos Jelix\Core\Infos\ModuleInfos[]
$urlMap Jelix\Routing\UrlMapping\XmlEntryPoint

Méthodes publiques

Méthode 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 ) : AbstractInstallLauncher
getLaunchers ( ) : AbstractInstallLauncher[]
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 )

Method Details

__construct() public méthode

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'....)

createInstallLaunchers() public méthode

public createInstallLaunchers ( callable $launcherGetter )
$launcherGetter callable

getAppInfos() public méthode

public getAppInfos ( ) : Jelix\Core\Infos\AppInfos
Résultat Jelix\Core\Infos\AppInfos

getConfigFile() public méthode

public getConfigFile ( ) : string
Résultat string the config file name of the entry point

getConfigIni() public méthode

the entry point config (static and local) combined with $localConfigIni
Since: 1.7
public getConfigIni ( ) : Jelix\IniFile\MultiIniModifier
Résultat Jelix\IniFile\MultiIniModifier

getConfigObj() public méthode

public getConfigObj ( ) : stdObj
Résultat stdObj the config content of the entry point, as seen when calling App::config()

getEpConfigIni() public méthode

* he static entry point config alone (in app/config)
Since: 1.6.8
public getEpConfigIni ( )

getEpId() public méthode

public getEpId ( ) : string
Résultat string the entry point id

getLauncher() public méthode

public getLauncher ( $moduleName ) : AbstractInstallLauncher
Résultat AbstractInstallLauncher

getLaunchers() public méthode

public getLaunchers ( ) : AbstractInstallLauncher[]
Résultat AbstractInstallLauncher[]

getLocalConfigIni() public méthode

the localconfig.ini.php file combined with $mainConfigIni
Since: 1.7
public getLocalConfigIni ( ) : Jelix\IniFile\MultiIniModifier
Résultat Jelix\IniFile\MultiIniModifier

getLocalEpConfigIni() public méthode

* the local entry point config alone (in var/config)
Since: 1.7
public getLocalEpConfigIni ( )

getMainConfigIni() public méthode

the mainconfig.ini.php file combined with defaultconfig.ini.php
Since: 1.7
public getMainConfigIni ( ) : Jelix\IniFile\MultiIniModifier
Résultat Jelix\IniFile\MultiIniModifier

getModule() public méthode

See also: getModuleStatus()
Deprecation:
public getModule ( $moduleName )

getModulesList() public méthode

public getModulesList ( ) : array
Résultat array the list of modules and their path, as stored in the compiled configuration file

getUrlMap() public méthode

public getUrlMap ( )

setAppInfos() public méthode

public setAppInfos ( Jelix\Core\Infos\AppInfos $app )
$app Jelix\Core\Infos\AppInfos

setConfigObj() public méthode

public setConfigObj ( $config )

setUrlMap() public méthode

public setUrlMap ( Jelix\Routing\UrlMapping\XmlEntryPoint $urlEp )
$urlEp Jelix\Routing\UrlMapping\XmlEntryPoint

Property Details

$appInfos protected_oe property

protected AppInfos,Jelix\Core\Infos $appInfos
Résultat Jelix\Core\Infos\AppInfos

$config protected_oe property

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
protected $config

$configFile protected_oe property

the filename of the configuration file dedicated to the entry point ex: /app/config/index/config.ini.php
protected $configFile

$epConfigIni protected_oe property

entrypoint config of app/config/
protected IniModifier,Jelix\IniFile $epConfigIni
Résultat Jelix\IniFile\IniModifier

$file public_oe property

the filename of the entry point
public $file

$fullConfigIni protected_oe property

the entry point config combined with $localConfigIni
protected MultiIniModifier,Jelix\IniFile $fullConfigIni
Résultat Jelix\IniFile\MultiIniModifier

$isCliScript public_oe property

true if the script corresponding to the configuration is a script for CLI
public $isCliScript

$localConfigIni protected_oe property

the localconfig.ini.php file combined with $mainConfigIni
protected MultiIniModifier,Jelix\IniFile $localConfigIni
Résultat Jelix\IniFile\MultiIniModifier

$localEpConfigIni protected_oe property

+ * entrypoint config of var/config/ + * @var \Jelix\IniFile\IniModifier +
protected IniModifier,Jelix\IniFile $localEpConfigIni
Résultat Jelix\IniFile\IniModifier

$mainConfigIni protected_oe property

the mainconfig.ini.php file combined with defaultconfig.ini.php
protected MultiIniModifier,Jelix\IniFile $mainConfigIni
Résultat Jelix\IniFile\MultiIniModifier

$moduleLaunchers protected_oe property

key is module name
protected AbstractInstallLauncher[],Jelix\Installer $moduleLaunchers
Résultat AbstractInstallLauncher[]

$modulesInfos protected_oe property

protected ModuleInfos[],Jelix\Core\Infos $modulesInfos
Résultat Jelix\Core\Infos\ModuleInfos[]

$sameConfigAs public_oe property

entrypoint id of the entrypoint that have the same config
public $sameConfigAs

$scriptName public_oe property

the url path of the entry point
public $scriptName

$type public_oe property

the type of entry point
public $type

$urlMap protected_oe property

protected XmlEntryPoint,Jelix\Routing\UrlMapping $urlMap
Résultat Jelix\Routing\UrlMapping\XmlEntryPoint