get('meeo'); $this->wiki = $wiki; $this->formId = $meeo_config['elevesFormId']; $this->entryManager = $entryManager; $this->listManager = $listManager; } public function del($id) { $this->entryManager->delete($id); } public function updateClasse($id, $classe) { return $this->entryManager->update($id, ['listeListeClassesbf_classe' => $classe, 'antispam' => true]); } public function getAll() { return $this->entryManager->search(['formsIds' => $this->formId]); } public function view() { $eleves = $this->getAll(); // echo '

'.var_dump($eleves).'

'; $classes = $this->listManager->getOne('ListeClasses'); return $this->wiki->render('@meeo/edu_eleves.twig', ['eleves' => $eleves, 'classes' => $classes['label']]); } }