当前位置: 首页>>代码示例>>PHP>>正文


PHP Department::getPhoneInfo方法代码示例

本文整理汇总了PHP中Department::getPhoneInfo方法的典型用法代码示例。如果您正苦于以下问题:PHP Department::getPhoneInfo方法的具体用法?PHP Department::getPhoneInfo怎么用?PHP Department::getPhoneInfo使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Department的用法示例。


在下文中一共展示了Department::getPhoneInfo方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: setCharSet

* CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02
* GNU General Public License
* Copyright 2002,2003,2004,2005 Elpidio Latorilla
* elpidio@care2x.org, 
*
* See the file "copy_notice.txt" for the licence notice
*/
define('LANG_FILE', 'doctors.php');
define('NO_2LEVEL_CHK', 1);
require_once $root_path . 'include/inc_front_chain_lang.php';
require_once $root_path . 'include/care_api_classes/class_personell.php';
$pers_obj = new Personell();
$person =& $pers_obj->getPersonellInfo($nr);
require_once $root_path . 'include/care_api_classes/class_department.php';
$dept_obj = new Department();
$dept =& $dept_obj->getPhoneInfo($dept_nr);
require_once $root_path . 'include/care_api_classes/class_globalconfig.php';
$glob_obj = new GlobalConfig($GLOBAL_CONFIG);
$glob_obj->getConfig('person_%');
/* Check whether config foto path exists, else use default path */
$default_photo_path = 'fotos/registration';
$photo_filename = $person['photo_filename'];
$photo_path = is_dir($root_path . $GLOBAL_CONFIG['person_foto_path']) ? $GLOBAL_CONFIG['person_foto_path'] : $default_photo_path;
require_once $root_path . 'include/inc_photo_filename_resolve.php';
html_rtl($lang);
?>
<HEAD>
<?php 
echo setCharSet();
?>
<TITLE><?php 
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:doctors-dienstplan-popinfo.php

示例2: date

}
if ($pmonth == '') {
    $pmonth = date('m');
}
if ($pyear == '') {
    $pyear = date('Y');
}
$t_date = $pday . '.' . $pmonth . '.' . $pyear;
# Get department infos
$dept_obj = new Department();
$deptarray = $dept_obj->getAll();
$depttypes = $dept_obj->getTypes();
$dept = $dept_obj->getDeptAllInfo($dept_nr);
$dept_info = $dept_obj->getTypeInfo($dept['type']);
# Get department phone infos
$phone = $dept_obj->getPhoneInfo($dept_nr);
# Prepare title
$sTitle = "{$LDDepartment} :: ";
if (isset(${$dept}['LD_var']) && !empty(${$dept}['LD_var'])) {
    $sTitle = $sTitle . ${$dept}['LD_var'];
} else {
    $sTitle = $sTitle . $dept['name_formal'];
}
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('system_admin');
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:dept_info.php


注:本文中的Department::getPhoneInfo方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。