\PluginFusioninventoryDeployGroup_Dynamicdata

Manage the dynamic groups (based on search engine of GLPI).

Summary

Methods
Properties
Constants
getTabNameForItem()
displayTabContentForItem()
showList()
getDatas()
getTargetsByGroup()
$rightname
$itemtype
$items_id
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

$itemtype

$itemtype : string

Itemtype of the item linked

Type

string

$items_id

$items_id : string

id field of the item linked

Type

string

Methods

getTabNameForItem()

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

Get the tab name used for item

Parameters

object $item

the item object

integer $withtemplate

1 if is a template form

Returns

string —

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

showList()

showList(string  $itemtype, array  $params, array  $forcedisplay) 

Display list of computers in the group

Parameters

string $itemtype
array $params
array $forcedisplay

getDatas()

getDatas(string  $itemtype, array  $params, array  $forcedisplay = array()) : array

Get data, so computer list

Parameters

string $itemtype
array $params
array $forcedisplay

Returns

array

getTargetsByGroup()

getTargetsByGroup(object  $group) : array

Get computers belonging to a dynamic group

Parameters

object $group

PluginFusioninventoryDeployGroup instance

Returns

array