コード例 #1
0
ファイル: profile.class.php プロジェクト: geldarr/hack-space
 static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
 {
     if ($item->getType() == 'Profile') {
         $prof = new self();
         $ID = $item->getField('id');
         if (!$prof->GetfromDB($ID)) {
             $prof->createProfile($item);
         }
         $prof->showForm($ID);
     }
     return true;
 }