production/Controleur/ControleurParamseuilalerte.php
2025-12-02 11:29:44 +00:00

30 lines
806 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Produit.php';
require_once 'Modele/Menuvueutilisateur.php';
require_once 'Modele/Gestionconfiee.php';
class ControleurParamseuilalerte extends Controleur
{
private $menuvue;
private $produit;
private $garant;
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue('Paramseuilalerte');
$this->produit = new Produit();
$this->garant = new Gestionconfiee();
}
public function index()
{
$garant = $this->garant->getListeGarantDansProduit();
$produits = array();
$_SESSION['codeGcAssureur_S'] = "";
$_SESSION['codeProduit_S'] = "";
$this->genererVue(array('garant' => $garant, 'produits' => $produits));
}
}