production/Controleur/ControleurPagetmcollegeacte.php
2025-12-02 11:29:44 +00:00

39 lines
939 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Menuvueutilisateur.php';
require_once 'Modele/Police.php';
class ControleurPagetmcollegeacte extends Controleur
{
private $menuvue;
private $police;
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue('Pagetmcollegeacte');
$this->police = new Police();
}
public function index()
{
$polices = $this->police->getListePoliceTarifAutre();
$tmcollege = $this->police->getTmcollegeacte();
$colleges = array();
$codeGarantie = "HOS";
$garanties = $this->police->getgarantiehospit($codeGarantie);
$chemin = $this->menuvue->getChemin('Pagetmcollegeacte');
$this->genererVue(array(
'polices' => $polices,
'colleges' => $colleges,
'tmcollege' => $tmcollege,
'garanties' => $garanties ,'chemin' => $chemin
));
}
}