getHTMLTableCellsForItem() static public method

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
Esempio n. 1
0
 /**
  * @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);
 }