garant/Controleur/ControleurAjaxcontextadherent.php
2025-12-05 10:57:03 +00:00

21 lines
557 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
//require_once 'Modele/Adherent.php';
class ControleurAjaxcontextadherent extends Controleur {
//private $adherent;
public function __construct() {
// $this->adherent = new Adherent();
}
public function index() {
$numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent");
$idAdherent = $this->requete->getParametreFormulaire("idAdherent");
$_SESSION['numeroAdherent_C'] = $numeroAdherent;
$_SESSION['idAdherent_C'] = $idAdherent;
}
}