Rev 777 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php// declare(encoding='UTF-8');/*** Classe gérant les syntaxons** @category PHP 5.2* @package eflore-consultation* @author Mathilde SALTHUN-LASSALLE <mathilde@tela-botanica.org>* @copyright 2011 Tela-Botanica* @license http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3* @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2* @version $Id$*/class Syntaxons extends Eflore {private $catminat;public function setCatminat($code) {$this->catminat = 'catminat:'.$code;}public function getSyntaxonsSuperieurs() {$url = $this->getUrlSyntaxonsSuperieurs();return $this->chargerDonnees($url);}public function getSyntaxonsCatminat() {$url = $this->getUrlSyntaxonsCatminat();return $this->chargerDonnees($url);}public function getSyntaxonsSynonymes() {$url = $this->getUrlSyntaxonsSynonymes();return $this->chargerDonnees($url);}public function getUrlSyntaxonsCatminat() {$tpl = Config::get('syntaxonsCatminat');$params = array( 'code' => urlencode($this->catminat));$url = $this->formaterUrl($tpl, $params);return $url;}public function getUrlSyntaxonsSuperieurs() {$tpl = Config::get('syntaxonsSuperieurs');$params = array( 'code' => $this->catminat);$url = $this->formaterUrl($tpl, $params);return $url;}public function getUrlSyntaxonsSynonymes() {$tpl = Config::get('syntaxonsSynonymes');$params = array( 'code' => $this->catminat);$url = $this->formaterUrl($tpl, $params);return $url;}}?>