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


PHP Link::showForItem方法代码示例

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


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

示例1: showNotesForm

         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"]);
         break;
     case 12:
         Log::showForItem($netdevice);
         break;
     default:
         if (!Plugin::displayAction($netdevice, $_REQUEST['glpi_tab'])) {
             NetworkPort::showForItem('NetworkEquipment', $_POST["id"]);
         }
 }
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:networkequipment.tabs.php

示例2: showNotesForm

         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"]);
         break;
     case 12:
         Log::showForItem($monitor);
         break;
     default:
         if (!Plugin::displayAction($monitor, $_REQUEST['glpi_tab'])) {
             Computer_Item::showForItem($monitor);
         }
 }
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:monitor.tabs.php

示例3: switch

    switch ($_REQUEST['glpi_tab']) {
        case -1:
            $budget->showValuesByEntity();
            $budget->showItems();
            Document::showAssociated($budget);
            Link::showForItem('Budget', $_POST["id"]);
            Plugin::displayAction($budget, $_REQUEST['glpi_tab'], $_POST["withtemplate"]);
            break;
        case 2:
            $budget->showItems();
            break;
        case 5:
            Document::showAssociated($budget);
            break;
        case 7:
            Link::showForItem('Budget', $_POST["id"]);
            break;
        case 10:
            showNotesForm($_POST['target'], 'Budget', $_POST["id"]);
            break;
        case 12:
            Log::showForItem($budget);
            break;
        default:
            if (!Plugin::displayAction($budget, $_REQUEST['glpi_tab'], $_POST["withtemplate"])) {
                $budget->showValuesByEntity();
            }
            break;
    }
}
ajaxFooter();
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:budget.tabs.php

示例4: switch

if ($_POST['id'] > 0 && $contract->can($_POST['id'], 'r')) {
    switch ($_REQUEST['glpi_tab']) {
        case -1:
            $contract->showSuppliers();
            $contract->showItems();
            Document::showAssociated($contract);
            Link::showForItem('Contact', $_POST["id"]);
            Plugin::displayAction($contract, $_REQUEST['glpi_tab']);
            break;
        case 2:
            $contract->showItems();
            break;
        case 5:
            Document::showAssociated($contract);
            break;
        case 7:
            Link::showForItem('Contract', $_POST["id"]);
            break;
        case 10:
            showNotesForm($_POST['target'], 'Contract', $_POST["id"]);
            break;
        case 12:
            Log::showForItem($contract);
            break;
        default:
            if (!Plugin::displayAction($contract, $_REQUEST['glpi_tab'])) {
                $contract->showSuppliers();
            }
    }
}
ajaxFooter();
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:contract.tabs.php

示例5: showNotesForm

     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"]);
     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"]);
     }
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:phone.tabs.php

示例6: showNotesForm

 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"]);
     break;
 case 12:
     Log::showForItem($computer);
     break;
 case 13:
     OcsLink::showForItem($computer);
     OcsServer::editLock($_POST['target'], $_POST["id"]);
     break;
 case 14:
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:computer.tabs.php

示例7: showNotesForm

     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"]);
     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"]);
     }
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:peripheral.tabs.php

示例8: showNotesForm

            $cartridge->showCompatiblePrinters();
            Cartridge::showAddForm($cartridge);
            Cartridge::showForCartridgeItem($cartridge);
            Cartridge::showForCartridgeItem($cartridge, 1);
            Infocom::showForItem($cartridge);
            Document::showAssociated($cartridge);
            Link::showForItem('CartridgeItem', $_POST["id"]);
            Plugin::displayAction($cartridge, $_REQUEST['glpi_tab']);
            break;
        case 4:
            Infocom::showForItem($cartridge);
            break;
        case 5:
            Document::showAssociated($cartridge);
            break;
        case 7:
            Link::showForItem('CartridgeItem', $_POST["id"]);
            break;
        case 10:
            showNotesForm($_POST['target'], 'CartridgeItem', $_POST["id"]);
            break;
        default:
            if (!Plugin::displayAction($cartridge, $_REQUEST['glpi_tab'])) {
                $cartridge->showCompatiblePrinters();
                Cartridge::showAddForm($cartridge);
                Cartridge::showForCartridgeItem($cartridge);
                Cartridge::showForCartridgeItem($cartridge, 1);
            }
    }
}
ajaxFooter();
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:cartridgeitem.tabs.php

示例9: showNotesForm

 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"]);
     break;
 case 12:
     Log::showForItem($printer);
     break;
 default:
     if (!Plugin::displayAction($printer, $_REQUEST['glpi_tab'])) {
         Cartridge::showInstalled($printer);
         Cartridge::showInstalled($printer, 1);
     }
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:printer.tabs.php

示例10: showNotesForm

     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"]);
     break;
 case 12:
     Log::showForItem($soft);
     break;
 case 21:
     $soft->showMergeCandidates();
     break;
 default:
     if (!Plugin::displayAction($soft, $_REQUEST['glpi_tab'])) {
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:software.tabs.php

示例11: showNotesForm

         Document::showAssociated($supplier);
         Ticket::showListForSupplier($_POST["id"]);
         Link::showForItem('Supplier', $_POST["id"]);
         Plugin::displayAction($supplier, $_REQUEST['glpi_tab']);
         break;
     case 4:
         $supplier->showContracts();
         break;
     case 5:
         Document::showAssociated($supplier);
         break;
     case 6:
         Ticket::showListForSupplier($_POST["id"]);
         break;
     case 7:
         Link::showForItem('Supplier', $_POST["id"]);
         break;
     case 10:
         showNotesForm($_POST['target'], 'Supplier', $_POST["id"]);
         break;
     case 12:
         Log::showForItem($supplier);
         break;
     case 15:
         $supplier->showInfocoms();
         break;
     default:
         if (!Plugin::displayAction($supplier, $_REQUEST['glpi_tab'])) {
             $supplier->showContacts();
         }
 }
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:supplier.tabs.php

示例12: switch

    switch ($_REQUEST['glpi_tab']) {
        case -1:
            Consumable::showAddForm($consumable);
            Consumable::showForItem($consumable);
            Consumable::showForItem($consumable, 1);
            Infocom::showForItem($consumable);
            Document::showAssociated($consumable);
            Link::showForItem('ConsumableItem', $_POST["id"]);
            Plugin::displayAction($consumable, $_REQUEST['glpi_tab']);
            break;
        case 4:
            Infocom::showForItem($consumable);
            break;
        case 5:
            Document::showAssociated($consumable);
            break;
        case 7:
            Link::showForItem('ConsumableItem', $_POST["id"]);
            break;
        case 10:
            showNotesForm($_POST['target'], 'ConsumableItem', $_POST["id"]);
            break;
        default:
            if (!Plugin::displayAction($consumable, $_REQUEST['glpi_tab'])) {
                Consumable::showAddForm($consumable);
                Consumable::showForItem($consumable);
                Consumable::showForItem($consumable, 1);
            }
    }
}
ajaxFooter();
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:31,代码来源:consumableitem.tabs.php


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