PHP 클래스 NetworkAlias, glpi

상속: extends FQDNLabel
파일 보기 프로젝트 열기: glpi-project/glpi 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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