Beispiel #1
0
 static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
 {
     switch ($item->getType()) {
         case __CLASS__:
             switch ($tabnum) {
                 case 1:
                     $item->showChildren();
                     break;
                 case 2:
                     $item->showGantt($item->getID());
                     break;
             }
             break;
     }
     return true;
 }