Subversion Repositories eFlore/Applications.moissonnage

Compare Revisions

Ignore whitespace Rev 26 → Rev 22

/trunk/services/bibliotheque/Maillage.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/VerificateurParametres.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/FormateurJson.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/Maille.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/Referentiel.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/CacheMoissonnage.php
4,20 → 4,18
private $service;
private $config;
private $dureecache = 0;
private $projetNom;
private $serviceNom;
private $cache;
private $cacheActif;
public function __construct($service, $serviceNom, $cacheActif) {
public function __construct($service, $projetNom, $serviceNom, $cacheActif) {
$this->cacheActif = $cacheActif;
$this->service = $service;
$this->chargerDureeCache();
$this->projetNom = $projetNom;
$this->serviceNom = $serviceNom;
$this->cache = new CacheSimple(array(
"mise_en_cache" => true,
"stockage_chemin" => Config::get("chemincache"),
"duree_de_vie" => $this->dureecache
));
$this->cache = new CacheSimple(array("mise_en_cache" => true, "stockage_chemin" => Config::get("chemincache"), "duree_de_vie" => $this->dureecache));
}
 
public function chargerDureeCache() {
61,7 → 59,7
}
}
$chaineMD5 = $this->serviceNom.'/'.md5($chaineRessources.$chaineParametres);
$chaineMD5 = $this->projetNom.'/'.$this->serviceNom.'/'.md5($chaineRessources.$chaineParametres);
return $chaineMD5;
}
}