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

30 lines
646 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Menuvueutilisateur.php';
require_once 'Modele/Gestionconfiee.php';
class ControleurGcredressements extends Controleur
{
private $menuvue;
private $gc;
public function __construct()
{
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue('Gcredressements');
$this->gc = new Gestionconfiee();
}
public function index()
{
$gc = $this->gc->getListe() ;
$chemin = $this->menuvue->getChemin('Gcredressements');
$this->genererVue(array('gc' => $gc ,'chemin' => $chemin));
}
}