当前位置: 首页>>代码示例>>PHP>>正文


PHP Contract::showAssociated方法代码示例

本文整理汇总了PHP中Contract::showAssociated方法的典型用法代码示例。如果您正苦于以下问题:PHP Contract::showAssociated方法的具体用法?PHP Contract::showAssociated怎么用?PHP Contract::showAssociated使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Contract的用法示例。


在下文中一共展示了Contract::showAssociated方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: switch

             Plugin::displayAction($monitor, $_REQUEST['glpi_tab'], $_POST["withtemplate"]);
     }
 } else {
     switch ($_REQUEST['glpi_tab']) {
         case -1:
             Computer_Item::showForItem($monitor);
             Infocom::showForItem($monitor);
             Contract::showAssociated($monitor);
             Document::showAssociated($monitor, $_POST["withtemplate"]);
             Ticket::showListForItem('Monitor', $_POST["id"]);
             Link::showForItem('Monitor', $_POST["id"]);
             Plugin::displayAction($monitor, $_REQUEST['glpi_tab']);
             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"]);
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:monitor.tabs.php

示例2: switch

        }
    }
} else {
    switch ($_REQUEST['glpi_tab']) {
        case -1:
            NetworkPort::showForItem('NetworkEquipment', $_POST["id"]);
            Infocom::showForItem($netdevice);
            Contract::showAssociated($netdevice);
            Document::showAssociated($netdevice, $_POST["withtemplate"]);
            Ticket::showListForItem('NetworkEquipment', $_POST["id"]);
            Link::showForItem('NetworkEquipment', $_POST["id"]);
            Plugin::displayAction($netdevice, $_REQUEST['glpi_tab']);
            break;
        case 4:
            Infocom::showForItem($netdevice);
            Contract::showAssociated($netdevice);
            break;
        case 5:
            Document::showAssociated($netdevice, $_POST["withtemplate"]);
            break;
        case 6:
            Ticket::showListForItem('NetworkEquipment', $_POST["id"]);
            break;
        case 7:
            Link::showForItem('NetworkEquipment', $_POST["id"]);
            break;
        case 10:
            showNotesForm($_POST['target'], 'NetworkEquipment', $_POST["id"]);
            break;
        case 11:
            Reservation::showForItem('NetworkEquipment', $_POST["id"]);
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:networkequipment.tabs.php

示例3: switch

     }
 } else {
     switch ($_REQUEST['glpi_tab']) {
         case -1:
             Computer_Item::showForItem($phone);
             NetworkPort::showForItem('Phone', $_POST["id"], $_POST["withtemplate"]);
             Infocom::showForItem($phone);
             Contract::showAssociated($phone);
             Document::showAssociated($phone);
             Ticket::showListForItem('Phone', $_POST["id"]);
             Link::showForItem('Phone', $_POST["id"]);
             Plugin::displayAction($phone, $_REQUEST['glpi_tab']);
             break;
         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"]);
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:phone.tabs.php

示例4: switch

     }
 } else {
     switch ($_REQUEST['glpi_tab']) {
         case -1:
             Computer_Item::showForItem($periph);
             NetworkPort::showForItem('Peripheral', $_POST["id"], $_POST["withtemplate"]);
             Infocom::showForItem($periph);
             Contract::showAssociated($periph);
             Document::showAssociated($periph);
             Ticket::showListForItem('Peripheral', $_POST["id"]);
             Link::showForItem('Peripheral', $_POST["id"]);
             Plugin::displayAction($periph, $_REQUEST['glpi_tab']);
             break;
         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"]);
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:peripheral.tabs.php

示例5: showNotesForm

     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;
 case 10:
     showNotesForm($_POST['target'], 'Computer', $_POST["id"]);
     break;
 case 11:
     Reservation::showForItem('Computer', $_POST["id"]);
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:computer.tabs.php

示例6: showNotesForm

     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;
 case 10:
     showNotesForm($_POST['target'], 'Printer', $_POST["id"]);
     break;
 case 11:
     Reservation::showForItem('Printer', $_POST["id"]);
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:printer.tabs.php

示例7: showNotesForm

     SoftwareVersion::showForSoftware($soft);
     SoftwareLicense::showForSoftware($soft);
     Computer_SoftwareVersion::showForSoftware($soft);
     Infocom::showForItem($soft);
     Contract::showAssociated($soft);
     Document::showAssociated($soft);
     Ticket::showListForItem('Software', $_POST["id"]);
     Link::showForItem('Software', $_POST["id"]);
     Plugin::displayAction($soft, $_REQUEST['glpi_tab']);
     break;
 case 2:
     Computer_SoftwareVersion::showForSoftware($soft);
     break;
 case 4:
     Infocom::showForItem($soft);
     Contract::showAssociated($soft);
     break;
 case 5:
     Document::showAssociated($soft);
     break;
 case 6:
     Ticket::showListForItem('Software', $_POST["id"]);
     break;
 case 7:
     Link::showForItem('Software', $_POST["id"]);
     break;
 case 10:
     showNotesForm($_POST['target'], 'Software', $_POST["id"]);
     break;
 case 11:
     Reservation::showForItem('Software', $_POST["id"]);
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:software.tabs.php


注:本文中的Contract::showAssociated方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。