27 lines
730 B
PHP
Executable File
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));
|
|
}
|
|
} |