static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) { if ($item->getType() == __CLASS__) { switch ($tabnum) { case 1: $item->showFull(); break; case 2: $item->showVisibility(); break; case 3: $item->showForm($item->getID()); break; } } return true; }