29 lines
708 B
PHP
Executable File
29 lines
708 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Societeuser.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
|
|
|
|
class ControleurTextefacturationgarant extends Controleur {
|
|
private $menuvue;
|
|
private $societeuser;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Textefacturationgarant');
|
|
|
|
$this->societeuser = new Societeuser();
|
|
|
|
}
|
|
public function index()
|
|
{
|
|
$textes = $this->societeuser->getTexteFacturationGarant();
|
|
$chemin = $this->menuvue->getChemin('Textefacturationgarant');
|
|
|
|
$this->genererVue(array(
|
|
'textes' => $textes,'chemin' => $chemin
|
|
|
|
));
|
|
}
|
|
|
|
} |