PHP Класс Jelix\Installer\ModuleInstaller

С версии: 1.2
Наследование: extends AbstractInstaller, implements Jelix\Installer\InstallerInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( )