Jelix 1.8.13

jIInstallerComponent

Tags
subpackage

installer

since
1.2
deprecated

Table of Contents

install()  : mixed
should configure the component, install table into the database etc.. If an error occurs during the installation, you are responsible to cancel/revert all things the method did before the error.
postInstall()  : mixed
Redefine this method if you do some additionnal process after the installation of all other modules (dependents modules or the whole application).
postUninstall()  : mixed
preInstall()  : mixed
Called before the installation of all other components (dependents modules or the whole application).
preUninstall()  : mixed
Called before the uninstallation of all other modules (dependents modules or the whole application).
uninstall()  : mixed
should configure the component, install table into the database etc.

Methods

install()

should configure the component, install table into the database etc.. If an error occurs during the installation, you are responsible to cancel/revert all things the method did before the error.

public install() : mixed
Tags
throws
jException

if an error occurs during the install

Return values
mixed

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() : mixed
Tags
throws
jException

if an error occurs during the post installation

Return values
mixed

preInstall()

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

public preInstall() : mixed

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

Tags
throws
jException

if an error occurs during the check of the installation

Return values
mixed

preUninstall()

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

public preUninstall() : mixed

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

Tags
throws
jException

if an error occurs during the check of the installation

Return values
mixed

uninstall()

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

public uninstall() : mixed

.

Tags
throws
jException

if an error occurs during the install

Return values
mixed

Search results