Import initial du projet Production
This commit is contained in:
30
Controleur/ControleurRecaplimitecollege.php
Normal file
30
Controleur/ControleurRecaplimitecollege.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?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);
|
||||
|
||||
$chemin = $this->menuvue->getChemin('Recaplimitecollege');
|
||||
|
||||
$this->genererVueAjax(array('collegeTemp' => $collegeTemp, 'chemin' => $chemin));
|
||||
}
|
||||
|
||||
public function recapituler() {
|
||||
$idCollegeTemp = $_SESSION['idCollegeTemp'];
|
||||
$this->college_temp->recapituler_maj_limite_college($idCollegeTemp);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user