28 lines
725 B
PHP
Executable File
28 lines
725 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Adherent.php';
|
|
require_once 'Modele/Beneficiaire.php';
|
|
|
|
class ControleurAjaxlistecartebeneficiaire extends Controleur {
|
|
private $adherent;
|
|
private $beneficiaire;
|
|
|
|
public function __construct() {
|
|
$this->adherent = new Adherent();
|
|
$this->beneficiaire = new Beneficiaire();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$codeGcAssureur = $this->requete->getParametreFormulaire("codeGcAssureur");
|
|
$nomAdherent = $this->requete->getParametreFormulaire("nomAdherent");
|
|
|
|
$listecarte = $this->beneficiaire->getlistecartebeneficiaire() ;
|
|
|
|
|
|
|
|
|
|
$this->genererVueAjax(array('listecarte' => $listecarte));
|
|
}
|
|
}
|