/** * @brief Méthode qui appelle la vue d'affichage de la page d'une oeuvre qui n'a pas encore été approuvée - pour les utilisateurs admin * @access private * @return void */ private function oeuvreSoumise() { $oeuvre = new Oeuvre(); $oeuvreAffichee = $oeuvre->getAnyOeuvreById($_GET["o"]); $commentaire = new Commentaire(); $commentairesOeuvre = $commentaire->getCommentairesByOeuvre($_GET["o"], $this->langueAffichage); $photo = new Photo(); $photosOeuvre = $photo->getPhotosByOeuvre($_GET["o"], false); $artiste = new Artiste(); $artistesOeuvre = $artiste->getArtistesbyOeuvreId($_GET["o"]); $this->oVue = new VueOeuvreSoumise(); $this->oVue->setDataGlobal('oeuvreSoumise', "page d'une oeuvre soumise", $this->langueAffichage, $this->pOeuvreSoumise); $this->oVue->setData($oeuvreAffichee, $commentairesOeuvre, $photosOeuvre, $artistesOeuvre, $this->langueAffichage); $this->oVue->afficherMeta(); $this->oVue->afficherEntete(); $this->oVue->afficherBody(); $this->oVue->afficherPiedPage(); }