static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) { switch ($item->getType()) { case 'Problem': self::showForProblem($item); break; default: Problem::showListForItem($item); } return true; }