コード例 #1
0
ファイル: knowbase.class.php プロジェクト: jose-martins/glpi
 static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
 {
     if ($item->getType() == __CLASS__) {
         switch ($tabnum) {
             case 1:
                 // all
                 $item->showSearchView();
                 break;
             case 2:
                 $item->showBrowseView();
                 break;
             case 3:
                 $item->showManageView();
                 break;
         }
     }
     return true;
 }