production/Controleur/ControleurTextefacturationgarant.php
2025-12-01 16:12:12 +00:00

29 lines
708 B
PHP

<?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
));
}
}