Ejemplo n.º 1
0
 function liste($keyconnexion = null)
 {
     \model\simple\Utilisateur::authentificationDistante($keyconnexion);
     if (!\config\Conf::$user["user"]) {
         throw new \Exception("Non User");
     }
     if (!\config\Conf::$user["role"] >= \config\Conf::$rolenumero["Torrent"]) {
         throw new \Exception("Non authorisé");
     }
     $vv = \model\simple\Repertoire::getFindAll();
     //var_dump($vv);
     $this->set("rep", $vv);
     //$this->set("rep", "rigolo");
 }
Ejemplo n.º 2
0
 function tfind()
 {
     $vv = Repertoire::getFindAll();
     $this->set("rep", $vv);
 }