本文整理汇总了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>