Jelix 1.8.12

UninstallerInterface

interface for classes that uninstall a module.

Tags
since
1.7

Table of Contents

postUninstall()  : mixed
Redefine this method if you do some additional process after the uninstallation of all modules.
preUninstall()  : mixed
Called before the uninstallation of all other modules.
uninstall()  : mixed
should uninstall the module.

Methods

postUninstall()

Redefine this method if you do some additional process after the uninstallation of all modules.

public postUninstall(InstallHelpers $helpers) : mixed
Parameters
$helpers : InstallHelpers
Tags
throws
Exception

if an error occurs during the post installation

Return values
mixed

preUninstall()

Called before the uninstallation of all other modules.

public preUninstall(PreInstallHelpers $helpers) : mixed

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

Parameters
$helpers : PreInstallHelpers
Tags
throws
Exception

if the module cannot be uninstalled

Return values
mixed

Search results