21 lines
741 B
PHP
Executable File
21 lines
741 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Raisonconsultation.php';
|
|
require_once 'Modele/Ouinon.php';
|
|
|
|
class ControleurAjaxrequeteentetefeuillemaladie extends Controleur {
|
|
private $raison;
|
|
private $ouinon;
|
|
|
|
public function __construct() {
|
|
$this->raison = (new Raisonconsultation())->getListe();
|
|
$this->ouinonfacture = (new Ouinon())->getListe();
|
|
$this->ouinonhospit = (new Ouinon())->getListe();
|
|
$this->ouinonchirurgie = (new Ouinon())->getListe();
|
|
}
|
|
|
|
public function index() {
|
|
$this->genererVueAjax(array('raison' => $this->raison, 'ouinonfacture' => $this->ouinonfacture,
|
|
'ouinonhospit' => $this->ouinonhospit, 'ouinonchirurgie' => $this->ouinonchirurgie));
|
|
}
|
|
} |