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