Print the form for computers or templates connections to printers, screens or peripherals
static public showForComputer ( Computer $comp, $withtemplate = '' ) : Nothing | ||
$comp | Computer | Computer object |
$withtemplate | boolean Template or basic item (default '') | |
Результат | Nothing | (call to classes members) |
NetworkPort::showForItem('Computer', $_POST["id"]); Infocom::showForItem($computer); Contract::showAssociated($computer, $_POST["withtemplate"]); Document::showAssociated($computer); Ticket::showListForItem('Computer', $_POST["id"]); Link::showForItem('Computer', $_POST["id"]); RegistryKey::showForComputer($_POST["id"]); ComputerVirtualMachine::showForVirtualMachine($computer); ComputerVirtualMachine::showForComputer($computer); Plugin::displayAction($computer, $_REQUEST['glpi_tab']); break; case 2: Computer_SoftwareVersion::showForComputer($computer); break; case 3: Computer_Item::showForComputer($_POST['target'], $computer); NetworkPort::showForItem('Computer', $_POST["id"]); break; case 4: Infocom::showForItem($computer); Contract::showAssociated($computer); break; case 5: Document::showAssociated($computer); break; case 6: Ticket::showListForItem('Computer', $_POST["id"]); break; case 7: Link::showForItem('Computer', $_POST["id"]); break;