static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) { switch ($item->getType()) { case 'Document': switch ($tabnum) { case 1: self::showForDocument($item); break; case 2: self::showForItem($item, $withtemplate); break; } return true; default: self::showForitem($item, $withtemplate); } }
static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) { switch ($item->getType()) { case 'PluginFormcreatorForm': Document_Item::displayTabContentForItem($item); break; } return true; }