PHP Class NetworkPortFiberchannel, glpi

Since: 9.1
Inheritance: extends NetworkPortInstantiation
显示文件 Open project: glpi-project/glpi

Public Methods

Method Description
getInstantiationHTMLTable ( NetworkPort $netport, HTMLTableRow $row, HTMLTableCell $father = NULL, array $options = [] )
getInstantiationHTMLTableHeaders ( HTMLTableGroup $group, HTMLTableSuperHeader $super, HTMLTableSuperHeader $internet_super = NULL, HTMLTableHeader $father = NULL, array $options = [] )
getNetworkCardInterestingFields ( )
getPortSpeed ( $val = NULL ) : array Get the possible value for Fiberchannel port speed
getSearchOptions ( ) TODO why this? you don't have search engine for this object
getSearchOptionsToAddForInstantiation ( array &$tab, array $joinparams, $itemtype )
getSpecificValueToDisplay ( $field, $values, array $options = [] )
getSpecificValueToSelect ( $field, $name = '', $values = '', array $options = [] )
getTypeName ( $nb )
prepareInput ( $input )
prepareInputForAdd ( $input )
prepareInputForUpdate ( $input )
showInstantiationForm ( NetworkPort $netport, $options = [], $recursiveItems )
transformPortSpeed ( $val, $to_string ) : integer Transform a port speed from string to integerer and vice-versa

Protected Methods

Method Description
getPeerInstantiationHTMLTable ( NetworkPort $netport, HTMLTableRow $row, HTMLTableCell $father = NULL, array $options = [] )

Method Details

getInstantiationHTMLTable() public method

See also: NetworkPortInstantiation::getInstantiationHTMLTable()
public getInstantiationHTMLTable ( NetworkPort $netport, HTMLTableRow $row, HTMLTableCell $father = NULL, array $options = [] )
$netport NetworkPort
$row HTMLTableRow
$father HTMLTableCell
$options array

getInstantiationHTMLTableHeaders() public method

See also: NetworkPortInstantiation::getInstantiationHTMLTableHeaders
public getInstantiationHTMLTableHeaders ( HTMLTableGroup $group, HTMLTableSuperHeader $super, HTMLTableSuperHeader $internet_super = NULL, HTMLTableHeader $father = NULL, array $options = [] )
$group HTMLTableGroup
$super HTMLTableSuperHeader
$internet_super HTMLTableSuperHeader
$father HTMLTableHeader
$options array

getNetworkCardInterestingFields() public method

getPeerInstantiationHTMLTable() protected method

See also: NetworkPortInstantiation::getPeerInstantiationHTMLTable()
protected getPeerInstantiationHTMLTable ( NetworkPort $netport, HTMLTableRow $row, HTMLTableCell $father = NULL, array $options = [] )
$netport NetworkPort
$row HTMLTableRow
$father HTMLTableCell
$options array

getPortSpeed() static public method

Get the possible value for Fiberchannel port speed
static public getPortSpeed ( $val = NULL ) : array
$val if not set, ask for all values, else for 1 value (default NULL)
return array or string

getSearchOptions() public method

TODO why this? you don't have search engine for this object
public getSearchOptions ( )

getSearchOptionsToAddForInstantiation() static public method

static public getSearchOptionsToAddForInstantiation ( array &$tab, array $joinparams, $itemtype )
$tab array array
$joinparams array array
$itemtype

getSpecificValueToDisplay() static public method

static public getSpecificValueToDisplay ( $field, $values, array $options = [] )
$field
$values
$options array array

getSpecificValueToSelect() static public method

static public getSpecificValueToSelect ( $field, $name = '', $values = '', array $options = [] )
$field
$name (default '')
$values (defaul '')
$options array array

getTypeName() static public method

static public getTypeName ( $nb )

prepareInput() public method

public prepareInput ( $input )

prepareInputForAdd() public method

public prepareInputForAdd ( $input )

prepareInputForUpdate() public method

public prepareInputForUpdate ( $input )

showInstantiationForm() public method

See also: NetworkPortInstantiation::showInstantiationForm()
public showInstantiationForm ( NetworkPort $netport, $options = [], $recursiveItems )
$netport NetworkPort

transformPortSpeed() static public method

Transform a port speed from string to integerer and vice-versa
static public transformPortSpeed ( $val, $to_string ) : integer
$val port speed (integer or string)
$to_string (boolean) true if we must transform the speed to string
return integer or string (regarding what is requested)