コード例 #1
0
ファイル: Film.php プロジェクト: CamTosh/Mediastorrent
 function recherche($keyconnexion = null, $re = null)
 {
     \model\simple\Utilisateur::authentificationDistante($keyconnexion);
     if (!\config\Conf::$user["user"]) {
         throw new \Exception("Non User");
     }
     if (is_null($re)) {
         $re = $_REQUEST["recherche"];
     }
     $all = new \model\simple\Allocine($re);
     $this->set(array("localfilm" => \model\mysql\Film::rechercheFormat($re), "film" => $all->retourneResMoviesFormat()));
 }