Import initial du projet Production
This commit is contained in:
28
Controleur/ControleurAjaxsituationclients.php
Normal file
28
Controleur/ControleurAjaxsituationclients.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Statistique.php';
|
||||
|
||||
class ControleurAjaxsituationclients extends Controleur
|
||||
{
|
||||
private $etat;
|
||||
|
||||
public function __construct() {
|
||||
$this->etat = new Statistique();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$dateAnalyse = $this->requete->getParametreDate("dateAnalyse");
|
||||
|
||||
$donnees = $this->etat->etatprodsituationclients($dateAnalyse);
|
||||
|
||||
$donnees_total = null;
|
||||
|
||||
if(count($donnees)>"0")
|
||||
{
|
||||
$donnees_total = $donnees['0'];
|
||||
}
|
||||
|
||||
$this->genererVueAjax(array('donnees' => $donnees, 'donnees_total' => $donnees_total));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user