PHP Класс NetworkAlias, glpi

Наследование: extends FQDNLabel
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$checkParentRights
$dohistory
$items_id
$itemtype From CommonDBChild

Открытые методы

Метод Описание
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

Описание методов

defineTabs() публичный Метод

public defineTabs ( $options = [] )

displayTabContentForItem() статический публичный Метод

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

getHTMLTableCellsForItem() статический публичный Метод

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 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() статический публичный Метод

Get the full name (internet name) of a NetworkName
static public getInternetNameFromID ( $ID ) : its
$ID ID of the NetworkName
Результат its internet name, or empty string if invalid NetworkName

getSearchOptions() публичный Метод

public getSearchOptions ( )

getTabNameForItem() публичный Метод

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

getTypeName() статический публичный Метод

static public getTypeName ( $nb )

showForFQDN() статический публичный Метод

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() статический публичный Метод

..) 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() публичный Метод

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
Результат Nothing (display)

Описание свойств

$checkParentRights публичное статическое свойство

public static $checkParentRights

$dohistory публичное свойство

public $dohistory

$items_id публичное статическое свойство

public static $items_id

$itemtype публичное статическое свойство

From CommonDBChild
public static $itemtype