garant/Controleur/ControleurGcfraisgestion.php
2025-12-01 19:18:15 +00:00

31 lines
747 B
PHP

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Menuvueutilisateur.php';
require_once 'Modele/Gestionconfiee.php';
class ControleurGcfraisgestion extends Controleur
{
private $gc;
public function __construct()
{
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue('Gcfraisgestion');
$this->gc = new Gestionconfiee();
}
public function index()
{
$idEnteteGcFraisgestion = $_SESSION['idEnteteGcFraisgestion'];
$this->gc->recapfraisgestion($idEnteteGcFraisgestion);
$entetefraisgestion = $this->gc->getentetefraisgestion($idEnteteGcFraisgestion);
$this->genererVue(array('entetefraisgestion' => $entetefraisgestion));
}
}