Пример #1
0
 /**
  * @since version 0.84
  *
  * @see CommonDevice::getHTMLTableHeader()
  **/
 static function getHTMLTableHeader($itemtype, HTMLTableBase $base, HTMLTableSuperHeader $super = NULL, HTMLTableHeader $father = NULL, array $options = array())
 {
     $column = parent::getHTMLTableHeader($itemtype, $base, $super, $father, $options);
     if ($column == $father) {
         return $father;
     }
     switch ($itemtype) {
         case 'Computer':
             Manufacturer::getHTMLTableHeader(__CLASS__, $base, $super, $father, $options);
             break;
     }
 }
Пример #2
0
 /**
  * @since version 0.84
  *
  * @see CommonDevice::getHTMLTableHeader()
  **/
 static function getHTMLTableHeader($itemtype, HTMLTableBase $base, HTMLTableSuperHeader $super = NULL, HTMLTableHeader $father = NULL, array $options = array())
 {
     $column = parent::getHTMLTableHeader($itemtype, $base, $super, $father, $options);
     if ($column == $father) {
         return $father;
     }
     switch ($itemtype) {
         case 'Computer':
             Manufacturer::getHTMLTableHeader(__CLASS__, $base, $super, $father, $options);
             $base->addHeader('devicebiosdata_tag', __('Asset Tag', 'ocsinventoryng'), $super, $father);
             $base->addHeader('devicebiosdata_date', __('Date'), $super, $father);
             break;
     }
 }
Пример #3
0
 /**
  * @since version 0.84
  *
  * @see CommonDevice::getHTMLTableHeader()
  **/
 static function getHTMLTableHeader($itemtype, HTMLTableBase $base, HTMLTableSuperHeader $super = NULL, HTMLTableHeader $father = NULL, array $options = array())
 {
     $column = parent::getHTMLTableHeader($itemtype, $base, $super, $father, $options);
     if ($column == $father) {
         return $father;
     }
     switch ($itemtype) {
         case 'Computer':
             Manufacturer::getHTMLTableHeader(__CLASS__, $base, $super, $father, $options);
             $base->addHeader('devicememory_type', __('Type'), $super, $father);
             $base->addHeader('devicememory_frequency', __('Frequency'), $super, $father);
             break;
     }
 }
Пример #4
0
 /**
  * @since version 0.84
  *
  * @see CommonDevice::getHTMLTableHeader()
  **/
 static function getHTMLTableHeader($itemtype, HTMLTableBase $base, HTMLTableSuperHeader $super = NULL, HTMLTableHeader $father = NULL, array $options = array())
 {
     $column = parent::getHTMLTableHeader($itemtype, $base, $super, $father, $options);
     if ($column == $father) {
         return $father;
     }
     switch ($itemtype) {
         case 'Computer':
             Manufacturer::getHTMLTableHeader(__CLASS__, $base, $super, $father, $options);
             $base->addHeader('devicedrive_writer', __('Writing ability'), $super, $father);
             $base->addHeader('devicedrive_speed', __('Speed'), $super, $father);
             InterfaceType::getHTMLTableHeader(__CLASS__, $base, $super, $father, $options);
             break;
     }
 }
Пример #5
0
 /**
  * @since version 0.84
  *
  * @see CommonDevice::getHTMLTableHeader()
  **/
 static function getHTMLTableHeader($itemtype, HTMLTableBase $base, HTMLTableSuperHeader $super = NULL, HTMLTableHeader $father = NULL, array $options = array())
 {
     $column = parent::getHTMLTableHeader($itemtype, $base, $super, $father, $options);
     if ($column == $father) {
         return $father;
     }
     switch ($itemtype) {
         case 'Computer':
             Manufacturer::getHTMLTableHeader(__CLASS__, $base, $super, $father, $options);
             $base->addHeader('deviceharddriver_rpm', __('Rpm'), $super, $father);
             $base->addHeader('deviceharddriver_cache', __('Cache'), $super, $father);
             InterfaceType::getHTMLTableHeader(__CLASS__, $base, $super, $father, $options);
             break;
     }
 }
 /**
  * @since version 0.84
  *
  * @see CommonDevice::getHTMLTableHeader()
  **/
 static function getHTMLTableHeader($itemtype, HTMLTableBase $base, HTMLTableSuperHeader $super = NULL, HTMLTableHeader $father = NULL, array $options = array())
 {
     $column_name = __CLASS__;
     if (isset($options['dont_display'][$column_name])) {
         return;
     }
     if (in_array($itemtype, NetworkPort::getNetworkPortInstantiations())) {
         $base->addHeader($column_name, __('Interface'), $super, $father);
     } else {
         $column = parent::getHTMLTableHeader($itemtype, $base, $super, $father, $options);
         if ($column == $father) {
             return $father;
         }
         Manufacturer::getHTMLTableHeader(__CLASS__, $base, $super, $father, $options);
         $base->addHeader('devicenetworkcard_bandwidth', __('Flow'), $super, $father);
     }
 }