本文整理汇总了PHP中Cabinet::GetZoneSelectList方法的典型用法代码示例。如果您正苦于以下问题:PHP Cabinet::GetZoneSelectList方法的具体用法?PHP Cabinet::GetZoneSelectList怎么用?PHP Cabinet::GetZoneSelectList使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Cabinet
的用法示例。
在下文中一共展示了Cabinet::GetZoneSelectList方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Cabinet
<?php
require_once 'db.inc.php';
require_once 'facilities.inc.php';
$cab = new Cabinet();
$dept = new Department();
$taginsert = "";
$status = "";
// AJAX Requests
//Zone Lists
if (isset($_POST['zonelist'])) {
$cab->DataCenterID = $_POST['zonelist'];
echo $cab->GetZoneSelectList();
exit;
}
if (isset($_POST['rowlist'])) {
$cab->ZoneID = $_POST['rowlist'];
echo $cab->GetCabRowSelectList();
exit;
}
//Row Lists
// END - AJAX Requests
$write = $person->WriteAccess ? true : false;
if (isset($_REQUEST['cabinetid'])) {
$cab->CabinetID = isset($_POST['cabinetid']) ? $_POST['cabinetid'] : $_GET['cabinetid'];
$cab->GetCabinet();
$write = $person->canWrite($cab->AssignedTo) ? true : $write;
}
// If you're deleting the cabinet, no need to pull in the rest of the information, so get it out of the way
// Only a site administrator can create or delete a cabinet
if (isset($_POST["delete"]) && $_POST["delete"] == "yes" && $person->SiteAdmin) {