view->headLink()->appendStylesheet('/themes/default/styles/dashboard.css', 'all'); } public function indexAction() { } public function profilsAction() { $profilsM = new Table_EnrichissementProfils(); $sql = $profilsM->select() ->from($profilsM, array('id', 'idClient', 'login', 'reference', 'tarifLigne', 'dateAjout', 'dateSuppr', 'actif')); $profils = $profilsM->fetchAll($sql); $this->view->assign('profils', $profils); } public function profilAction(){} public function profiladdAction() { $request = $this->getRequest(); //Sauvegarde du formulaire if ( $request->isPost() ){ } //Affichage du formulaire require_once 'Scores/Enrichissement.php'; $fieldsM = new Enrichissement(); $allFields = $fieldsM->getFields(); $this->view->assign('fields', $allFields); } public function profildelAction(){} }