Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 210 → Rev 211

/trunk/services/bibliotheque/Parametres.php
107,10 → 107,10
$this->parametres['version.projet'] = '+';
}
if ($this->exister('navigation.depart') == false) {
$this->parametres['navigation.depart'] = 0;
$this->parametres['navigation.depart'] = (int) 0;
}
if ($this->exister('navigation.limite') == false) {
$this->parametres['navigation.limite'] = 100;
$this->parametres['navigation.limite'] = (int) 100;
}
}
}
/trunk/services/bibliotheque/nom/NomDAO.php
60,6 → 60,7
implode(' AND ', $conditions).
'ORDER BY ns.nom_sci ASC '.
"LIMIT $navigation ";
 
$resultats = $this->bdd->recupererTous($requete);
 
return $resultats;
115,9 → 116,10
}
 
private function getNavigation() {
$debut = $this->parametres->get('navigation.depart');
$debut = (int) $this->parametres->get('navigation.depart');
$nbre = $this->parametres->get('navigation.limite');
return "$debut,$nbre";
$navigation = "$debut,$nbre";
return $navigation;
}
 
private function getWhere($conditions = array()) {