36 lines
1.1 KiB
PHP
Executable File
36 lines
1.1 KiB
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
require_once 'Modele/Detailexamem.php';
|
|
require_once 'Modele/Examen_temp.php';
|
|
|
|
class ControleurExamensmedicaux extends Controleur {
|
|
private $prescription;
|
|
private $detailprescription;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Examensmedicaux');
|
|
|
|
$this->prescription = new Examen_temp();
|
|
$this->detailprescription = new Detailexamem();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$numeroExamen = $_SESSION['numeroExamen_C'];
|
|
|
|
$this->prescription->initexamensmedicaux_cso();
|
|
|
|
$prescription = $this->prescription->getexamentemp();
|
|
|
|
$detailprescriptions = $this->detailprescription->getdetailexamenfeuille();
|
|
|
|
$detailnonlivres = $this->prescription->getdetailnonlivre();
|
|
|
|
$detaillivres = $this->prescription->getdetaillivre();
|
|
|
|
$this->genererVue(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions,
|
|
'detailnonlivres' => $detailnonlivres, 'detaillivres' => $detaillivres));
|
|
}
|
|
} |