menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue("Textecpd"); $this->textecp = new Police_d(); } public function index() { $idPolice = $_SESSION['idPolice_d_C']; $textecp = $this->textecp->getTextecp($idPolice); $this->genererVue(array('textecp' => $textecp)); } public function enregistrer() { $idPolice = $_SESSION['idPolice_d_C']; $texteCp = $this->requete->getParametreFormulaire("texteCp"); $this->textecp->enregistrertexteCp($texteCp, $idPolice); $this->rediriger("Fichedevis"); } }