28 lines
662 B
PHP
28 lines
662 B
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
|
|
require_once 'Modele/Tarifsmedicaments.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
|
|
class ControleurModifiertarifmedicament extends Controleur {
|
|
private $menuvue;
|
|
private $tarif;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Modifiertarifmedicament');
|
|
|
|
$this->tarif = new Tarifsmedicaments();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$idTarif = $this->requete->getParametreFormulaire("id");
|
|
|
|
$tarif = $this->tarif->getunptarif($idTarif);
|
|
|
|
$this->genererVue(array('tarif' => $tarif));
|
|
}
|
|
|
|
|
|
} |