本文整理匯總了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>
示例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>
示例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>