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()) { |