/**
  * Get HTMLTable columns headers for a given item type
  * Beware : the internet informations are "sons" of each instantiation ...
  *
  * @param $group           HTMLTableGroup object
  * @param $super           HTMLTableSuperHeader object
  * @param $internet_super  HTMLTableSuperHeader object for the internet sub part (default NULL)
  * @param $father          HTMLTableHeader object (default NULL)
  * @param $options   array of possible options:
  *       - 'dont_display' : array of the columns that must not be display
  *
  * @return the father group for the Internet Informations ...
  **/
 function getInstantiationHTMLTableHeaders(HTMLTableGroup $group, HTMLTableSuperHeader $super, HTMLTableSuperHeader $internet_super = NULL, HTMLTableHeader $father = NULL, array $options = array())
 {
     $display_options =& $options['display_options'];
     if ($this->canHaveVirtualPort && $display_options['virtual_ports']) {
         $father = $group->addHeader('VirtualPorts', '<i>' . __('Virtual ports') . '</i>', $super, $father);
     }
     if ($this->canHaveVLAN && $display_options['vlans']) {
         NetworkPort_Vlan::getHTMLTableHeader('NetworkPort', $group, $super, $father, $options);
     }
     if ($this->haveMAC && $display_options['mac']) {
         $group->addHeader('MAC', __('MAC'), $super, $father);
     }
     if ($internet_super !== NULL && $display_options['internet']) {
         NetworkName::getHTMLTableHeader('NetworkPort', $group, $internet_super, $father, $options);
     }
     return NULL;
 }
 /**
  * @see NetworkPortInstantiation::getInstantiationHTMLTableHeaders
  **/
 function getInstantiationHTMLTableHeaders(HTMLTableGroup $group, HTMLTableSuperHeader $super, HTMLTableSuperHeader $internet_super = NULL, HTMLTableHeader $father = NULL, array $options = array())
 {
     $group->addHeader('Origin', __('Origin port'), $super);
     parent::getInstantiationHTMLTableHeaders($group, $super, $internet_super, $father, $options);
     return NULL;
 }
 /**
  * @see NetworkPortInstantiation::getInstantiationHTMLTableHeaders
  **/
 function getInstantiationHTMLTableHeaders(HTMLTableGroup $group, HTMLTableSuperHeader $super, HTMLTableSuperHeader $internet_super = NULL, HTMLTableHeader $father = NULL, array $options = array())
 {
     $display_options =& $options['display_options'];
     $header = $group->addHeader('Connected', __('Connected to'), $super);
     DeviceNetworkCard::getHTMLTableHeader('NetworkPortEthernet', $group, $super, $header, $options);
     $group->addHeader('speed', __('Ethernet port speed'), $super, $header);
     $group->addHeader('type', __('Ethernet port type'), $super, $header);
     Netpoint::getHTMLTableHeader('NetworkPortEthernet', $group, $super, $header, $options);
     $group->addHeader('Outlet', __('Network outlet'), $super, $header);
     parent::getInstantiationHTMLTableHeaders($group, $super, $internet_super, $header, $options);
     return $header;
 }