Example #1
0
 static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
 {
     if ($item->getType() == 'Group') {
         $grp = new self();
         $ID = $item->getField('id');
         if (!$grp->GetfromDB($ID)) {
             $grp->createVip($ID);
         }
         $grp->showForm($ID);
     }
     return true;
 }