PHP 클래스 Jelix\Installer\AbstractInstallLauncher

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

공개 프로퍼티들

프로퍼티 타입 설명
$inError code error of the installation

보호된 프로퍼티들

프로퍼티 타입 설명
$mainInstaller the main installer controller
$moduleInfos Jelix\Core\Infos\ModuleInfos
$moduleStatuses list of installation information about the module for each entry points

공개 메소드들

메소드 설명
__construct ( Jelix\Core\Infos\ModuleInfos $moduleInfos, Installer $mainInstaller = null )
addModuleStatus ( string $epId, Jelix\Installer\ModuleStatus $moduleStatus )
checkVersion ( $versionExpression )
getAccessLevel ( $epId )
getDependencies ( ) list of dependencies of the module
getInstallParameters ( $epId )
getInstalledVersion ( $epId )
getInstaller ( EntryPoint $ep, boolean $installWholeApp ) : Jelix\Installer\InstallerInterface get the object which is responsible to install the component. this object should implement InstallerInterface.
getName ( )
getPath ( )
getResolverItem ( string $epId ) : Item
getSourceDate ( )
getSourceVersion ( )
getUpgraders ( EntryPoint $ep ) : Jelix\Installer\InstallerInterface[] return the list of objects which are responsible to upgrade the component from the current installed version of the component.
installFinished ( $ep )
isActivated ( $epId )
isInstalled ( $epId )
isUpgraded ( $epId )
setInstallParameters ( $epId, $parameters )
setInstalledVersion ( $epId, $version )
uninstallFinished ( $ep )
upgradeFinished ( $ep, $upgrader )

보호된 메소드들

메소드 설명
getInstallAction ( $epId )

메소드 상세

__construct() 공개 메소드

public __construct ( Jelix\Core\Infos\ModuleInfos $moduleInfos, Installer $mainInstaller = null )
$moduleInfos Jelix\Core\Infos\ModuleInfos
$mainInstaller Installer

addModuleStatus() 공개 메소드

public addModuleStatus ( string $epId, Jelix\Installer\ModuleStatus $moduleStatus )
$epId string the id of the entrypoint
$moduleStatus Jelix\Installer\ModuleStatus module status

checkVersion() 공개 메소드

public checkVersion ( $versionExpression )

getAccessLevel() 공개 메소드

public getAccessLevel ( $epId )

getDependencies() 공개 메소드

list of dependencies of the module
public getDependencies ( )

getInstallAction() 보호된 메소드

protected getInstallAction ( $epId )

getInstallParameters() 공개 메소드

public getInstallParameters ( $epId )

getInstalledVersion() 공개 메소드

public getInstalledVersion ( $epId )

getInstaller() 추상적인 공개 메소드

get the object which is responsible to install the component. this object should implement InstallerInterface.
abstract public getInstaller ( EntryPoint $ep, boolean $installWholeApp ) : Jelix\Installer\InstallerInterface
$ep EntryPoint the entry point
$installWholeApp boolean true if the installation is done during app installation
리턴 Jelix\Installer\InstallerInterface the installer, or null if there isn't any installer or false if the installer is useless for the given parameter

getName() 공개 메소드

public getName ( )

getPath() 공개 메소드

public getPath ( )

getResolverItem() 공개 메소드

public getResolverItem ( string $epId ) : Item
$epId string
리턴 Jelix\Dependencies\Item

getSourceDate() 공개 메소드

public getSourceDate ( )

getSourceVersion() 공개 메소드

public getSourceVersion ( )

getUpgraders() 추상적인 공개 메소드

this method should be called after verifying and resolving dependencies. Needed components (modules or plugins) should be installed/upgraded before calling this method
abstract public getUpgraders ( EntryPoint $ep ) : Jelix\Installer\InstallerInterface[]
$ep EntryPoint the entry point
리턴 Jelix\Installer\InstallerInterface[]

installFinished() 공개 메소드

public installFinished ( $ep )

isActivated() 공개 메소드

public isActivated ( $epId )

isInstalled() 공개 메소드

public isInstalled ( $epId )

isUpgraded() 공개 메소드

public isUpgraded ( $epId )

setInstallParameters() 공개 메소드

public setInstallParameters ( $epId, $parameters )

setInstalledVersion() 공개 메소드

public setInstalledVersion ( $epId, $version )

uninstallFinished() 공개 메소드

public uninstallFinished ( $ep )

upgradeFinished() 공개 메소드

public upgradeFinished ( $ep, $upgrader )

프로퍼티 상세

$inError 공개적으로 프로퍼티

code error of the installation
public $inError

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

the main installer controller
protected $mainInstaller

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

protected ModuleInfos,Jelix\Core\Infos $moduleInfos
리턴 Jelix\Core\Infos\ModuleInfos

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

list of installation information about the module for each entry points
protected $moduleStatuses