프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$devices | Device container - format $device = array(ID,"device type","ID in device table","specificity value") | ||
$dohistory | From CommonDBTM | ||
$rightname |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$forward_entity_to | |||
$usenotepad |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | 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 | |
리턴 | Nothing | (display) |
static public showOperatingSystem ( Computer $comp ) : Nothing | ||
$comp | Computer | Computer object |
리턴 | Nothing | (call to classes members) |
public $devices |