Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 957 → Rev 958

/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
217,7 → 217,7
"Le champs 'type_bio.libelle' ne doit pas être présent si retour.format=min.");
$this->assertArrayNotHasKey('type_bio.detail',$retour,
"Le champs 'type_bio.detail' ne doit pas être présent si retour.format=min.");
$champs = array_keys(Outils::recupererTableauConfig('champs_ontologiques'));
$champs = array_keys(Outils::recupererTableauConfig('Paramètres.champs_ontologiques'));
foreach ($champs as $chps) {
$this->assertArrayNotHasKey($chps.'.libelle', $retour,
"Le champs '{$chps}.libelle' ne doit pas être présent si retour.format=min.");
274,7 → 274,7
}
private function verifierParametresEcologie_max($retour,$type) {
$champs = array_keys(Outils::recupererTableauConfig('champs_ontologiques'));
$champs = array_keys(Outils::recupererTableauConfig('Paramètres.champs_ontologiques'));
if ($type == 'baseflor') {
foreach ($champs as $chps) {
$this->assertArrayHasKey($chps.'.libelle', $retour,
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
296,7 → 296,7
//vérifie la présence de données écologiques pour les graphiques et récupère leur ontologie
public function traiterEcologie() {
$donnees_presence = false;
$this->champs_ontologiques = $this->recupererTableauConfig('champs_ontologiques');
$this->champs_ontologiques = Commun::s_recupererTableauConfig('Paramètres.champs_ontologiques');
foreach ($this->champs_ontologiques as $cle => $valeur){
if ($this->resultat_json[$cle] != ""){
$donnees_presence[$this->getNomGraphique($valeur)] = true;
/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
66,7 → 66,7
$this->config = $conteneur->getParametre('Graphiques');
$this->convertisseur = $this->config['convertisseur'];
$this->graduations_id = $this->getParametreTableau('graduations_id');
$this->champs_ontologiques = $this->getParametreTableau('champs_ontologiques');
$this->champs_ontologiques = $this->getParametreTableau('Paramètres.champs_ontologiques');
$this->cheminGraphBase = $this->config['chemin'];
$cacheOptions = array('mise_en_cache' => $this->config['cache_miseEnCache'],
'stockage_chemin' => $this->config['cache_stockageChemin'],
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
179,7 → 179,7
public function traiterEcologie() {
$donnees_presence = false;
$this->champs_ontologiques = $this->recupererTableauConfig('champs_ontologiques');
$this->champs_ontologiques = Commun::s_recupererTableauConfig('Paramètres.champs_ontologiques');
foreach ($this->champs_ontologiques as $cle => $valeur){
/* Les deux tests commentés ci-dessous étaient présents dans eflore-test (uniquement) jusqu'à juin 2013.
La valeur 0 pose question.