\PluginFusioninventoryModule

Manage the agent modules.

Summary

Methods
Properties
Constants
getAll()
getModuleId()
getModuleName()
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

getAll()

getAll(boolean  $p_inactive = FALSE) : array

Get all installed modules

Parameters

boolean $p_inactive

Show inactive modules

Returns

array

getModuleId()

getModuleId(string  $p_name) : integer|false

Get module id or fusioninventory plugin id

Parameters

string $p_name

the module name

Returns

integer|false —

plugin id or FALSE if module is not active or not a fusioninventory module

getModuleName()

getModuleName(integer  $p_id) : string|false

Get module name

Parameters

integer $p_id

the module id

Returns

string|false —

false if module is not active or not a fusioninventory module