Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 807 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 807 Rev 916
Line 54... Line 54...
54
		$this->convertisseur = $this->config['convertisseur'];
54
		$this->convertisseur = $this->config['convertisseur'];
55
		$this->tableMeta = $conteneur->getParametre('bdd_table_meta');
55
		$this->tableMeta = $conteneur->getParametre('bdd_table_meta');
56
		$this->tableOntologie = $conteneur->getParametre('bdd_table_ontologies');
56
		$this->tableOntologie = $conteneur->getParametre('bdd_table_ontologies');
57
		$this->cheminCartesBase = $this->config['chemin'];
57
		$this->cheminCartesBase = $this->config['chemin'];
58
		$cacheOptions = array('mise_en_cache' => $this->config['cache_miseEnCache'],
58
		$cacheOptions = array('mise_en_cache' => $this->config['cache_miseEnCache'],
59
					'stockage_chemin' => $this->config['cache_stockageChemin'],
59
			'stockage_chemin' => $this->config['cache_stockageChemin'],
60
					'duree_de_vie' => $this->config['cache_dureeDeVie']);
60
			'duree_de_vie' => $this->config['cache_dureeDeVie']);
61
		$this->cache = $conteneur->getCacheSimple($cacheOptions);
61
		$this->cache = $conteneur->getCacheSimple($cacheOptions);
62
	}
62
	}
Line 63... Line 63...
63
 
63
 
64
	public function consulter($ressources, $parametres) {
64
	public function consulter($ressources, $parametres) {
Line 372... Line 372...
372
					}
372
					}
373
				}
373
				}
374
			}
374
			}
375
		}
375
		}
376
	}
376
	}
377
	
377
 
378
	private function formaterZoneId($zoneId) {
378
	private function formaterZoneId($zoneId) {
379
		$zoneId = strtolower(str_replace('presence_', '', $zoneId));
379
		$zoneId = strtolower(str_replace('presence_', '', $zoneId));
380
		$zoneId = str_replace('-', '_', $zoneId);
380
		$zoneId = str_replace('-', '_', $zoneId);
381
		return $zoneId;
381
		return $zoneId;
382
	}
382
	}