prestation/Controleur/ControleurAjaxchangercollege.php
2025-12-05 10:42:46 +00:00

23 lines
592 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/College_temp.php';
class ControleurAjaxchangercollege extends Controleur {
private $college_temp;
public function __construct() {
$this->college_temp = new College_temp();
}
public function index()
{
$idAdherent = $_SESSION['idAdherent_C'];
$idCollege = $this->requete->getParametreFormulaire("idCollege");
$collegeTemp = $this->college_temp->changer_college_temp($idAdherent, $idCollege);
$this->genererVueAjax(array('collegeTemp' => $collegeTemp));
}
}