setup.php

FusionInventory

Copyright (C) 2010-2016 by the FusionInventory Development Team.

http://www.fusioninventory.org/ https://github.com/fusioninventory/fusioninventory-for-glpi http://forge.fusioninventory.org/


LICENSE

This file is part of FusionInventory project.

FusionInventory is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

FusionInventory is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with FusionInventory. If not, see http://www.gnu.org/licenses/.


This file is used to manage the setup / initialize plugin FusionInventory.


Constants

PLUGIN_FUSIONINVENTORY_VERSION

PLUGIN_FUSIONINVENTORY_VERSION

PLUGIN_FUSIONINVENTORY_XML

PLUGIN_FUSIONINVENTORY_XML

PLUGIN_FUSIONINVENTORY_OFFICIAL_RELEASE

PLUGIN_FUSIONINVENTORY_OFFICIAL_RELEASE

PLUGIN_FUSIONINVENTORY_REALVERSION

PLUGIN_FUSIONINVENTORY_REALVERSION

PLUGIN_FUSIONINVENTORY_ROOT

PLUGIN_FUSIONINVENTORY_ROOT

Functions

script_endswith()

script_endswith(string  $scriptname) : boolean

Check if the script name finish by

Parameters

string $scriptname

Returns

boolean

plugin_init_fusioninventory()

plugin_init_fusioninventory() 

Init the hooks of FusionInventory

plugin_version_fusioninventory()

plugin_version_fusioninventory() : array

Manage the version information of the plugin

Returns

array

plugin_fusioninventory_check_prerequisites()

plugin_fusioninventory_check_prerequisites() : boolean

Manage / check the prerequisites of the plugin

Returns

boolean

plugin_fusioninventory_check_config()

plugin_fusioninventory_check_config() : boolean

Check if the config is ok

Returns

boolean

plugin_fusioninventory_haveTypeRight()

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

Check the rights

Parameters

string $type
string $right

Returns

boolean

plugin_fusioninventory_footer()

plugin_fusioninventory_footer(string  $baseroot) 

Add the FusionInventory footer in GLPI interface

Parameters

string $baseroot