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

27 lines
651 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Gestionconfiee.php';
require_once 'Modele/Menuvueutilisateur.php';
class ControleurGcpolices extends Controleur {
private $menuvue;
private $gc;
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue("Gcpolices");
$this->gc = new Gestionconfiee();
$_SESSION['modeDevis'] = "0";
}
public function index()
{
$gcs = $this->gc->getGcPolices();
$chemin = $this->menuvue->getChemin('Gcpolices');
$this->genererVue(array('gcs' => $gcs ,'chemin' => $chemin));
}
}