프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$forward_entity_to | |||
$notable | static public $checkItem_1_Rights = self::DONT_CHECK_ITEM_RIGHTS; |
메소드 | 설명 | |
---|---|---|
addDevices ( $numberToAdd, $itemtype, $items_id, $devices_id, $input = [] ) | ||
addDevicesFromPOST ( $input ) | Add one or several device(s) from front/item_devices.form.php. | |
affectItem_Device ( $item_devices_id, $items_id, $itemtype ) : boolean | ||
canView ( ) | ||
cleanItemDeviceDBOnItemDelete ( $itemtype, $items_id, $unaffect ) | ||
cloneItem ( $itemtype, $oldid, $newid ) | ||
defineTabs ( $options = [] ) | ||
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
getConcernedItems ( ) : array | Get all kind of items that can be used by Item_Device* | |
getConnexityMassiveActionsSpecificities ( ) | ||
getDeviceForeignKey ( ) | ||
getDeviceType ( ) : string | Get associated device to the current item_device | |
getDeviceTypes ( ) : array | Get all the kind of devices available inside the system. | |
getForbiddenStandardMassiveAction ( ) | ||
getItemAffinities ( $itemtype ) : array | Get the Item_Device* a given item type can have | |
getRights ( $interface = 'central' ) | ||
getSearchOptions ( ) | ||
getSpecificities ( $specif = '' ) : array | Get the specificities of the given device. For instance, the serial number, the size of the memory, the frequency of the CPUs . | |
getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
getTableGroup ( CommonDBTM $item, HTMLTableMain $table, array $options, HTMLTableSuperHeader $delete_all_column = NULL, HTMLTableSuperHeader $common_column, HTMLTableSuperHeader $specific_column, HTMLTableSuperHeader $delete_column = NULL, $dynamic_column ) | Get the group of elements regarding given item. | |
getTypeName ( $nb ) | ||
itemAffinity ( ) : array | Get the items on which this Item_Device can be attached. For instance, a computer can have any kind of device. Conversely, a soundcard does not concern a NetworkEquipment | |
showForItem ( CommonGLPI $item, $withtemplate ) | ||
showForm ( $ID, $options = [] ) | ||
updateAll ( $input ) |
public addDevices ( $numberToAdd, $itemtype, $items_id, $devices_id, $input = [] ) | ||
$numberToAdd | ||
$itemtype | ||
$items_id | ||
$devices_id | ||
$input | array to complete (permit to define values) |
static public addDevicesFromPOST ( $input ) | ||
$input | array of input: should be $_POST |
static public affectItem_Device ( $item_devices_id, $items_id, $itemtype ) : boolean | ||
$item_devices_id | ||
$items_id | ||
$itemtype | ||
리턴 | boolean |
static public cleanItemDeviceDBOnItemDelete ( $itemtype, $items_id, $unaffect ) | ||
$itemtype | ||
$items_id | ||
$unaffect |
static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
$item | CommonGLPI |
static public getConcernedItems ( ) : array | ||
리턴 | array | of the available items |
static public getConnexityMassiveActionsSpecificities ( ) |
static public getDeviceType ( ) : string | ||
리턴 | string | containing the device |
static public getDeviceTypes ( ) : array | ||
리턴 | array | of the types of Item_Device* available |
static public getItemAffinities ( $itemtype ) : array | ||
$itemtype | the type of the item that we want to know its devices | |
리턴 | array | of Item_Device* |
static public getSpecificities ( $specif = '' ) : array | ||
$specif | string specificity to display Should be overloaded by Item_Device* | |
리턴 | array | of the specificities: index is the field name and the values are the attributs of the specificity (long name, short name, size) |
public getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
$item | CommonGLPI |
public getTableGroup ( CommonDBTM $item, HTMLTableMain $table, array $options, HTMLTableSuperHeader $delete_all_column = NULL, HTMLTableSuperHeader $common_column, HTMLTableSuperHeader $specific_column, HTMLTableSuperHeader $delete_column = NULL, $dynamic_column ) | ||
$item | CommonDBTM | |
$table | HTMLTableMain | |
$options | array | array |
$delete_all_column | HTMLTableSuperHeader | (default NULL) |
$common_column | HTMLTableSuperHeader | |
$specific_column | HTMLTableSuperHeader | |
$delete_column | HTMLTableSuperHeader | (default NULL) |
$dynamic_column |
static public itemAffinity ( ) : array | ||
리턴 | array | of the itemtype that can have this Item_Device |
static public showForItem ( CommonGLPI $item, $withtemplate ) | ||
$item | CommonGLPI |
protected static $notable |