static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) { if ($item->getType() == __CLASS__) { switch ($tabnum) { case 1: // all Planning::showPlanning($_SESSION['glpiID']); break; } } return true; }