Esempio n. 1
0
 function __construct($type, $recup = '')
 {
     global $options;
     $options->checkOptionListe($type, 1);
     if ($recup) {
         $this->type = $type;
     } else {
         $droits = new clDroits("CHECK");
         $droits->checkDroit("Administration_" . $type, "Administration : Gestion de la liste complexe '{$type}'");
         $this->type = $type;
         $this->setAffichage();
     }
 }
Esempio n. 2
0
 function setDroits()
 {
     $droits = new clDroits($this->user['idgroupe']);
     $this->droits = $droits->getDroits();
 }