Свойство | Тип | Описание | |
---|---|---|---|
$dohistory | |||
$items_id | |||
$itemtype | From CommonDBChild |
Метод | Описание | |
---|---|---|
defineTabs ( $options = [] ) | ||
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
findVirtualMachine ( $fields = [] ) : the | Find a virtual machine by uuid | |
getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
getTypeName ( $nb ) | ||
getUUIDRestrictRequest ( $uuid ) : the | Get correct uuid sql search for virtualmachines | |
post_getEmpty ( ) | ||
showForComputer ( Computer $comp ) : Nothing | Print the computers disks | |
showForVirtualMachine ( Computer $comp ) : Nothing | Show hosts for a virtualmachine | |
showForm ( $ID, $options = [] ) : true | Print the version form |
static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
$item | CommonGLPI | CommonGLPI object |
$tabnum | (default 1) | |
$withtemplate | (default 0) |
static public findVirtualMachine ( $fields = [] ) : the | ||
Результат | the | ID of the computer that have this uuid or false otherwise |
public getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
$item | CommonGLPI |
static public getUUIDRestrictRequest ( $uuid ) : the | ||
$uuid | the uuid given | |
Результат | the | restrict which contains uuid, uuid with first block flipped, uuid with 3 first block flipped |
static public showForComputer ( Computer $comp ) : Nothing | ||
$comp | Computer | Computer object |
Результат | Nothing | (call to classes members) |
static public showForVirtualMachine ( Computer $comp ) : Nothing | ||
$comp | Computer | Computer object that represents the virtual machine |
Результат | Nothing | (call to classes members) |
public showForm ( $ID, $options = [] ) : true | ||
$ID | integer ID of the item | |
$options | array - target for the Form - computers_id ID of the computer for add process | |
Результат | true | if displayed false if item not found or not right to display |