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

33 lines
881 B
PHP
Executable File

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