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"); }
function tfind() { $vv = Repertoire::getFindAll(); $this->set("rep", $vv); }