PHP 클래스 Jelix\Installer\ModuleInstaller

부터: 1.2
상속: extends AbstractInstaller, implements Jelix\Installer\InstallerInterface
파일 보기 프로젝트 열기: jelix/jelix

공개 메소드들

메소드 설명
install ( ) should configure the module, install table into the database etc.
postInstall ( ) Redefine this method if you do some additionnal process after the installation of all other modules (dependents modules or the whole application)
postUninstall ( )
preInstall ( ) Called before the installation of all other modules (dependents modules or the whole application).
preUninstall ( ) Called before the uninstallation of all other modules (dependents modules or the whole application).
uninstall ( ) should remove static files. Probably remove some data if the user is agree etc.

메소드 상세

install() 공개 메소드

. If an error occurs during the installation, you are responsible to cancel/revert all things the method did before the error
public install ( )

postInstall() 공개 메소드

Redefine this method if you do some additionnal process after the installation of all other modules (dependents modules or the whole application)
public postInstall ( )

postUninstall() 공개 메소드

public postUninstall ( )

preInstall() 공개 메소드

Here, you should check if the module can be installed or not
public preInstall ( )

preUninstall() 공개 메소드

Here, you should check if the module can be uninstalled or not
public preUninstall ( )

uninstall() 공개 메소드

..
public uninstall ( )