26 lines
684 B
PHP
26 lines
684 B
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Feuillemaladie.php';
|
|
|
|
class ControleurAjaxfeuillemaladie extends Controleur {
|
|
private $feuillemaladie;
|
|
|
|
|
|
public function __construct() {
|
|
$this->feuillemaladie = new Feuillemaladie();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$contestation = $this->feuillemaladie->getContestationFeuille();
|
|
|
|
$this->genererVueAjax(array('contestation' => $contestation));
|
|
}
|
|
|
|
public function avishopitalisation()
|
|
{
|
|
$avisHospitalisation = $this->feuillemaladie->getAvisHospitalisationFeuille();
|
|
|
|
$this->genererVueAjax(array('avisHospitalisation' => $avisHospitalisation));
|
|
}
|
|
} |