\

Classes

CliMigration Manage the display information of class Migration when upgrade plugin in CLI.
PluginFusioninventoryAgent Manage the FusionInventory agents.
PluginFusioninventoryAgentmodule Manage (enable or not) the modules in the agent.
PluginFusioninventoryAgentWakeup Manage the wake up the agents remotely.
PluginFusioninventoryCollect Manage the collect information by the agent.
PluginFusioninventoryCollect_File Manage the files to search in collect module.
PluginFusioninventoryCollect_File_Content Manage the files found by the collect module of agent.
PluginFusioninventoryCollect_Registry Manage the windows registry to get in collect module.
PluginFusioninventoryCollect_Registry_Content Manage the registry keys found by the collect module of agent.
PluginFusioninventoryCollect_Wmi Manage the wmi to get in collect module.
PluginFusioninventoryCollect_Wmi_Content Manage the wmi information found by the collect module of agent.
PluginFusioninventoryCollectRule Rules for collect information.
PluginFusioninventoryCollectRuleCollection Manage collect rule collection.
PluginFusioninventoryCommonView It's a common code for display information in GLPI.
PluginFusioninventoryCommunication Manage communication with agents using XML
PluginFusioninventoryCommunicationNetworkDiscovery Manage the communication of network discovery feature with the agents.
PluginFusioninventoryCommunicationNetworkInventory Manage the communication of network inventory feature with the agents.
PluginFusioninventoryCommunicationRest Manage the communication in REST with the agents.
PluginFusioninventoryComputer Manage the search in groups (static and dynamic).
PluginFusioninventoryComputerArch Manage the architecture of the operating system, like x86, 64bits, arm.
PluginFusioninventoryComputerLicenseInfo Manage the software licenses found on the computer.
PluginFusioninventoryComputerOperatingSystem Mnage the operating system on the computer.
PluginFusioninventoryComputerOperatingSystemEdition Manage operating system edition of the computer.
PluginFusioninventoryComputerOSKernelName Manage the operating system kernel name of computer.
PluginFusioninventoryComputerOSKernelVersion Manage the operating system kernel version of computer.
PluginFusioninventoryComputerRemoteManagement Manage the remote management information of softwares installed on computer.
PluginFusioninventoryConfig Manage the configuration of the plugin.
PluginFusioninventoryConfigLogField Manage the configuration of logs of network inventory (network equipment and printer).
PluginFusioninventoryConfigSecurity Manage the SNMP authentication: v1, v2c and v3 support.
PluginFusioninventoryConfiguration Manage the general configuration tabs (display) in plugin Fusioninventory.
PluginFusioninventoryCredential Manage the credentials for inventory VMWARE ESX.
PluginFusioninventoryCredentialIp Manage the IP of VMWARE ESX and link to credentials to be able to inventory these specific systems througth the webservice.
PluginFusioninventoryDeployAction Manage the actions in package for deploy system.
PluginFusioninventoryDeployCheck Manage the checks before deploy a package.
PluginFusioninventoryDeployCommon Manage the prepare task job and give the data to the agent when request what to deploy.
PluginFusioninventoryDeployFile Manage the files to deploy.
PluginFusioninventoryDeployFilepart Used to get the deploy file in many parts.
PluginFusioninventoryDeployGroup Manage the deploy groups.
PluginFusioninventoryDeployGroup_Dynamicdata Manage the dynamic groups (based on search engine of GLPI).
PluginFusioninventoryDeployGroup_Staticdata Manage the static groups (add manually computers in the group).
PluginFusioninventoryDeployinstall Manage the deploy package installation.
PluginFusioninventoryDeployMirror Manage the deploy mirror depend on location of computer.
PluginFusioninventoryDeployPackage Manage the deploy packages.
PluginFusioninventoryDeployPackage_Entity Manage the visibility of package by entity.
PluginFusioninventoryDeployPackage_Group Manage the visibility of package by group.
PluginFusioninventoryDeployPackage_Profile Manage the visibility of package by profile.
PluginFusioninventoryDeployPackage_User Manage the visibility of package by user.
PluginFusioninventoryDeployTask Manage the deploy task.
PluginFusioninventoryDeployTaskjob Manage the deploy task job.
PluginFusioninventoryDisplay Manage the general display in plugin.
PluginFusioninventoryEntity Manage the entity configuration.
PluginFusioninventoryFormatconvert Used to convert inventory from agent to inventory ready to inject in GLPI.
PluginFusioninventoryIgnoredimportdevice Manage the list of devices ignored on import.
PluginFusioninventoryInventoryComputerAntivirus Manage the antivirus information on computer.
PluginFusioninventoryInventoryComputerBatteries Manage the batteries of laptop.
PluginFusioninventoryInventoryComputerBlacklist Manage the fields values to backend on computer inventory. If have serial xxxxx, so delete it.
PluginFusioninventoryInventoryComputerChemistry Manage the computer chemistry.
PluginFusioninventoryInventoryComputerComputer Manage the extended information of a computer.
PluginFusioninventoryInventoryComputerCriteria Manage the the criteria of blacklist.
PluginFusioninventoryInventoryComputerESX Manage the taskjob for VMWARE ESX / VCENTER remote inventory.
PluginFusioninventoryInventoryComputerImportXML Manage the manual import of XML inventory.
PluginFusioninventoryInventoryComputerInventory Manage the import of computer inventory.
PluginFusioninventoryInventoryComputerStat Manage the computer inventory stats (number of inventories arrived in the plugin Fusioninventory and regroued by hour).
PluginFusioninventoryInventoryComputerStorage Manage the special storage of computer (like LVM).
PluginFusioninventoryInventoryComputerStorage_Storage Manage the storage links of computer.
PluginFusioninventoryInventoryComputerStorageType Manage the storage types of computer.
PluginFusioninventoryInventoryComputerWebservice Manage the webservice methods offered by the plugin FusionInventory.
PluginFusioninventoryInventoryExternalDB Used to get the name of PCIID, USBID and PCIID.
PluginFusioninventoryInventoryRuleEntity Manage entity rules for computer.
PluginFusioninventoryInventoryRuleEntityCollection Manage the entity rules collection.
PluginFusioninventoryInventoryRuleImport Manage import rules for inventory (local, network discovery, network inventory).
PluginFusioninventoryInventoryRuleImportCollection Manage import rule collection for inventory.
PluginFusioninventoryInventoryRuleLocation Manage the location rules for computer.
PluginFusioninventoryInventoryRuleLocationCollection Manage the location rule collection.
PluginFusioninventoryIPRange Manage the IP ranges for network discovery and network inventory.
PluginFusioninventoryIPRange_ConfigSecurity Manage the SNMP authentications on IP ranges.
PluginFusioninventoryLock Manage the lock fields in itemtype.
PluginFusioninventoryLogger Manage extra debug in files.
PluginFusioninventoryMapping Manage the mapping of network equipment and printer.
PluginFusioninventoryMenu Manage the menu of plugin FusionInventory.
PluginFusioninventoryModule Manage the agent modules.
PluginFusioninventoryNetworkdiscovery Manage network discovery prepare the task and give the configuration to the agent.
PluginFusioninventoryNetworkEquipment Manage and display extended information of network equipments.
PluginFusioninventoryNetworkinventory Manage network inventory task jobs.
PluginFusioninventoryNetworkPort Manage the network ports display and parse the inventory to add / update in database.
PluginFusioninventoryNetworkPortConnectionLog Manage the history of network port connections.
PluginFusioninventoryNetworkPortLog Manage the history of network port changes.
PluginFusioninventoryNetworkporttype Manage the differents type of network ports.
PluginFusioninventoryPrinter Manage the printer extended information.
PluginFusioninventoryPrinterCartridge Manage the printer cartridge filled by inventory like type, state of ink in cartridge, number pages.
PluginFusioninventoryPrinterLog Manage the printer changes (history).
PluginFusioninventoryPrinterLogReport Manage the log reports of printers.
PluginFusioninventoryProfile Manage the profiles in plugin.
PluginFusioninventoryRuleDictionnaryComputerArch Manage the computer architecture dictionnaries.
PluginFusioninventoryRuleDictionnaryComputerArchCollection Manage the computer architecture dictionnaries collection.
PluginFusioninventoryRulematchedlog Manage the import rules used for each import / update into GLPI.
PluginFusioninventorySearch Manage the search engine. Same than GLPI search engine but with little modifications.
PluginFusioninventorySetup Manage the installation and uninstallation of the plugin.
PluginFusioninventorySnmpmodelImportExport Manage the network discovery import.
PluginFusioninventoryStateDiscovery Manage the network discovery state.
PluginFusioninventoryStateInventory Manage the network inventory state.
PluginFusioninventoryStaticmisc Manage the specifications of each module and for the task configuration.
PluginFusioninventoryTask Manage the task system.
PluginFusioninventoryTaskjob Manage the task jobs.
PluginFusioninventoryTaskjoblog Manage the logs of task job.
PluginFusioninventoryTaskjobstate Manage the state of task jobs.
PluginFusioninventoryTaskjobView Manage the display of task jobs.
PluginFusioninventoryTaskView Manage the display part of tasks.
PluginFusioninventoryTimeslot Manage the timeslot for tasks. It's the time in the week the task run.
PluginFusioninventoryTimeslotEntry Manage the hours in the timeslot.
PluginFusioninventoryToolbox Manage the functions used in many classes.
PluginFusioninventoryUnmanaged Manage the unmanaged devices (not manage into GLPI).
PluginFusioninventoryWakeonlan Manage the wake on lan of computers by the agent.

Constants

GLPI_PLUGIN_DOC_DIR

GLPI_PLUGIN_DOC_DIR

GLPI_ROOT

GLPI_ROOT

GLPI_ROOT

GLPI_ROOT

PLUGIN_FUSIONINVENTORY_OFFICIAL_RELEASE

PLUGIN_FUSIONINVENTORY_OFFICIAL_RELEASE

PLUGIN_FUSIONINVENTORY_REALVERSION

PLUGIN_FUSIONINVENTORY_REALVERSION

PLUGIN_FUSIONINVENTORY_ROOT

PLUGIN_FUSIONINVENTORY_ROOT

PLUGIN_FUSIONINVENTORY_VERSION

PLUGIN_FUSIONINVENTORY_VERSION

PLUGIN_FUSIONINVENTORY_XML

PLUGIN_FUSIONINVENTORY_XML

Functions

buildBookmarkUrl()

buildBookmarkUrl(string  $url, array  $get) : string

Generate the URL bookmark

Parameters

string $url
array $get

Returns

string

changeDisplayPreference()

changeDisplayPreference(string  $olditemtype, string  $newitemtype) 

Manage the display preference part migration

Parameters

string $olditemtype
string $newitemtype

cron_plugin_fusioninventory()

cron_plugin_fusioninventory() : integer

Manage GLPI cron

Returns

integer

displaySearchForm()

displaySearchForm() 

Display special search form

displaySearchForm()

displaySearchForm() 

Display special search form

do_agent_migration()

do_agent_migration(object  $migration) : array

Manage the agent part migration

Parameters

object $migration

Returns

array

do_antivirus_migration()

do_antivirus_migration(object  $migration) 

Manage the antivirus part migration

Parameters

object $migration

do_blacklist_migration()

do_blacklist_migration(object  $migration) 

Manage the computer blacklist part migration

Parameters

object $migration

do_collect_migration()

do_collect_migration(object  $migration) 

Manage the collect part migration

Parameters

object $migration

do_computerarch_migration()

do_computerarch_migration(object  $migration) 

Manage the computer architecture part migration

Parameters

object $migration

do_computerbattery_migration()

do_computerbattery_migration(object  $migration) 

Manage the computer batteries part migration

Parameters

object $migration

do_computerchemistry_migration()

do_computerchemistry_migration(object  $migration) 

Manage the computer chemistry part migration

Parameters

object $migration

do_computercomputer_migration()

do_computercomputer_migration(object  $migration) 

Manage the computer extended part migration

Parameters

object $migration

do_computerlicense_migration()

do_computerlicense_migration(object  $migration) 

Manage the computer license part migration

Parameters

object $migration

do_computeroperatingsystem_migration()

do_computeroperatingsystem_migration(object  $migration) 

Manage the computer operating system part migration

Parameters

object $migration

do_computerremotemgmt_migration()

do_computerremotemgmt_migration(object  $migration) 

Manage the computer remote management part migration

Parameters

object $migration

do_computerstat_migration()

do_computerstat_migration(object  $migration) 

Manage the computer inventory staistics part migration

Parameters

object $migration

do_computerstorage_migration()

do_computerstorage_migration(object  $migration) 

Manage the computer storage part migration

Parameters

object $migration

do_config_migration()

do_config_migration(object  $migration) : array

Manage the configuration part migration

Parameters

object $migration

Returns

array

do_configlogfield_migration()

do_configlogfield_migration(object  $migration) 

Manage the configuration log fields (for network equipment and printer) part migration

Parameters

object $migration

do_configsecurity_migration()

do_configsecurity_migration(object  $migration) 

Manage the Config security (SNMP anthentication) part migration

Parameters

object $migration

do_credentialESX_migration()

do_credentialESX_migration(object  $migration) 

Manage the ESX credentials part migration

Parameters

object $migration

do_dblocks_migration()

do_dblocks_migration(object  $migration) 

Manage the database locks part migration

Parameters

object $migration

do_deployfile_migration()

do_deployfile_migration(object  $migration) 

Manage the deploy files part migration

Parameters

object $migration

do_deploygroup_migration()

do_deploygroup_migration(object  $migration) 

Manage the deploy group part migration

Parameters

object $migration

do_deploymirror_migration()

do_deploymirror_migration(object  $migration) 

Manage the deploy mirror part migration

Parameters

object $migration

do_deploypackage_migration()

do_deploypackage_migration(object  $migration) 

Manage the deploy package part migration

Parameters

object $migration

do_entities_migration()

do_entities_migration(object  $migration) 

Manage the entities part migration

Parameters

object $migration

do_ignoredimport_migration()

do_ignoredimport_migration(object  $migration) 

Manage the ignored import rules part migration

Parameters

object $migration

do_iprange_migration()

do_iprange_migration(object  $migration) : array

Manage the IP range part migration

Parameters

object $migration

Returns

array

do_iprangeconfigsecurity_migration()

do_iprangeconfigsecurity_migration(object  $migration) 

Manage the SNMP communities linked to IP range part migration

Parameters

object $migration

do_locks_migration()

do_locks_migration(object  $migration) 

Manage the locks part migration

Parameters

object $migration

do_mapping_migration()

do_mapping_migration(object  $migration) 

Manage the mapping part migration

Parameters

object $migration

do_networkequipment_migration()

do_networkequipment_migration(object  $migration) 

Manage the network equipment part migration

Parameters

object $migration

do_networkport_migration()

do_networkport_migration(object  $migration) 

Manage the network port part migration

Parameters

object $migration

do_printer_migration()

do_printer_migration(object  $migration) 

Manage the printer part migration

Parameters

object $migration

do_profile_migration()

do_profile_migration(object  $migration) 

Manage the profile part migration

Parameters

object $migration

do_rule_migration()

do_rule_migration(object  $migration) 

Manage the rules part migration

Parameters

object $migration

do_rulematchedlog_migration()

do_rulematchedlog_migration(object  $migration) 

Manage the rules matched log part migration

Parameters

object $migration

do_snmpmodel_migration()

do_snmpmodel_migration(object  $migration) 

Manage the SNMP models part migration

Parameters

object $migration

do_statediscovery_migration()

do_statediscovery_migration(object  $migration) 

Manage the discovery state part migration

Parameters

object $migration

do_task_migration()

do_task_migration(object  $migration) 

Manage the task part migration

Parameters

object $migration

do_timeslot_migration()

do_timeslot_migration(object  $migration) 

Manage the timeslot (of task) part migration

Parameters

object $migration

do_unmanaged_migration()

do_unmanaged_migration(object  $migration) 

Manage the unmanaged devices part migration

Parameters

object $migration

doDynamicDataSearchParamsMigration()

doDynamicDataSearchParamsMigration() 

Migrate search params from the old system to the new one As search engine integration has been improved with GLPI 0.85

getContainsArray()

getContainsArray(array  $get) : string

Get array in GET for search

Parameters

array $get

Returns

string

getValues()

getValues(array  $get, array  $post) : array

Get values

Parameters

array $get
array $post

Returns

array

migrateTablesFromFusinvDeploy()

migrateTablesFromFusinvDeploy(object  $migration) 

Migrate tables from plugin fusinvdeploy to fusioninventory all datas in exploded tables are merged and stored in json in order table

Parameters

object $migration

migrateTablesFusionInventory()

migrateTablesFusionInventory(object  $migration, array  $a_table) 

Manage the migration of MySQL tables / fields

Parameters

object $migration
array $a_table

migrationDynamicGroupFields()

migrationDynamicGroupFields(array  $fields) : string

Migration of one dynamic group

Parameters

array $fields

search paramas in old format (serialized)

Returns

string —

search paramas in new format (serialized)

plugin_fusioninventory_addDefaultWhere()

plugin_fusioninventory_addDefaultWhere(string  $type) : string

Add where in search query

Parameters

string $type

Returns

string

plugin_fusioninventory_addLeftJoin()

plugin_fusioninventory_addLeftJoin(string  $itemtype, string  $ref_table, string  $new_table, string  $linkfield, string  $already_link_tables) : string

Manage left join in search query

Parameters

string $itemtype
string $ref_table
string $new_table
string $linkfield
string $already_link_tables

Returns

string

plugin_fusioninventory_addOrderBy()

plugin_fusioninventory_addOrderBy(string  $type, integer  $id, string  $order, integer  $key) : string

Manage order in search query

Parameters

string $type
integer $id
string $order
integer $key

Returns

string

plugin_fusioninventory_addSelect()

plugin_fusioninventory_addSelect(string  $type, integer  $id, integer  $num) : string

Manage Add select to search query

Parameters

string $type
integer $id
integer $num

Returns

string

plugin_fusioninventory_addWhere()

plugin_fusioninventory_addWhere(string  $link, string  $nott, string  $type, integer  $id, string  $val) : string

Manage where in search query

Parameters

string $link
string $nott
string $type
integer $id
string $val

Returns

string

plugin_fusioninventory_check_config()

plugin_fusioninventory_check_config() : boolean

Check if the config is ok

Returns

boolean

plugin_fusioninventory_check_prerequisites()

plugin_fusioninventory_check_prerequisites() : boolean

Manage / check the prerequisites of the plugin

Returns

boolean

plugin_fusioninventory_footer()

plugin_fusioninventory_footer(string  $baseroot) 

Add the FusionInventory footer in GLPI interface

Parameters

string $baseroot

plugin_fusioninventory_forceGroupBy()

plugin_fusioninventory_forceGroupBy(string  $type) : boolean

Manage group by in search query

Parameters

string $type

Returns

boolean

plugin_fusioninventory_getAddSearchOptions()

plugin_fusioninventory_getAddSearchOptions(string  $itemtype) : array

Add search options for GLPI objects

Parameters

string $itemtype

Returns

array

plugin_fusioninventory_getDatabaseRelations()

plugin_fusioninventory_getDatabaseRelations() : array

Define dropdown relations

Returns

array

plugin_fusioninventory_getDropdown()

plugin_fusioninventory_getDropdown() : array

Define Dropdown tables to be manage in GLPI

Returns

array

plugin_fusioninventory_giveItem()

plugin_fusioninventory_giveItem(string  $type, integer  $id, array  $data, integer  $num) : string

Manage search give items (display information in the search page)

Parameters

string $type
integer $id
array $data
integer $num

Returns

string

plugin_fusioninventory_haveTypeRight()

plugin_fusioninventory_haveTypeRight(string  $type, string  $right) : boolean

Check the rights

Parameters

string $type
string $right

Returns

boolean

plugin_fusioninventory_install()

plugin_fusioninventory_install() : boolean

Manage the installation process

Returns

boolean

plugin_fusioninventory_MassiveActions()

plugin_fusioninventory_MassiveActions(string  $type) : array

Add massive actions to GLPI itemtypes

Parameters

string $type

Returns

array

plugin_fusioninventory_MassiveActionsFieldsDisplay()

plugin_fusioninventory_MassiveActionsFieldsDisplay(array  $options = array()) : boolean

Manage massice actions fields display

Parameters

array $options

Returns

boolean

plugin_fusioninventory_registerMethods()

plugin_fusioninventory_registerMethods() 

Register the webservices methods

plugin_fusioninventory_searchOptionsValues()

plugin_fusioninventory_searchOptionsValues(object  $item) : boolean

Manage search options values

Parameters

object $item

Returns

boolean

plugin_fusioninventory_uninstall()

plugin_fusioninventory_uninstall() : boolean

Manage the uninstallation of the plugin

Returns

boolean

plugin_init_fusioninventory()

plugin_init_fusioninventory() 

Init the hooks of FusionInventory

plugin_item_add_fusioninventory()

plugin_item_add_fusioninventory(object  $parm) : object

Manage when add an item

Parameters

object $parm

Returns

object

plugin_item_purge_fusioninventory()

plugin_item_purge_fusioninventory(object  $parm) : object

Manage when purge an item

Parameters

object $parm

Returns

object

plugin_item_transfer_fusioninventory()

plugin_item_transfer_fusioninventory(object  $parm) : boolean

Manage when transfer an item

Parameters

object $parm

Returns

boolean

plugin_item_update_fusioninventory()

plugin_item_update_fusioninventory(object  $parm) 

Manage when update an item

Parameters

object $parm

plugin_pre_item_delete_fusioninventory()

plugin_pre_item_delete_fusioninventory(object  $parm) : object

Manage pre-item delete an item

Parameters

object $parm

Returns

object

plugin_pre_item_purge_fusioninventory()

plugin_pre_item_purge_fusioninventory(object  $parm) : object

Manage pre-item purge an item

Parameters

object $parm

Returns

object

plugin_pre_item_update_fusioninventory()

plugin_pre_item_update_fusioninventory(object  $parm) 

Manage pre-item update an item

Parameters

object $parm

plugin_version_fusioninventory()

plugin_version_fusioninventory() : array

Manage the version information of the plugin

Returns

array

pluginFusioninventoryFindFiles()

pluginFusioninventoryFindFiles(string  $dir = '.', string  $pattern = '/./') : array

Find files recursively filtered with pattern (grabbed from http://rosettacode.org/wiki/Walk_a_directory/Recursively#PHP)

Parameters

string $dir
string $pattern

Returns

array

pluginFusioninventoryFlatArray()

pluginFusioninventoryFlatArray(array  $array) : array

Flat a multi-dimensional array

Parameters

array $array

Returns

array

pluginFusioninventoryGetCurrentVersion()

pluginFusioninventoryGetCurrentVersion() : string

Get the current version of the plugin

Returns

string

pluginFusioninventoryInstall()

pluginFusioninventoryInstall(string  $version, string  $migrationname = 'Migration') 

This function manage the installation of the plugin.

Parameters

string $version
string $migrationname

class name related to Migration class of GLPI

pluginFusioninventoryUpdate()

pluginFusioninventoryUpdate(string  $current_version, string  $migrationname = 'Migration') 

The main function to update the plugin FusionInventory

Parameters

string $current_version
string $migrationname

pluginFusioninventoryUpdatemapping()

pluginFusioninventoryUpdatemapping() 

Manage the update of mapping part migration

pluginFusioninventoryUpdateTasks()

pluginFusioninventoryUpdateTasks(object  $migration, integer  $plugin_id) 

Manage update the task system

Parameters

object $migration
integer $plugin_id

resetSearch()

resetSearch() 

Reset the search engine

script_endswith()

script_endswith(string  $scriptname) : boolean

Check if the script name finish by

Parameters

string $scriptname

Returns

boolean

tmp_display_log()

tmp_display_log(array  $log) : string

Display tmp log

Parameters

array $log

Returns

string

update213to220_ConvertField()

update213to220_ConvertField(object  $migration) 

Manage the update from 2.13 to 2.20 version (very old) part migration

Parameters

object $migration