Show software installed on a computer
static public showForComputer ( Computer $comp, $withtemplate = '' ) : nothing | ||
$comp | Computer | Computer object |
$withtemplate | template case of the view process (default '') | |
Résultat | nothing |
ComputerDisk::showForComputer($computer, $_POST["withtemplate"]); Computer_SoftwareVersion::showForComputer($computer); Computer_Item::showForComputer($_POST['target'], $computer); 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;