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


PHP database4::count_pending_request方法代碼示例

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


在下文中一共展示了database4::count_pending_request方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1:

				</li>

				<li>
					<a href="#">Census</a>
					<ul>
						<a href="../Reports/Census/selectShift_registered.php" target="departmentX">Registration Census</a>
					</ul>
				</li>

				<li>
					<a href="#">Inventory</a>
					<ul>
						<a href="../inventory/ekit.php" target="departmentX">E-KIT Inventory</a>
						<a id="requestInventory" target="departmentX">Request Inventory</a>
						<?php 
if ($ro4->count_pending_request("NURSING") > 0) {
    ?>
								<a href="#" id="pendingRequest" >
									Pending Inventory Request 
									<span class="badge">
										<?php 
    echo $ro4->count_pending_request("NURSING");
    ?>
									</span>
								</a>
						<?php 
} else {
    ?>
							<a href="#">
								Pending Request
							</a>
開發者ID:rickyx12,項目名稱:protacio,代碼行數:31,代碼來源:nursingMainpage.php

示例2:

				<li>
					<a href="#">Registration</a>
					<ul>
						<a href="../opdRegistration.php?module=REGISTRATION&from=ER" target="_blank">Register New Patient</a>
					</ul>
				</li>

				<li>
					<a href="#">Inventory</a>
					<ul>
						<a href="../inventory/ekit.php" target="departmentX">E-KIT Inventory</a>
						<a id="requestInventory" target="departmentX">Request Inventory</a>

						<?php 
if ($ro4->count_pending_request("E.R") > 0) {
    ?>
							<a href="#" id="pendingRequest" >
								Pending Inventory Request 
								<span class="badge">
									<?php 
    echo $ro4->count_pending_request("E.R");
    ?>
								</span>
								</a>
						<?php 
} else {
    ?>
							<a href="#">
								Pending Request
							</a>
開發者ID:rickyx12,項目名稱:protacio,代碼行數:30,代碼來源:erMainpage.php

示例3: Request

/COCONUT/maintenance/deptReorder.php?username=<?php 
echo $username;
?>
" target='departmentX'>Re-Order List</a></li>-->
                    </ul>
                </li>    



<?php 
if ($module == "PHARMACY" || $module == "CSR") {
    echo "<li>";
    echo "<a href='#'>Request</a>";
    echo "<ul>";
    echo "<a href='#' id='requesition'>Inventory Requesition</a>";
    if ($ro4->count_pending_request('PHARMACY') > 0) {
        echo "<a href='#' id='pendingRequest'>Pending Request (<font color=red>" . $ro4->count_pending_request("PHARMACY") . "</font>)</a>";
    } else {
        echo "<a href='#'>Pending Request</a>";
    }
    echo "</ul>";
} else {
    echo "";
}
?>


</ul>
</div>

開發者ID:rickyx12,項目名稱:protacio,代碼行數:29,代碼來源:departmentHeading.php


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