44,6 → 44,10 |
private static $tri_multi_dimension = array(); |
private static $tri_type = ''; |
|
public function __construct() { |
$this->config = is_null($config) ? Config::get($this->serviceNom) : $config; |
} |
|
public function consulter($ressources, $parametres) { |
$this->ressources = $ressources; |
$this->parametres = $parametres; |
286,6 → 290,15 |
} |
} |
|
public function getDureeCache() { |
$dureecache = 0; |
$dureecache = Config::get('dureecache'); |
if ($dureecache == null || !is_numeric($dureecache) || $dureecache < 0) { |
$dureecache = 0; |
} |
return (int) $dureecache; |
} |
|
public function ajouterHref($service, $val) { |
// http://tela-botanica.org/service:eflore:0.1/[projet]/[version_projet]/[service]/[ressource]:[valeur] |
if ($this->version_projet == '+') { |