Print the computers disks
static public showForComputer ( Computer $comp, $withtemplate = '' ) : Nothing | ||
$comp | Computer | Computer object |
$withtemplate | boolean Template or basic item (default '') | |
return | Nothing | (call to classes members) |
case 10: showNotesForm($_POST['target'], 'Computer', $_POST["id"]); break; case 11: Reservation::showForItem('Computer', $_POST["id"]); break; case 12: Log::showForItem($computer); break; case 13: OcsLink::showForItem($computer); OcsServer::editLock($_POST['target'], $_POST["id"]); break; case 14: RegistryKey::showForComputer($_POST["id"]); break; case 20: ComputerDisk::showForComputer($computer); break; case 21: ComputerVirtualMachine::showForVirtualMachine($computer); ComputerVirtualMachine::showForComputer($computer); break; default: if (!Plugin::displayAction($computer, $_REQUEST['glpi_tab'])) { Computer_Device::showForComputer($computer); } } } } ajaxFooter();