Import initial du projet Production
This commit is contained in:
27
Controleur/ControleurGcpolices.php
Normal file
27
Controleur/ControleurGcpolices.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?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));
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user