Import initial du projet Production
This commit is contained in:
29
Controleur/ControleurRecaplimiteadd.php
Normal file
29
Controleur/ControleurRecaplimiteadd.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Police.php';
|
||||
require_once 'Modele/College_temp.php';
|
||||
|
||||
class ControleurRecaplimiteadd extends Controleur {
|
||||
private $menuvue;
|
||||
private $avenant;
|
||||
private $college_temp;
|
||||
|
||||
public function __construct() {
|
||||
$this->avenant = new Police();
|
||||
$this->college_temp = new College_temp();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$idPolice = $_SESSION['idPolice_C'];
|
||||
$this->avenant->recapituler_maj_limite_police();
|
||||
$avenant = $this->avenant->getAvenantTemp($idPolice);
|
||||
|
||||
$colleges = $this->college_temp->getCollegesPolice();
|
||||
$totalcollege = $this->college_temp->getTotaldcollege($idPolice);
|
||||
|
||||
$chemin = $this->menuvue->getChemin('Recaplimiteadd');
|
||||
|
||||
$this->genererVueAjax(array('avenant' => $avenant, 'colleges' => $colleges, 'totalcollege' => $totalcollege,'chemin' => $chemin));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user