function getInfosFilm($id) { $all = new \model\simple\TheMovieDb(); $this->set(array("film" => $all->getMovie($id))); }
function tmdb($re) { $tmdb = new \model\simple\TheMovieDb(); $this->set(array("film" => $tmdb->getMovieFormat($re))); }