프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |