PHP 클래스 Jelix\Installer\EntryPoint

파일 보기 프로젝트 열기: jelix/jelix 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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

보호된 프로퍼티들

프로퍼티 타입 설명
$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

공개 메소드들

메소드 설명
__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 )

메소드 상세

__construct() 공개 메소드

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 createInstallLaunchers ( callable $launcherGetter )
$launcherGetter callable

getAppInfos() 공개 메소드

public getAppInfos ( ) : Jelix\Core\Infos\AppInfos
리턴 Jelix\Core\Infos\AppInfos

getConfigFile() 공개 메소드

public getConfigFile ( ) : string
리턴 string the config file name of the entry point

getConfigIni() 공개 메소드

the entry point config (static and local) combined with $localConfigIni
부터: 1.7
public getConfigIni ( ) : Jelix\IniFile\MultiIniModifier
리턴 Jelix\IniFile\MultiIniModifier

getConfigObj() 공개 메소드

public getConfigObj ( ) : stdObj
리턴 stdObj the config content of the entry point, as seen when calling App::config()

getEpConfigIni() 공개 메소드

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

getEpId() 공개 메소드

public getEpId ( ) : string
리턴 string the entry point id

getLauncher() 공개 메소드

public getLauncher ( $moduleName ) : AbstractInstallLauncher
리턴 AbstractInstallLauncher

getLaunchers() 공개 메소드

public getLaunchers ( ) : AbstractInstallLauncher[]
리턴 AbstractInstallLauncher[]

getLocalConfigIni() 공개 메소드

the localconfig.ini.php file combined with $mainConfigIni
부터: 1.7
public getLocalConfigIni ( ) : Jelix\IniFile\MultiIniModifier
리턴 Jelix\IniFile\MultiIniModifier

getLocalEpConfigIni() 공개 메소드

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

getMainConfigIni() 공개 메소드

the mainconfig.ini.php file combined with defaultconfig.ini.php
부터: 1.7
public getMainConfigIni ( ) : Jelix\IniFile\MultiIniModifier
리턴 Jelix\IniFile\MultiIniModifier

getModule() 공개 메소드

또한 보기: getModuleStatus()
사용 중단:
public getModule ( $moduleName )

getModulesList() 공개 메소드

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

getUrlMap() 공개 메소드

public getUrlMap ( )

setAppInfos() 공개 메소드

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

setConfigObj() 공개 메소드

public setConfigObj ( $config )

setUrlMap() 공개 메소드

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

프로퍼티 상세

$appInfos 보호되어 있는 프로퍼티

protected AppInfos,Jelix\Core\Infos $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
protected $config

$configFile 보호되어 있는 프로퍼티

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

$epConfigIni 보호되어 있는 프로퍼티

entrypoint config of app/config/
protected IniModifier,Jelix\IniFile $epConfigIni
리턴 Jelix\IniFile\IniModifier

$file 공개적으로 프로퍼티

the filename of the entry point
public $file

$fullConfigIni 보호되어 있는 프로퍼티

the entry point config combined with $localConfigIni
protected MultiIniModifier,Jelix\IniFile $fullConfigIni
리턴 Jelix\IniFile\MultiIniModifier

$isCliScript 공개적으로 프로퍼티

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

$localConfigIni 보호되어 있는 프로퍼티

the localconfig.ini.php file combined with $mainConfigIni
protected MultiIniModifier,Jelix\IniFile $localConfigIni
리턴 Jelix\IniFile\MultiIniModifier

$localEpConfigIni 보호되어 있는 프로퍼티

+ * entrypoint config of var/config/ + * @var \Jelix\IniFile\IniModifier +
protected IniModifier,Jelix\IniFile $localEpConfigIni
리턴 Jelix\IniFile\IniModifier

$mainConfigIni 보호되어 있는 프로퍼티

the mainconfig.ini.php file combined with defaultconfig.ini.php
protected MultiIniModifier,Jelix\IniFile $mainConfigIni
리턴 Jelix\IniFile\MultiIniModifier

$moduleLaunchers 보호되어 있는 프로퍼티

key is module name
protected AbstractInstallLauncher[],Jelix\Installer $moduleLaunchers
리턴 AbstractInstallLauncher[]

$modulesInfos 보호되어 있는 프로퍼티

protected ModuleInfos[],Jelix\Core\Infos $modulesInfos
리턴 Jelix\Core\Infos\ModuleInfos[]

$sameConfigAs 공개적으로 프로퍼티

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

$scriptName 공개적으로 프로퍼티

the url path of the entry point
public $scriptName

$type 공개적으로 프로퍼티

the type of entry point
public $type

$urlMap 보호되어 있는 프로퍼티

protected XmlEntryPoint,Jelix\Routing\UrlMapping $urlMap
리턴 Jelix\Routing\UrlMapping\XmlEntryPoint