本文整理汇总了PHP中Computer_Item::showForItem方法的典型用法代码示例。如果您正苦于以下问题:PHP Computer_Item::showForItem方法的具体用法?PHP Computer_Item::showForItem怎么用?PHP Computer_Item::showForItem使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Computer_Item
的用法示例。
在下文中一共展示了Computer_Item::showForItem方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: showNotesForm
break;
case 4:
Infocom::showForItem($monitor);
Contract::showAssociated($monitor);
break;
case 5:
Document::showAssociated($monitor, $_POST["withtemplate"]);
break;
case 6:
Ticket::showListForItem('Monitor', $_POST["id"]);
break;
case 7:
Link::showForItem('Monitor', $_POST["id"]);
break;
case 10:
showNotesForm($_POST['target'], 'Monitor', $_POST["id"]);
break;
case 11:
Reservation::showForItem('Monitor', $_POST["id"]);
break;
case 12:
Log::showForItem($monitor);
break;
default:
if (!Plugin::displayAction($monitor, $_REQUEST['glpi_tab'])) {
Computer_Item::showForItem($monitor);
}
}
}
}
ajaxFooter();
示例2: showNotesForm
case 4:
Infocom::showForItem($periph);
Contract::showAssociated($periph);
break;
case 5:
Document::showAssociated($periph);
break;
case 6:
Ticket::showListForItem('Peripheral', $_POST["id"]);
break;
case 7:
Link::showForItem('Peripheral', $_POST["id"]);
break;
case 10:
showNotesForm($_POST['target'], 'Peripheral', $_POST["id"]);
break;
case 11:
Reservation::showForItem('Peripheral', $_POST["id"]);
break;
case 12:
Log::showForItem($periph);
break;
default:
if (!Plugin::displayAction($periph, $_REQUEST['glpi_tab'])) {
Computer_Item::showForItem($periph);
NetworkPort::showForItem('Peripheral', $_POST["id"], $_POST["withtemplate"]);
}
}
}
}
ajaxFooter();
示例3: showNotesForm
case 4:
Infocom::showForItem($phone);
Contract::showAssociated($phone);
break;
case 5:
Document::showAssociated($phone);
break;
case 6:
Ticket::showListForItem('Phone', $_POST["id"]);
break;
case 7:
Link::showForItem('Phone', $_POST["id"]);
break;
case 10:
showNotesForm($_POST['target'], 'Phone', $_POST["id"]);
break;
case 11:
Reservation::showForItem('Phone', $_POST["id"]);
break;
case 12:
Log::showForItem($phone);
break;
default:
if (!Plugin::displayAction($phone, $_REQUEST['glpi_tab'])) {
Computer_Item::showForItem($phone);
NetworkPort::showForItem('Phone', $_POST["id"], 'Phone', $_POST["withtemplate"]);
}
}
}
}
ajaxFooter();
示例4: switch
} else {
switch ($_REQUEST['glpi_tab']) {
case -1:
Cartridge::showInstalled($printer);
Cartridge::showInstalled($printer, 1);
Computer_Item::showForItem($printer);
NetworkPort::showForItem('Printer', $_POST["id"], $_POST["withtemplate"]);
Infocom::showForItem($printer);
Contract::showAssociated($printer);
Document::showAssociated($printer);
Ticket::showListForItem('Printer', $_POST["id"]);
Link::showForItem('Printer', $_POST["id"]);
Plugin::displayAction($printer, $_REQUEST['glpi_tab']);
break;
case 3:
Computer_Item::showForItem($printer);
NetworkPort::showForItem('Printer', $_POST["id"]);
break;
case 4:
Infocom::showForItem($printer);
Contract::showAssociated($printer);
break;
case 5:
Document::showAssociated($printer);
break;
case 6:
Ticket::showListForItem('Printer', $_POST["id"]);
break;
case 7:
Link::showForItem('Printer', $_POST["id"]);
break;