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 |
static function getHTMLTableCellsForItem(HTMLTableRow $row = NULL, CommonDBTM $item = NULL, HTMLTableCell $father = NULL, array $options)
{
$column_name = __CLASS__;
if (isset($options['dont_display'][$column_name])) {
return;
}
$row->addCell($row->getHeaderByName($column_name), Dropdown::getDropdownName("glpi_netpoints", $item->fields["netpoints_id"]), $father);
}
/** * @see NetworkPortInstantiation::getPeerInstantiationHTMLTable() **/ protected function getPeerInstantiationHTMLTable(NetworkPort $netport, HTMLTableRow $row, HTMLTableCell $father = NULL, array $options = array()) { DeviceNetworkCard::getHTMLTableCellsForItem($row, $this, $father, $options); if (!empty($this->fields['speed'])) { $row->addCell($row->getHeaderByName('Instantiation', 'speed'), self::getPortSpeed($this->fields["speed"]), $father); } if (!empty($this->fields['type'])) { $row->addCell($row->getHeaderByName('Instantiation', 'type'), self::getPortTypeName($this->fields["type"]), $father); } parent::getInstantiationHTMLTable($netport, $row, $father, $options); Netpoint::getHTMLTableCellsForItem($row, $this, $father, $options); }