24 lines
680 B
PHP
Executable File
24 lines
680 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Gestionconfiee.php';
|
|
|
|
class ControleurAjaxlistegarantsparametrage extends Controleur
|
|
{
|
|
private $gc;
|
|
|
|
public function __construct() {
|
|
$this->gc = new Gestionconfiee();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$typeGarant = $this->requete->getParametreFormulaire("typeGarant");
|
|
$libelle = $this->requete->getParametreFormulaire("libelle");
|
|
|
|
$codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur");
|
|
|
|
$garants = $this->gc->getgarantsparametrage($typeGarant, $libelle, $codeGcAssureur) ;
|
|
|
|
$this->genererVueAjax(array('garants' => $garants));
|
|
}
|
|
} |