24 lines
729 B
PHP
24 lines
729 B
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Adherent_temp.php';
|
|
|
|
class ControleurAjaxproraterprime extends Controleur {
|
|
private $adherent_temp;
|
|
|
|
public function __construct() {
|
|
$this->adherent_temp = new Adherent_temp();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$user = $_SESSION['login'];
|
|
$idCollege = $this->requete->getParametreFormulaire("idCollege");
|
|
$prorata = $this->requete->getParametreFormulaire("prorata");
|
|
$dateEntree = $this->requete->getParametreDate("dateEntree");
|
|
|
|
$adherent_temp = $this->adherent_temp->getAdherent_temp($idCollege, $dateEntree, $user, $prorata) ;
|
|
|
|
$this->genererVueAjax(array('adherent_temp' => $adherent_temp));
|
|
}
|
|
}
|