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

28 lines
762 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/College_temp.php';
class ControleurRecaplimitecollege extends Controleur {
private $menuvue;
private $college_temp;
public function __construct() {
$this->college_temp = new College_temp();
}
public function index()
{
$idCollegeTemp = $_SESSION['idCollegeTemp'];
$this->college_temp->recapituler_maj_limite_college($idCollegeTemp);
$collegeTemp = $this->college_temp->getCollegeTemp($idCollegeTemp);
$this->genererVueAjax(array('collegeTemp' => $collegeTemp));
}
public function recapituler() {
$idCollegeTemp = $_SESSION['idCollegeTemp'];
$this->college_temp->recapituler_maj_limite_college($idCollegeTemp);
}
}