29 lines
820 B
PHP
Executable File
29 lines
820 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Adherent.php';
|
|
require_once 'Modele/Police.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
|
|
class ControleurListeadherent extends Controleur {
|
|
private $adherent;
|
|
private $police;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue("Listeadherent");
|
|
|
|
$this->adherent = new Adherent();
|
|
$this->police = new Police();
|
|
|
|
}
|
|
public function index() {
|
|
$idPolice = $_SESSION['idPolice_C'];
|
|
$codeSociete = $this->requete->getSession()->getAttribut('codeSociete');
|
|
|
|
$this->adherent->getNbassure($idPolice);
|
|
|
|
$police = $this->police->getPoliceIdSimple($idPolice);
|
|
|
|
$this->genererVue(array('police' => $police));
|
|
}
|
|
} |