메소드 |
설명 |
|
cleanDBonPurge ( ) |
|
|
cloneItem ( $itemtype, $old_items_id, $new_items_id ) |
Clone the current NetworkPort when the item is clone |
|
countForItem ( CommonDBTM $item ) |
|
|
defineTabs ( $options = [] ) |
|
|
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) |
|
|
getAvailableDisplayOptions ( ) : all |
Get available display options array |
|
getConnexityMassiveActionsSpecificities ( ) |
|
|
getContact ( $ID ) : ID |
Get port opposite port ID if linked item |
|
getForbiddenStandardMassiveAction ( ) |
|
|
getInstantiation ( ) : the |
\brief get the instantiation of the current NetworkPort
The instantiation rely on the instantiation_type field and the id of the NetworkPort. If the
network port exists, but not its instantiation, then, the instantiation will be empty. |
|
getNetworkPortInstantiations ( ) : array |
\brief get the list of available network port type. |
|
getNetworkPortInstantiationsWithNames ( ) |
|
|
getPreAdditionalInfosForName ( ) |
|
|
getSearchOptions ( ) |
|
|
getSearchOptionsToAdd ( $itemtype ) |
|
|
getSpecificMassiveActions ( $checkitem = NULL ) |
|
|
getTabNameForItem ( CommonGLPI $item, $withtemplate ) |
|
|
getTypeName ( $nb ) |
|
|
post_addItem ( ) |
|
|
post_updateItem ( $history = 1 ) |
|
|
prepareInputForAdd ( $input ) |
|
|
prepareInputForUpdate ( $input ) |
|
|
resetConnections ( $ID ) : true |
Delete All connection of the given network port |
|
showForItem ( CommonDBTM $item, $withtemplate = '' ) |
Show ports for an item |
|
showForm ( $ID, $options = [] ) |
|
|
splitInputForElements ( $input ) |
\brief split input fields when validating a port |
|
switchInstantiationType ( $new_instantiation_type ) : false |
Change the instantion type of a NetworkPort : check validity of the new type of
instantiation and that it is not equal to current ones. Update the NetworkPort and delete
the previous instantiation. It is up to the caller to create the new instantiation ! |
|
updateDependencies ( $history = true ) |
\brief update all related elements after adding or updating an element |
|