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

29 lines
624 B
PHP
Executable File

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