* @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' => $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; } } ?>