24 lines
716 B
PHP
24 lines
716 B
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Adherent.php';
|
|
|
|
class ControleurAjaxgarantiescollegeadherent extends Controleur {
|
|
private $adherent;
|
|
|
|
public function __construct() {
|
|
$this->adherent = new Adherent();
|
|
}
|
|
|
|
public function index() {
|
|
$garantiesadd = $this->adherent->getGarAddCollege();
|
|
$this->genererVueAjax(array('garantiesadd' => $garantiesadd));
|
|
}
|
|
|
|
public function majplafondadherent()
|
|
{
|
|
$idGarantie = $this->requete->getParametre("idGarantie");
|
|
$plafond = $this->requete->getParametreFormulaire("plafond","numerique");
|
|
$this->adherent->majplafondadd($idGarantie, $plafond);
|
|
$this->executerAction("index");
|
|
}
|
|
} |