37 lines
951 B
PHP
Executable File
37 lines
951 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
require_once 'Modele/Police.php';
|
|
|
|
|
|
class ControleurPagetmcollegegarantieprestataire extends Controleur
|
|
{
|
|
private $menuvue;
|
|
private $police;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Pagetmcollegegarantieprestataire');
|
|
|
|
$this->police = new Police();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$polices = $this->police->getListePoliceTarifAutre();
|
|
$tmcollege = $this->police->getTmcollegegarantieprestataire();
|
|
|
|
$colleges = array();
|
|
$garanties = $this->police->getgarantie();
|
|
|
|
$chemin = $this->menuvue->getChemin('Pagetmcollegegarantieprestataire');
|
|
|
|
$this->genererVue(array(
|
|
'polices' => $polices,
|
|
'colleges' => $colleges,
|
|
'tmcollege' => $tmcollege,
|
|
'garanties' => $garanties ,'chemin' => $chemin
|
|
|
|
));
|
|
}
|
|
} |