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


PHP Department::getAllActiveWithSurgery方法代碼示例

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


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

示例1: yesterday

//setcookie(op_pflegelogbuch_user,$user);
$thisfile = basename($_SERVER['PHP_SELF']);
$breakfile = 'javascript:window.close()';
if (!isset($saal) || !$saal) {
    $saal = 1;
}
//default or room
$pdata = array();
$filetitles = array();
$template = array();
$datafound = false;
require_once $root_path . 'include/care_api_classes/class_department.php';
$dept_obj = new Department();
$dept_obj->preloadDept($dept_nr);
/* Load all operative departments */
$surgery_arr =& $dept_obj->getAllActiveWithSurgery();
/* Get list of all active OR numbers */
$ORNrs =& $dept_obj->getAllActiveORNrs();
function yesterday(&$fd, &$fm, &$fy, $minyr)
{
    if ($fd < 2) {
        if ($fm < 2) {
            if ($fy < $minyr) {
                return false;
            } else {
                $fy = $fy - 1;
                $fm = 12;
                $fd = 31;
            }
        } else {
            $fm = $fm - 1;
開發者ID:patmark,項目名稱:care2x-tz,代碼行數:31,代碼來源:op-pflege-logbuch-arch-start.php

示例2: date

switch($retpath)
{
	case "docs": $breakfile='doctors.php'.URL_APPEND; break;
	case "op": $breakfile='op-doku.php'.URL_APPEND; break;
}
*/
/* default startpage */
$breakfile = $root_path . 'main/op-doku.php' . URL_APPEND;
$pday = date(j);
$pmonth = date(n);
$pyear = date(Y);
$abtarr = array();
$abtname = array();
$datum = date("d.m.Y");
/* Load the department list with oncall doctors */
$dept_DOC =& $dept_obj->getAllActiveWithSurgery();
if (is_array($dept_DOC)) {
    $dlen = sizeof($dept_DOC);
} else {
    $dlen = 0;
}
$ORNrs =& $dept_obj->getAllActiveORNrs();
if (is_object($ORNrs)) {
    $slen = $ORNrs->RecordCount();
} else {
    $slen = 0;
}
# Start Smarty templating here
/**
 * LOAD Smarty
 */
開發者ID:patmark,項目名稱:care2x-tz,代碼行數:31,代碼來源:op-nursing-select-dept.php


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