\PluginFusioninventorySetup

Manage the installation and uninstallation of the plugin.

Summary

Methods
Properties
Constants
uninstall()
rrmdir()
initRules()
createFusionInventoryUser()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

uninstall()

uninstall() : true

Uninstall process when uninstall the plugin FusionInventory

Returns

true

rrmdir()

rrmdir(string  $dir) 

Remove a directory and sub-directory

Parameters

string $dir

name of the directory

initRules()

initRules(integer  $reset) : boolean

Create rules (initialisation)

Parameters

integer $reset

Returns

boolean

createFusionInventoryUser()

createFusionInventoryUser() : integer

Creation of FusionInventory user

Returns

integer —

id of the user "plugin FusionInventory"