Property | Type | Description | |
---|---|---|---|
$canDeleteOnItemClean | |||
$checkParentRights | |||
$dohistory | |||
$items_id | |||
$itemtype | From CommonDBChild | ||
$mustBeAttached | |||
$rightname |
Property | Type | Description | |
---|---|---|---|
$forward_entity_to |
Method | Description | |
---|---|---|
affectAddress ( $networkNameID, $items_id, $itemtype ) | ||
cleanDBonPurge ( ) | ||
countForItem ( CommonDBTM $item ) | ||
defineTabs ( $options = [] ) | ||
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
getHTMLTableCellsForItem ( HTMLTableRow $row = NULL, CommonDBTM $item = NULL, HTMLTableCell $father = NULL, array $options = [] ) | ||
getHTMLTableHeader ( $itemtype, HTMLTableBase $base, HTMLTableSuperHeader $super = NULL, HTMLTableHeader $father = NULL, array $options = [] ) | ||
getInternetNameFromID ( $ID ) : its | Get the full name (internet name) of a NetworkName | |
getSearchOptions ( ) | ||
getSearchOptionsToAdd ( array &$tab, array $joinparams, $itemtype ) | ||
getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
getTypeName ( $nb ) | ||
post_addItem ( ) | ||
post_updateItem ( $history = 1 ) | ||
post_workOnItem ( ) | \brief Update IPAddress database Update IPAddress database to remove old IPs and add new ones. | |
showForItem ( CommonDBTM $item, $withtemplate ) | \brief Show names for an item from its form Beware that the rendering can be different if readden from direct item form (ie : add new NetworkName, remove, . | |
showForm ( $ID, $options = [] ) : Nothing | Print the network name form | |
showFormForNetworkPort ( $networkPortID ) | ||
unaffectAddressByID ( $networkNameID ) | \brief dettach an address from an item | |
unaffectAddressesOfItem ( $items_id, $itemtype ) | \brief dettach an address from an item |
static public affectAddress ( $networkNameID, $items_id, $itemtype ) | ||
$networkNameID | ||
$items_id | ||
$itemtype |
static public countForItem ( CommonDBTM $item ) | ||
$item | CommonDBTM | CommonDBTM object |
static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
$item | CommonGLPI |
static public getHTMLTableCellsForItem ( HTMLTableRow $row = NULL, CommonDBTM $item = NULL, HTMLTableCell $father = NULL, array $options = [] ) | ||
$row | HTMLTableRow | HTMLTableRow object (default NULL) |
$item | CommonDBTM | CommonDBTM object (default NULL) |
$father | HTMLTableCell | HTMLTableCell object (default NULL) |
$options | array | array |
static public getHTMLTableHeader ( $itemtype, HTMLTableBase $base, HTMLTableSuperHeader $super = NULL, HTMLTableHeader $father = NULL, array $options = [] ) | ||
$itemtype | ||
$base | HTMLTableBase | HTMLTableBase object |
$super | HTMLTableSuperHeader | HTMLTableSuperHeader object (default NULL |
$father | HTMLTableHeader | HTMLTableHeader object (default NULL) |
$options | array | array |
static public getInternetNameFromID ( $ID ) : its | ||
$ID | ID of the NetworkName | |
return | its | internet name, or empty string if invalid NetworkName |
static public getSearchOptionsToAdd ( array &$tab, array $joinparams, $itemtype ) | ||
$tab | array | array the array to fill |
$joinparams | array | array |
$itemtype |
public getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
$item | CommonGLPI |
public post_workOnItem ( ) |
static public showForItem ( CommonDBTM $item, $withtemplate ) | ||
$item | CommonDBTM | CommonGLPI object |
$withtemplate | integer withtemplate param (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 showFormForNetworkPort ( $networkPortID ) | ||
$networkPortID |
static public unaffectAddressByID ( $networkNameID ) | ||
$networkNameID | the id of the NetworkName |
static public unaffectAddressesOfItem ( $items_id, $itemtype ) | ||
$items_id | the id of the item | |
$itemtype | the type of the item |