/**
  * Constructor
  **/
 function __construct()
 {
     parent::__construct("glpi_networking");
     $this->dohistory = true;
     $this->type = NETWORKING_TYPE;
     $this->oFusionInventory_networking = new PluginFusioninventoryCommonDBTM("glpi_plugin_fusioninventory_networking");
 }
 /**
  * Constructor
  **/
 function __construct()
 {
     parent::__construct("glpi_printers");
     $this->dohistory = true;
     $this->type = PRINTER_TYPE;
     $this->oFusionInventory_printer = new PluginFusioninventoryCommonDBTM("glpi_plugin_fusioninventory_printers");
     $this->oFusionInventory_printer_history = new PluginFusioninventoryCommonDBTM("glpi_plugin_fusioninventory_printers_history");
 }
예제 #3
0
 /**
  * Constructor
  **/
 function __construct($p_type = NULL, $p_logFile = '')
 {
     if ($p_logFile != '') {
         $logFile = $p_logFile;
     } else {
         $logFile = GLPI_ROOT . '/files/_plugins/fusioninventory/communication_port_' . time() . '_' . rand(1, 1000);
     }
     parent::__construct("glpi_networking_ports", $logFile);
     $this->oFusionInventory_networking_ports = new PluginFusioninventoryCommonDBTM("glpi_plugin_fusioninventory_networking_ports");
     if ($p_type != NULL) {
         $this->glpi_type = $p_type;
     }
     $this->addLog('New PluginFusioninventoryPort object.');
 }
 /**
  * Constructor
  **/
 function __construct()
 {
     parent::__construct("glpi_plugin_fusioninventory_networking_ifaddr");
 }