Import initial du projet Production
This commit is contained in:
30
Controleur/ControleurParamseuilalerte.php
Normal file
30
Controleur/ControleurParamseuilalerte.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user