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 |
Method | Description | |
---|---|---|
getPeerInstantiationHTMLTable ( NetworkPort $netport, HTMLTableRow $row, HTMLTableCell $father = NULL, array $options = [] ) |
public getInstantiationHTMLTable ( NetworkPort $netport, HTMLTableRow $row, HTMLTableCell $father = NULL, array $options = [] ) | ||
$netport | NetworkPort | |
$row | HTMLTableRow | |
$father | HTMLTableCell | |
$options | array |
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 |
protected getPeerInstantiationHTMLTable ( NetworkPort $netport, HTMLTableRow $row, HTMLTableCell $father = NULL, array $options = [] ) | ||
$netport | NetworkPort | |
$row | HTMLTableRow | |
$father | HTMLTableCell | |
$options | array |
static public getPortSpeed ( $val = NULL ) : array | ||
$val | if not set, ask for all values, else for 1 value (default NULL) | |
return | array | or string |
public getSearchOptions ( ) |
static public getSearchOptionsToAddForInstantiation ( array &$tab, array $joinparams, $itemtype ) | ||
$tab | array | array |
$joinparams | array | array |
$itemtype |
static public getSpecificValueToDisplay ( $field, $values, array $options = [] ) | ||
$field | ||
$values | ||
$options | array | array |
static public getSpecificValueToSelect ( $field, $name = '', $values = '', array $options = [] ) | ||
$field | ||
$name | (default '') | |
$values | (defaul '') | |
$options | array | array |
public showInstantiationForm ( NetworkPort $netport, $options = [], $recursiveItems ) | ||
$netport | NetworkPort |
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) |