Subversion Repositories eFlore/Applications.cel

Rev

Rev 891 | Rev 906 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 891 Rev 897
Line 2... Line 2...
2
/**
2
/**
3
* PHP Version 5
3
* PHP Version 5
4
*
4
*
5
* @category  PHP
5
* @category  PHP
6
* @package   jrest
6
* @package   jrest
7
* @author    david <david@tela-botania.org>
7
* @author    David Delon <david@tela-botania.org>
-
 
8
* @author    Aurélien Peronnet <aurelien@tela-botania.org>
8
* @copyright 2010 Tela-Botanica
9
* @copyright 2010 Tela-Botanica
9
* @license   http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
10
* @license   http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
10
* @version   SVN: <svn_id>
11
* @version   SVN: <svn_id>
11
* @link      /doc/jrest/
12
* @link      /doc/jrest/
12
*/
13
*/
Line 20... Line 21...
20
class RechercheInfosTaxon extends Cel {
21
class RechercheInfosTaxon extends Cel {
Line 21... Line 22...
21
	
22
	
Line 22... Line 23...
22
	public function RechercheInfosTaxon($config) {
23
	public function RechercheInfosTaxon($config) {
23
		
-
 
24
		parent::__construct($config);
24
		
25
		
25
		parent::__construct($config);	
26
		// Connection à la base de données spécifique eflore
26
		// Connection à la base de données spécifique eflore
Line 27... Line 27...
27
		$this->bdd = $this->connecterPDO($this->config, 'database');	
27
		$this->bdd = $this->connecterPDO($this->config, 'eflore');	
Line 28... Line 28...
28
	}
28
	}
Line 80... Line 80...
80
        			$liste_genre_espece[] = array($this->formaterNom($ligne),
80
        			$liste_genre_espece[] = array($this->formaterNom($ligne),
81
        										$ligne['en_id_nom'], 
81
        										$ligne['en_id_nom'], 
82
        										$ligne['esn_ce_statut']
82
        										$ligne['esn_ce_statut']
83
        									);
83
        									);
84
        		}
84
        		}
85
	    
-
 
86
        	}	
85
        	}	
87
        }
86
        }
Line 88... Line 87...
88
		    
87
		    
89
		return $liste_genre_espece;
88
		return $liste_genre_espece;