\PluginFusioninventoryDeployMirror

Manage the deploy mirror depend on location of computer.

Summary

Methods
Properties
Constants
getTypeName()
defineTabs()
getList()
showForm()
getSearchOptions()
getSpecificMassiveActions()
showMassiveActionsSubForm()
processMassiveActionsForOneItemtype()
$dohistory
$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

$dohistory

$dohistory : boolean

We activate the history.

Type

boolean

$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

defineTabs()

defineTabs(array  $options = array()) : array

Define tabs to display on form page

Parameters

array $options

Returns

array —

containing the tabs name

getList()

getList(integer  $agents_id = NULL) : array

Get and filter mirrors list by computer agent and location.

Location is retrieved from the computer data.

Parameters

integer $agents_id

Returns

array

showForm()

showForm(integer  $id, array  $options = array()) : true

Display form

Parameters

integer $id
array $options

Returns

true

getSearchOptions()

getSearchOptions() : array

Get search function for the class

Returns

array

getSpecificMassiveActions()

getSpecificMassiveActions(object|null  $checkitem = NULL) : array

Get the massive actions for this object

Parameters

object|null $checkitem

Returns

array —

list of actions

showMassiveActionsSubForm()

showMassiveActionsSubForm(object  $ma) : boolean

Display form related to the massive action selected

Parameters

object $ma

MassiveAction instance

Returns

boolean

processMassiveActionsForOneItemtype()

processMassiveActionsForOneItemtype(object  $ma, object  $item, array  $ids) 

Execution code for massive action

Parameters

object $ma

MassiveAction instance

object $item

item on which execute the code

array $ids

list of ID on which execute the code