Property | Type | Description | |
---|---|---|---|
$devices | Device container - format $device = array(ID,"device type","ID in device table","specificity value") | ||
$dohistory | From CommonDBTM | ||
$rightname |
Property | Type | Description | |
---|---|---|---|
$forward_entity_to | |||
$usenotepad |
Method | Description | |
---|---|---|
cleanDBonPurge ( ) | ||
defineTabs ( $options = [] ) | ||
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
getLinkedItems ( ) : an | Return the linked items (in computers_items) | |
getMenuShorcut ( ) | ||
getSearchOptions ( ) | ||
getSpecificMassiveActions ( $checkitem = NULL ) | ||
getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
getTypeName ( $nb ) | Name of the type | |
post_addItem ( ) | ||
post_deleteItem ( ) | ||
post_restoreItem ( ) | ||
post_updateItem ( $history = 1 ) | ||
prepareInputForAdd ( $input ) | ||
showForm ( $ID, $options = [] ) : Nothing | Print the computer form | |
showOperatingSystem ( Computer $comp ) : Nothing | Print the computer's operating system form | |
useDeletedToLockIfDynamic ( ) |
static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
$item | CommonGLPI | CommonGLPI object |
$tabnum | (default 1) | |
$withtemplate | (default 0) |
public getLinkedItems ( ) : an | ||
return | an | array of linked items like array('Computer' => array(1,2), 'Printer' => array(5,6)) |
public getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
$item | CommonGLPI |
static public getTypeName ( $nb ) | ||
$nb | integer number of item in the type (default 0) |
public showForm ( $ID, $options = [] ) : Nothing | ||
$ID | integer ID of the item | |
$options | array - target for the Form - withtemplate template or basic computer | |
return | Nothing | (display) |
static public showOperatingSystem ( Computer $comp ) : Nothing | ||
$comp | Computer | Computer object |
return | Nothing | (call to classes members) |
public $devices |