23 lines
636 B
PHP
Executable File
23 lines
636 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Adherent.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
|
|
class ControleurExtranetadherent extends Controleur {
|
|
private $menuvue;
|
|
private $adherent;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue("Extranetadherent");
|
|
|
|
$this->adherent = new Adherent();
|
|
}
|
|
public function index() {
|
|
$idAdherent = $_SESSION['idAdherent_C'];
|
|
|
|
$adherent = $this->adherent->getContexteAdherentId($idAdherent);
|
|
|
|
$this->genererVue(array('adherent' => $adherent));
|
|
}
|
|
} |