Import initial du projet prestation
This commit is contained in:
26
Controleur/ControleurGcfacturation.php
Normal file
26
Controleur/ControleurGcfacturation.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
require_once 'Modele/Gestionconfiee.php';
|
||||
|
||||
class ControleurGcfacturation extends Controleur
|
||||
{
|
||||
private $gc;
|
||||
|
||||
private $menuvue;
|
||||
public function __construct()
|
||||
{
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue('Gcfacturation');
|
||||
|
||||
$this->gc = new Gestionconfiee();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$gc = $this->gc->getListe() ;
|
||||
|
||||
$this->genererVue(array('gc' => $gc));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user