| 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 110 2010-06-24 10:16:53Z jpm $
|
12 |
* @version SVN: $Id: Recherche.php 111 2010-06-24 10:26:44Z jpm $
|
| 13 |
*/
|
13 |
*/
|
| 14 |
class Recherche extends ColControleur {
|
14 |
class Recherche extends ColControleur {
|
| Line 15... |
Line 15... |
| 15 |
|
15 |
|
| 16 |
private $chaine_recherche = null;
|
16 |
private $chaine_recherche = null;
|
| Line 111... |
Line 111... |
| 111 |
'donnees_par_page_choix' => Config::get('resultat_par_page_choix'),
|
111 |
'donnees_par_page_choix' => Config::get('resultat_par_page_choix'),
|
| 112 |
);
|
112 |
);
|
| 113 |
$fragmenteur = Composant::fabrique('fragmenteur', $options);
|
113 |
$fragmenteur = Composant::fabrique('fragmenteur', $options);
|
| 114 |
$donnees['fragmenteur'] = $fragmenteur->executer();
|
114 |
$donnees['fragmenteur'] = $fragmenteur->executer();
|
| 115 |
list($de, $a) = $fragmenteur->getDeplacementParPageId();
|
115 |
list($de, $a) = $fragmenteur->getDeplacementParPageId();
|
| 116 |
$this->url->unsetVariableRequete('recherche');
|
116 |
$this->url->unsetVariablesRequete(array('recherche', 'page'));
|
| Line 117... |
Line 117... |
| 117 |
|
117 |
|
| 118 |
// Gestion de l'accès aux données
|
118 |
// Gestion de l'accès aux données
|
| 119 |
$rechercheDao->setLimitation(($de - 1), $fragmenteur->getDonneesParPage());
|
119 |
$rechercheDao->setLimitation(($de - 1), $fragmenteur->getDonneesParPage());
|
| 120 |
$rechercheDao->setDistinction(1);
|
120 |
$rechercheDao->setDistinction(1);
|