/** * Affiche tous les termes * */ public function showAll() { $termManager = new \Manager\TermManager(); $terms = $termManager->findAll("modifiedDate", "DESC"); $wotd = $termManager->getCurrentWordOfTheDay(); $this->show('term/show_all_terms', ['terms' => $terms, 'wotd' => $wotd]); }
/** * Affiche tous les termes */ public function showAll() { $this->allowTo('admin'); $termManager = new \Manager\TermManager(); $terms = $termManager->findAll("modifiedDate", "DESC"); $this->show('term/show_all_terms', ['terms' => $terms]); }
/** * Affiche tous les termes */ public function showAll() { $this->allowTo('admin'); $termManager = new \Manager\TermManager(); // debug(get_class_methods($termManager)); $terms = $termManager->findAll("modifiedDate", "DESC"); // debug($terms); $this->show('term/show_all_terms', ['terms' => $terms]); }