Import initial du projet Production
This commit is contained in:
38
Controleur/ControleurPrestatairetmcons.php
Normal file
38
Controleur/ControleurPrestatairetmcons.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/College_temp.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
|
||||
class ControleurPrestatairetmcons extends Controleur {
|
||||
private $menuvue;
|
||||
private $college_temp;
|
||||
|
||||
public function __construct() {
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue('Prestatairetmcons');
|
||||
$this->college_temp = new College_temp();
|
||||
|
||||
$_SESSION['modeDevis'] = "0";
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$idPolice = $_SESSION['idPolice_C'];
|
||||
|
||||
$college= $this->college_temp->getListeCollege($idPolice);
|
||||
|
||||
$chemin = $this->menuvue->getChemin('Prestatairetmcons');
|
||||
|
||||
$this->genererVue(array('college' => $college, 'chemin' => $chemin));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user