Property | Type | Description | |
---|---|---|---|
$dohistory | |||
$items_id | |||
$itemtype | From CommonDBChild |
Method | Description | |
---|---|---|
cloneComputer ( $oldid, $newid ) | Duplicate all disks from a computer template to his clone | |
defineTabs ( $options = [] ) | ||
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
getTypeName ( $nb ) | ||
post_getEmpty ( ) | ||
showForComputer ( Computer $comp, $withtemplate = '' ) : Nothing | Print the computers disks | |
showForm ( $ID, $options = [] ) : true | Print the version form |
static public cloneComputer ( $oldid, $newid ) | ||
$oldid | ||
$newid |
static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
$item | CommonGLPI | CommonGLPI object |
$tabnum | (default 1) | |
$withtemplate | (default 0) |
public getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
$item | CommonGLPI |
static public showForComputer ( Computer $comp, $withtemplate = '' ) : Nothing | ||
$comp | Computer | Computer object |
$withtemplate | boolean Template or basic item (default '') | |
return | 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 | |
return | true | if displayed false if item not found or not right to display |