prestation/Controleur/ControleurAjaxetatentetestatsmaladiepolice.php
2025-12-05 10:42:46 +00:00

27 lines
730 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Statistique.php';
require_once 'Modele/Police.php';
require_once 'Modele/Gestionconfiee.php';
class ControleurAjaxetatentetestatsmaladiepolice extends Controleur {
public function __construct() {
$this->statistique = new Statistique();
$this->police = new Police();
$this->garant = new Gestionconfiee();
}
public function index()
{
$entetestat = $this->statistique->getParametreStat();
$garants = $this->garant->getListe();
$polices = $this->police->getPoliceStats();
$this->genererVueAjax(array('entetestat' => $entetestat, 'polices' => $polices, 'garants' =>$garants));
}
}