static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) { switch ($item->getType()) { case 'Phone': case 'Printer': case 'Peripheral': case 'Monitor': self::showForItem($item); return true; case 'Computer': self::showForComputer($item); return true; } }