コード例 #1
0
ファイル: infocom.class.php プロジェクト: gaforeror/glpi
 /**
  * @param $item            CommonGLPI object
  * @param $tabnum          (default 1)
  * @param $withtemplate    (default 0)
  **/
 static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
 {
     switch ($item->getType()) {
         case 'Supplier':
             $item->showInfocoms();
             break;
         default:
             self::showForItem($item, $withtemplate);
     }
     return true;
 }