Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 272 | Rev 302 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
272 delphine 1
<?php
2
// declare(encoding='UTF-8');
3
/**
4
 * Classe mère du module Liste.
5
 *
6
 * @category	PHP 5.2
7
 * @package		eflore-consultation
8
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
9
 * @author		Delphine CAUQUIL <delphine@tela-botanica.org>
10
 * @copyright	2011 Tela-Botanica
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
13
 * @version		$Id$
14
 */
15
class Ethnobotanique extends aControleur {
284 aurelien 16
	private $serviceNomsVernaculaires = null;
17
 
18
	public function __construct($num_tax = null, $type = null, $taille = 630) {
19
		$this->initialiser($num_tax);
20
	}
21
 
22
	public function initialiser($num_tax) {
23
		$this->serviceNomsVernaculaires = new NomsVernaculaires($num_tax);
24
	}
25
 
26
	public function obtenirDonnees($num_tax) {
27
		$donnees = $this->serviceNomsVernaculaires->getRechercheComplete($num_tax);
272 delphine 28
		return $donnees;
29
	}
30
}
31
?>