static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) { switch ($tabnum) { case 1: $item->showFormTestLDAP(); break; case 2: $item->showFormUserConfig(); break; case 3: $item->showFormGroupsConfig(); break; case 4: $item->showFormEntityConfig(); break; case 5: $item->showFormAdvancedConfig(); break; case 6: $item->showFormReplicatesConfig(); break; } return true; }