public function getTag()
 {
     $tpl = new CopixTpl();
     $tpl->assign('TITLE_PAGE', CopixI18N::get('ressource.title.module') . ' » ' . CopixI18N::get('ressource.title.tag') . ' : "' . _request("tag") . '"');
     // Kernel::MyDebug( Ressource::alltags() );
     $ressource_list = Ressource::tag2ressources(_request("tag"), _request("id"));
     $tplList = new CopixTpl();
     $tplList->assign('ressource_list', $ressource_list);
     $alltags = Ressource::similarTags(_request("tag"), _request("id"));
     $tplList->assign('tags_list', $alltags);
     $tplList->assign('annu_id', _request("id"));
     $menu = array();
     $menu[] = array('url' => CopixUrl::get('|getSearchAdvanced', array('id' => _request("id"))), 'txt' => CopixI18N::get('ressource.menu.parCriteres'));
     $menu[] = array('url' => CopixUrl::get('ressource||getList', array('id' => _request("id"))), 'txt' => CopixI18N::get('ressource.menu.retourListe'));
     if (Ressource::checkRight("ANNU", _request("id"), PROFILE_CCV_WRITE)) {
         $menu[] = array('url' => CopixUrl::get('ressource||getRessource', array('id' => _request("id"), 'mode' => 'new')), 'txt' => CopixI18N::get('ressource.menu.ajouterRessource'));
     }
     $result = $tplList->fetch("gettag.tpl");
     $tpl->assign('MENU', $menu);
     $tpl->assign('MAIN', $result);
     return new CopixActionReturn(COPIX_AR_DISPLAY, $tpl);
 }
 public function othertags($tag, $annu = 0)
 {
     // Todo: annu
     $ressources_list = Ressource::tag2ressources($tag, $annu);
     $tags_all = array();
     foreach ($ressources_list as $res_key => $res_val) {
         $tags = Ressource::motcles2tags($res_val->ressources_mots);
         $tags_all = array_merge($tags_all, $tags);
     }
     return $tags_all;
 }