PHP 클래스 Jelix\Installer\ModuleInstallLauncher

부터: 1.2
상속: extends AbstractInstallLauncher
파일 보기 프로젝트 열기: jelix/jelix

보호된 프로퍼티들

프로퍼티 타입 설명
$installerContexts list of sessions Id of the component
$moduleInstaller
$moduleUpgraders
$upgradersContexts

공개 메소드들

메소드 설명
__construct ( Jelix\Core\Infos\ModuleInfos $moduleInfos, Installer $mainInstaller = null )
getInstaller ( EntryPoint $ep, boolean $installWholeApp ) : ModuleInstaller get the object which is responsible to install the component. this object should implement AbstractInstaller.
getUpgraders ( EntryPoint $ep ) : ModuleInstaller[] return the list of objects which are responsible to upgrade the component from the current installed version of the component.
installFinished ( $ep )
uninstallFinished ( $ep )
upgradeFinished ( $ep, $upgrader )

보호된 메소드들

메소드 설명
_formatDate ( $date )
_setAccess ( EntryPoint $ep )

메소드 상세

__construct() 공개 메소드

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

_formatDate() 보호된 메소드

protected _formatDate ( $date )

_setAccess() 보호된 메소드

protected _setAccess ( EntryPoint $ep )
$ep EntryPoint

getInstaller() 공개 메소드

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

getUpgraders() 공개 메소드

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

installFinished() 공개 메소드

public installFinished ( $ep )

uninstallFinished() 공개 메소드

public uninstallFinished ( $ep )

upgradeFinished() 공개 메소드

public upgradeFinished ( $ep, $upgrader )

프로퍼티 상세

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

list of sessions Id of the component
protected $installerContexts

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

protected $moduleInstaller

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

protected $moduleUpgraders

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

protected $upgradersContexts