Initial commit for newdesigngestionnaire project
This commit is contained in:
28
Controleur/ControleurGcfactures.php
Executable file
28
Controleur/ControleurGcfactures.php
Executable file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
require_once 'Modele/Gestionconfiee.php';
|
||||
|
||||
class ControleurGcfactures extends Controleur
|
||||
{
|
||||
private $menuvue;
|
||||
private $gc;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue('Gcfactures');
|
||||
|
||||
$this->gc = new Gestionconfiee();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$gc = $this->gc->getListe() ;
|
||||
|
||||
$chemin = $this->menuvue->getChemin('Gcfactures');
|
||||
|
||||
$this->genererVue(array('gc' => $gc, 'chemin' => $chemin));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user