當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Reservation::showForItem方法代碼示例

本文整理匯總了PHP中Reservation::showForItem方法的典型用法代碼示例。如果您正苦於以下問題:PHP Reservation::showForItem方法的具體用法?PHP Reservation::showForItem怎麽用?PHP Reservation::showForItem使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Reservation的用法示例。


在下文中一共展示了Reservation::showForItem方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的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();
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:31,代碼來源:monitor.tabs.php

示例2: showNotesForm

            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"]);
            }
    }
}
ajaxFooter();
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:31,代碼來源:networkequipment.tabs.php

示例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();
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:31,代碼來源:phone.tabs.php

示例4: 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();
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:31,代碼來源:peripheral.tabs.php

示例5: showNotesForm

     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:
     RegistryKey::showForComputer($_POST["id"]);
     break;
 case 20:
     ComputerDisk::showForComputer($computer);
     break;
 case 21:
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:31,代碼來源:computer.tabs.php

示例6: showNotesForm

            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);
                }
        }
    }
}
ajaxFooter();
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:31,代碼來源:printer.tabs.php

示例7: showNotesForm

                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'])) {
                    SoftwareVersion::showForSoftware($soft);
                    SoftwareLicense::showForSoftware($soft);
                }
        }
    }
}
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:31,代碼來源:software.tabs.php


注:本文中的Reservation::showForItem方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。