Subversion Repositories Applications.referentiel

Rev

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

Rev 236 Rev 285
Line 41... Line 41...
41
	}
41
	}
Line 42... Line 42...
42
 
42
 
43
	private function construireUrlRecherche($type, $parametres, $limitation = true) {
43
	private function construireUrlRecherche($type, $parametres, $limitation = true) {
Line 44... Line 44...
44
		$url = $this->url_jrest.self::SERVICE.'/'.$type;
44
		$url = $this->url_jrest.self::SERVICE.'/'.$type;
45
		
45
		
46
		$params_a_passer = array('ref', 'mots', 'sg', 'gen', 'sp', 'ssp', 'au', 'an', 'nn', 'bib', 'nr', 'tax', 'pre', 'taxref');
46
		$params_a_passer = array('ref', 'mots', 'sg', 'gen', 'sp', 'ssp', 'au', 'an', 'nn', 'bib', 'nr', 'tax', 'pre', 'taxref', 'classif', 'rg');
47
		foreach ($params_a_passer as $param_cle) {
47
		foreach ($params_a_passer as $param_cle) {
48
			if (isset($parametres[$param_cle]) && $parametres[$param_cle] != '') {
48
			if (isset($parametres[$param_cle]) && $parametres[$param_cle] != '') {
49
				$valeur = urlencode(trim($parametres[$param_cle]));
49
				$valeur = urlencode(trim($parametres[$param_cle]));