示例#1
0
 /**
  * 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]);
 }
示例#2
0
 /**
  * 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]);
 }
示例#3
0
 /**
  * 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]);
 }