/** * Définition du contenu de l'onglet **/ static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) { switch ($item->getType()) { case __CLASS__: switch ($tabnum) { case 1: $item->showForm($item->getID()); break; case 2: $tagitem = new PluginTagTagItem(); $ID = $item->getField('id'); $tagitem->showForTag($item); break; } } return true; }