28 lines
773 B
PHP
Executable File
28 lines
773 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Produit.php';
|
|
require_once 'Modele/Gestionconfiee.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
|
|
class ControleurExclusionactesparproduit extends Controleur
|
|
{
|
|
private $menuvue;
|
|
private $produit;
|
|
private $garant;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Exclusionactesparproduit');
|
|
|
|
$this->produit = new Produit();
|
|
$this->garant = new Gestionconfiee();
|
|
}
|
|
public function index()
|
|
{
|
|
$produits = array();//$this->produit->getListe();
|
|
$garant = $this->garant->getListeGarantDansProduit();
|
|
|
|
|
|
$this->genererVue(array('produits' => $produits, 'garant' => $garant));
|
|
}
|
|
} |