当前位置: 首页>>代码示例>>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;未经允许,请勿转载。