public function details($id)
 {
     $movieManager = new \Model\MovieManager();
     $movie = $movieManager->getIdMovie($id);
     include "views/details.php";
 }
示例#2
0
 /**
  *affiche la page details d'un film
  */
 public function details()
 {
     $movieManager = new \Model\MovieManager();
     $movie = $movieManager->find($_GET['id']);
     include "views/details.php";
 }