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		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 169 2011-03-11 09:15:42Z jpm $
12
 * @version		SVN: $Id: Recherche.php 172 2011-03-15 14:59:57Z delphine $
13
 */
13
 */
14
class Recherche extends aControleur {
14
class Recherche extends aControleur {
Line 15... Line 15...
15
	
15
	
16
	private $chaine_recherche = null;
16
	private $chaine_recherche = null;
Line 197... Line 197...
197
	}
197
	}
Line 198... Line 198...
198
	
198
	
199
	private function limiterParProjets($parametres) {
199
	private function limiterParProjets($parametres) {
200
		if (Config::get('projets') != '') {
200
		if (Config::get('projets') != '') {
-
 
201
			$parametres['projets'] = Config::get('projets');
-
 
202
		} else {
201
			$parametres['projets'] = Config::get('projets');
203
			$parametres['projets'] = '*';
202
		}
204
		}
203
		return $parametres;
205
		return $parametres;
204
	}
206
	}
205
}
207
}