/** * @param $item CommonGLPI object * @param $tabnum (default 1) * @param $withtemplate (default 0) * * @return bool|true */ static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) { if (in_array($item->getType(), self::$snmptypes)) { self::showForItem($item); } else { if ($item->getType() == "PluginOcsinventoryngOcsServer") { $conf = new self(); $conf->ocsFormSNMPImportOptions($item->getID()); } } return true; }