29 lines
834 B
PHP
Executable File
29 lines
834 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Reponseententeprealable.php';
|
|
require_once 'Modele/Ouinon.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
|
|
class ControleurProformahospitalisation extends Controleur {
|
|
private $menuvue;
|
|
private $ouinon;
|
|
private $reponseententeprealable;
|
|
private $ouinonattente;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Proformahospitalisation');
|
|
|
|
$this->reponseententeprealable = (new Reponseententeprealable())->getListe();
|
|
$this->ouinonattente = (new Ouinon())->getListe();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
|
|
$this->genererVue(array(
|
|
'reponseententeprealable' => $this->reponseententeprealable,
|
|
'ouinonattente' => $this->ouinonattente
|
|
));
|
|
}
|
|
} |