Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 169 | Rev 291 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 169 Rev 283
Line 11... Line 11...
11
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
11
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
12
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
12
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
13
 * @version		$Id$
13
 * @version		$Id$
14
 */
14
 */
15
class Noms extends Eflore {
15
class Noms extends Eflore {
-
 
16
	public function getSynonymes($num_nom) {
-
 
17
		$tpl = Config::get('nomsSynonymesTpl');
-
 
18
		$params = array('id' => $num_nom);
-
 
19
		$url = $this->formaterUrl($tpl, $params);
-
 
20
		return $this->chargerDonnees($url);
-
 
21
	}
16
 
22
	
17
	public function getRechercheEtendue($nom, $type_resultat = '') {
23
	public function getRechercheEtendue($nom, $type_resultat = '') {
18
		$methode = 'getUrlRecherche'.$type_resultat;
24
		$methode = 'getUrlRecherche'.$type_resultat;
19
		if (method_exists($this, $methode)) {
25
		if (method_exists($this, $methode)) {
20
			$url = $this->$methode($nom, 'etendue');
26
			$url = $this->$methode($nom, 'etendue');
21
		} else {
27
		} else {