Import initial du projet Production
This commit is contained in:
34
Controleur/ControleurGcfraisgestion.php
Normal file
34
Controleur/ControleurGcfraisgestion.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
require_once 'Modele/Gestionconfiee.php';
|
||||
|
||||
class ControleurGcfraisgestion extends Controleur
|
||||
{
|
||||
private $menuvue;
|
||||
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);
|
||||
|
||||
$chemin = $this->menuvue->getChemin('Gcfraisgestion');
|
||||
|
||||
|
||||
$this->genererVue(array('entetefraisgestion' => $entetefraisgestion,'chemin' => $chemin));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user