PHP Class NetworkAlias, glpi

Inheritance: extends FQDNLabel
Datei anzeigen Open project: glpi-project/glpi Class Usage Examples

Public Properties

Property Type Description
$checkParentRights
$dohistory
$items_id
$itemtype From CommonDBChild

Public Methods

Method Description
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 ( )
getTabNameForItem ( CommonGLPI $item, $withtemplate )
getTypeName ( $nb )
showForFQDN ( CommonGLPI $item, $withtemplate ) Show the aliases contained by the alias
showForNetworkName ( NetworkName $item, $withtemplate ) \brief Show aliases for an item from its form Beware that the rendering can be different if readden from direct item form (ie : add new NetworkAlias, remove, .
showForm ( $ID, $options = [] ) : Nothing Print the network alias form

Method Details

defineTabs() public method

public defineTabs ( $options = [] )

displayTabContentForItem() static public method

static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
$item CommonGLPI

getHTMLTableCellsForItem() static public method

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

getHTMLTableHeader() static public method

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

getInternetNameFromID() static public method

Get the full name (internet name) of a NetworkName
static public getInternetNameFromID ( $ID ) : its
$ID ID of the NetworkName
return its internet name, or empty string if invalid NetworkName

getSearchOptions() public method

public getSearchOptions ( )

getTabNameForItem() public method

public getTabNameForItem ( CommonGLPI $item, $withtemplate )
$item CommonGLPI

getTypeName() static public method

static public getTypeName ( $nb )

showForFQDN() static public method

Show the aliases contained by the alias
static public showForFQDN ( CommonGLPI $item, $withtemplate )
$item CommonGLPI the FQDN owning the aliases
$withtemplate integer withtemplate param

showForNetworkName() static public method

..) or if readden from item of the item (for instance from the computer form through NetworkPort::ShowForItem and NetworkName::ShowForItem).
static public showForNetworkName ( NetworkName $item, $withtemplate )
$item NetworkName NetworkName object
$withtemplate integer withtemplate param (default 0)

showForm() public method

Print the network alias form
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)

Property Details

$checkParentRights public_oe static_oe property

public static $checkParentRights

$dohistory public_oe property

public $dohistory

$items_id public_oe static_oe property

public static $items_id

$itemtype public_oe static_oe property

From CommonDBChild
public static $itemtype