コード例 #1
0
ファイル: vw_history.php プロジェクト: fbone/mediboard4
<?php

/**
 * $Id: vw_history.php 19425 2013-06-04 18:04:05Z mytto $
 *
 * @package    Mediboard
 * @subpackage Cabinet
 * @author     SARL OpenXtrem <*****@*****.**>
 * @license    GNU General Public License, see http://www.gnu.org/licenses/gpl.html
 * @version    $Revision: 19425 $
 */
CCanDo::checkRead();
// Définition des variables
$consultation_id = CValue::get("consultation_id", 0);
$consult = new CConsultation();
$consult->load($consultation_id);
$consult->loadRefConsultAnesth();
$consult->loadLogs();
foreach ($consult->_refs_dossiers_anesth as $_dossier_anesth) {
    $_dossier_anesth->loadLogs();
}
// Création du template
$smarty = new CSmartyDP();
$smarty->assign("consult", $consult);
$smarty->display("vw_history.tpl");