garant/Controleur/ControleurGcfactures.php
2025-12-05 10:57:03 +00:00

26 lines
525 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 $gc;
public function __construct()
{
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue('Gcfactures');
$this->gc = new Gestionconfiee();
}
public function index()
{
$gc = $this->gc->getListe() ;
$this->genererVue(array('gc' => $gc));
}
}