Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

Rev 21 Rev 23
Line 7... Line 7...
7
 * @category	Php5
7
 * @category	Php5
8
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
8
 * @author		Jean-Pascal MILCENT <jpm@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: Recherche.php 21 2010-03-30 10:47:02Z jpm $
12
 * @version		SVN: $Id: Recherche.php 23 2010-03-30 16:13:10Z jpm $
13
 */
13
 */
14
class Recherche extends ColControleur {
14
class Recherche extends ColControleur {
Line 15... Line 15...
15
	
15
	
16
	//+----------------------------------------------------------------------------------------------------------------+
16
	//+----------------------------------------------------------------------------------------------------------------+
Line 39... Line 39...
39
		$donnees['url_form'] = $this->url->getUrl();
39
		$donnees['url_form'] = $this->url->getUrl();
40
		$donnees['url_module'] = 'Recherche';
40
		$donnees['url_module'] = 'Recherche';
41
		$donnees['url_action'] = 'rechercher';
41
		$donnees['url_action'] = 'rechercher';
42
		$this->url->setVariableRequete('recherche', '%s');
42
		$this->url->setVariableRequete('recherche', '%s');
43
		$donnees['url_exemple'] = $this->url->getUrl();
43
		$donnees['url_exemple'] = $this->url->getUrl();
44
		$this->url->unsetVariablesRequete(array('module', 'action', 'recherche'));
44
		//$this->url->unsetVariablesRequete(array('module', 'action', 'recherche'));
Line 45... Line 45...
45
		
45
		
46
		// Gestion du squelette et de la sortie
46
		// Gestion du squelette et de la sortie
47
		$this->setSortie(self::RENDU_TETE, $this->getVue('moteur', $donnees));
47
		$this->setSortie(self::RENDU_TETE, $this->getVue('moteur', $donnees));
Line 72... Line 72...
72
		
72
		
73
		// Récupération des paramêtres de l'url
73
		// Récupération des paramêtres de l'url
74
		$chaine_de_recherche = ''; 
74
		$chaine_de_recherche = ''; 
75
		if (isset($_GET['recherche'])) {
75
		if (isset($_GET['recherche'])) {
-
 
76
			$chaine_de_recherche = $_GET['recherche'];
76
			$chaine_de_recherche = $_GET['recherche'];
77
			$this->url->setVariableRequete('recherche', $chaine_de_recherche);
77
		}
78
		}
Line 78... Line 79...
78
		$parametres = $this->parserChaineDeRecherche($chaine_de_recherche);
79
		$parametres = $this->parserChaineDeRecherche($chaine_de_recherche);
79
		
80