\PluginFusioninventoryRulematchedlog

Manage the import rules used for each import / update into GLPI.

Summary

Methods
Properties
Constants
getTypeName()
countForItem()
getTabNameForItem()
displayTabContentForItem()
cleanOlddata()
showForm()
showFormAgent()
$rightname
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$rightname

$rightname : string

The right name for this class

Type

string

Methods

getTypeName()

getTypeName(integer  $nb) : string

Get name of this type by language of the user connected

Parameters

integer $nb

number of elements

Returns

string —

name of this type

countForItem()

countForItem(object  $item) : integer

Count number of elements

Parameters

object $item

Returns

integer

getTabNameForItem()

getTabNameForItem(object  $item, integer  $withtemplate) : string|array

Get the tab name used for item

Parameters

object $item

the item object

integer $withtemplate

1 if is a template form

Returns

string|array —

name of the tab

displayTabContentForItem()

displayTabContentForItem(object  $item, integer  $tabnum = 1, integer  $withtemplate) : boolean

Display the content of the tab

Parameters

object $item
integer $tabnum

number of the tab to display

integer $withtemplate

1 if is a template form

Returns

boolean

cleanOlddata()

cleanOlddata(integer  $items_id, string  $itemtype) 

Clean old data

Parameters

integer $items_id
string $itemtype

showForm()

showForm(integer  $items_id, string  $itemtype) : true

Display form

Parameters

integer $items_id
string $itemtype

Returns

true

showFormAgent()

showFormAgent(integer  $agents_id) 

Display form for agent

Parameters

integer $agents_id