31 lines
781 B
PHP
Executable File
31 lines
781 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
require_once 'Modele/Client.php';
|
|
|
|
|
|
class ControleurPagetmsouscripteurprestataire extends Controleur
|
|
{
|
|
private $menuvue;
|
|
private $client;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Pagetmsouscripteurprestataire');
|
|
|
|
$this->client = new Client();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$clients = $this->client->getListeClient();
|
|
$tmclient = $this->client->getTmclientprestataire();
|
|
|
|
$chemin = $this->menuvue->getChemin('Pagetmsouscripteurprestataire');
|
|
$this->genererVue(array(
|
|
'clients' => $clients,
|
|
'tmclient' => $tmclient,
|
|
'chemin' => $chemin
|
|
));
|
|
}
|
|
} |