static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) { if ($item->getType() == __CLASS__) { switch ($tabnum) { case 1: PluginProjetProjet_Projet::showHierarchy($item->getID(), 1); PluginProjetProjet_Projet::showHierarchy($item->getID()); break; case 2: self::showProjetTreeGantt(array('plugin_projet_projets_id' => $item->getID(), 'prefixp' => '', 'parent' => 0)); PluginProjetTask::taskLegend(); break; case 3: PluginProjetProjet_Item::showForProjet($item, $withtemplate); break; } } return true; }