27,6 → 27,9 |
private $serviceNom = array(); |
/** Chemin vers le dossier courrant. */ |
private $cheminCourrant = null; |
|
private $cache; |
|
/** Indique si oui (true) ou non (false), on veut utiliser les paramètres brutes. */ |
protected $utilisationParametresBruts = true; |
|
173,7 → 176,8 |
if (file_exists($chemin)) { |
$service = new $classe($this->getBdd()); |
$ressourcesPourService = $this->filtrerRessourcesPourService(); |
$retour = $service->consulter($ressourcesPourService, $this->parametres); |
$this->cache = new CacheEflore($service, $this->projetNom, $this->serviceNom, Config::get('cache')); |
$retour = $this->cache->consulter($ressourcesPourService, $this->parametres); |
} |
} |
if (is_null($service)) { |