Import initial du projet Production
This commit is contained in:
36
Controleur/ControleurRemplaceradherent.php
Normal file
36
Controleur/ControleurRemplaceradherent.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Adherent.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
|
||||
class ControleurRemplaceradherent extends Controleur {
|
||||
private $menuvue;
|
||||
private $adherent;
|
||||
|
||||
public function __construct() {
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue('Remplaceradherent');
|
||||
|
||||
$this->adherent = new Adherent();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$idPolice = $_SESSION['idPolice_C'];
|
||||
$idAdherent = $_SESSION['idAdherent_C'];
|
||||
|
||||
// $adherent = $this->adherent->getAdherentIdConso($idAdherent);
|
||||
$adherent = $this->adherent->getAdherentIdRempl($idAdherent);
|
||||
|
||||
$chemin = $this->menuvue->getChemin('Remplaceradherent');
|
||||
|
||||
$this->genererVue(array('adherent' => $adherent, 'chemin' => $chemin));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user