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

37 lines
907 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Menuvueutilisateur.php';
require_once 'Modele/Police.php';
class ControleurPagetmcollegegarantie extends Controleur
{
private $menuvue;
private $police;
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue('Pagetmcollegegarantie');
$this->police = new Police();
}
public function index()
{
$polices = $this->police->getListePoliceTarifAutre();
$tmcollege = $this->police->getTmcollegegarantie();
$colleges = array();
$garanties = $this->police->getgarantie();
$chemin = $this->menuvue->getChemin('Pagetmcollegegarantie');
$this->genererVue(array(
'polices' => $polices,
'colleges' => $colleges,
'tmcollege' => $tmcollege,
'garanties' => $garanties ,'chemin' => $chemin
));
}
}