ger
This commit is contained in:
45
Controleur/ControleurFicheuserrhclient.php
Executable file
45
Controleur/ControleurFicheuserrhclient.php
Executable file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Client.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
require_once 'Modele/Ouinon.php';
|
||||
require_once 'Modele/Langue.php';
|
||||
|
||||
class ControleurFicheuserrhclient extends Controleur {
|
||||
private $menuvue;
|
||||
private $client;
|
||||
private $langue;
|
||||
private $oui_non;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue("Ficheuserrhclient");
|
||||
|
||||
$this->client = new Client();
|
||||
$this->oui_non = new Ouinon();
|
||||
$this->langue = new Langue();
|
||||
}
|
||||
|
||||
|
||||
public function index()
|
||||
{
|
||||
$idUtilisateur = $this->requete->getParametreFormulaire("id");
|
||||
$user_actif = $this->oui_non->getListe();
|
||||
$user_actVisible = $this->oui_non->getListe();
|
||||
$langue = $this->langue->getListe();
|
||||
$user_AffectionVisible = $this->oui_non->getListe();
|
||||
|
||||
$user_rh = $this->client->getunuserrhclient($idUtilisateur);
|
||||
$user_profil = $this->client->getListeProfilRh();
|
||||
|
||||
$this->genererVue(array(
|
||||
'user_rh' => $user_rh,
|
||||
'user_actif' => $user_actif,
|
||||
'user_actVisible' => $user_actVisible,
|
||||
'langue' => $langue,
|
||||
'user_AffectionVisible' => $user_AffectionVisible,
|
||||
'user_profil' => $user_profil
|
||||
));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user