Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

Rev 169 Rev 172
Line 7... Line 7...
7
 * @category	php5
7
 * @category	php5
8
 * @author		aurelien <aurelien@tela-botanica.org>
8
 * @author		aurelien <aurelien@tela-botanica.org>
9
 * @copyright	2010 Tela-Botanica
9
 * @copyright	2010 Tela-Botanica
10
 * @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
11
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
11
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
12
 * @version		SVN: $Id: RechercheDao.php 169 2011-03-11 09:15:42Z jpm $
12
 * @version		SVN: $Id: RechercheDao.php 172 2011-03-15 14:59:57Z delphine $
13
 *
13
 *
14
 */
14
 */
15
class RechercheDao extends Dao {
15
class RechercheDao extends Dao {
16
	const SERVICE = 'CoelRecherche';
16
	const SERVICE = 'CoelRecherche';
Line 30... Line 30...
30
	 * Recherche une collection en fonction de paramĂȘtres
30
	 * Recherche une collection en fonction de paramĂȘtres
31
	 * @return array un tableau contenant des objets d'informations sur les collections
31
	 * @return array un tableau contenant des objets d'informations sur les collections
32
	 */
32
	 */
33
   public function chercher($parametres) {
33
   public function chercher($parametres) {
34
		$url = $this->construireUrlRecherche('ParDefaut', $parametres);
34
		$url = $this->construireUrlRecherche('ParDefaut', $parametres);
35
		
-
 
36
   		$json = $this->envoyerRequeteConsultation($url);
35
   		$json = $this->envoyerRequeteConsultation($url);
37
   		$donnees = json_decode($json, true);
36
   		$donnees = json_decode($json, true);
Line 38... Line 37...
38
		
37
		
39
		return $donnees;
38
		return $donnees;