jIInstallerComponent

Extends

package

jelix

subpackage

installer

since 1.2

Methods

should configure the component, install table into the database etc.

install() 

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

Throws
\jException

if an error occurs during the install.

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

postInstall() 
Throws
\jException

if an error occurs during the post installation.

postUninstall

postUninstall() 
Throws
\jException

if an error occurs during the install.

Called before the installation of all other components (dependents modules or the whole application).

preInstall() 

Here, you should check if the component can be installed or not

Throws
\jException

if an error occurs during the check of the installation

Called before the uninstallation of all other modules (dependents modules or the whole application).

preUninstall() 

Here, you should check if the component can be uninstalled or not

Throws
\jException

if an error occurs during the check of the installation

should configure the component, install table into the database etc.

uninstall() 

.

Throws
\jException

if an error occurs during the install.