/trunk/modules/fiche/formateurs/Description.php |
---|
123,8 → 123,7 |
$baseflor['description']=$baseflor; |
$this->meta->setProjet('baseflor'); |
$meta = $this->meta->getMetaDonnees(); |
$citation = $meta[0]['citation']; |
$baseflor['meta']['citation'] = $citation; |
$baseflor['meta'] = $meta[0]; |
$baseflor['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseflor'); |
} |
$this->donnees['baseflor'] = $baseflor; |
195,8 → 194,7 |
} |
$this->meta->setProjet('coste'); |
$meta = $this->meta->getMetaDonnees(); |
$citation = $meta[0]['citation']; |
$coste['meta']['citation'] = $citation; |
$coste['meta'] = $meta[0]; |
$coste['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('coste'); |
$this->donnees['coste'] = $coste; |
} |
/trunk/modules/fiche/formateurs/Statut.php |
---|
17,15 → 17,18 |
private $nomCourant = null; |
private $wikini = null; |
private $statuts = null; |
private $meta; |
private $referentiel = null; |
private $appUrls; |
public function __construct(Conteneur $conteneur) { |
$this->conteneur = $conteneur; |
$this->nomCourant = $this->conteneur->getNomCourant(); |
$this->wikini = $this->conteneur->getApiWikini(); |
$this->statuts = $this->conteneur->getApiStatuts(); |
$this->meta = $this->conteneur->getApiMetaDonnees(); |
$this->referentiel = $this->conteneur->getParametre('referentiel'); |
$this->appUrls = $this->conteneur->getAppUrls(); |
} |
public function getBloc() { |
50,6 → 53,10 |
if ($projet != "") { |
$nnr = $this->nomCourant->getNnr(); |
$statuts = $this->statuts->getStatuts($projet, $nnr); |
$this->meta->setProjet($projet); |
$meta = $this->meta->getMetaDonnees(); |
$statuts['meta'] = $meta[0]; |
$statuts['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($projet); |
} |
return $statuts; |
} |
60,6 → 67,10 |
if ($projet != "") { |
$nnr = $this->nomCourant->getNnr(); |
$statuts = $this->statuts->getStatutsZoneGeo($projet, $nnr); |
$this->meta->setProjet($projet); |
$meta = $this->meta->getMetaDonnees(); |
$statuts['meta'] = $meta[0]; |
$statuts['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($projet); |
} |
return $statuts; |
} |
/trunk/modules/fiche/formateurs/Ethnobotanique.php |
---|
47,8 → 47,7 |
$this->donnees[$projet]['noms'] = $nomsVerna['resultat']; |
$this->meta->setProjet($projet); |
$meta = $this->meta->getMetaDonnees(); |
$titreMeta = $meta[0]['titre']; |
$this->donnees[$projet]['meta']['titre'] = $titreMeta; |
$this->donnees[$projet]['meta'] = $meta[0]; |
$this->donnees[$projet]['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($projet); |
} |
} |
70,8 → 69,7 |
$this->donnees['chorologie'] = $this->traiterTableauChorologie($infos_choro); |
$this->meta->setProjet($this->referentiel); |
$meta = $this->meta->getMetaDonnees(); |
$titreMeta = $meta[0]['titre']; |
$this->donnees['chorologie']['meta']['titre'] = $titreMeta; |
$this->donnees['chorologie']['meta'] = $meta[0]; |
$this->donnees['chorologie']['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($this->referentiel); |
} |
/trunk/modules/fiche/formateurs/Ecologie.php |
---|
61,7 → 61,7 |
if($informations != ""){ |
$baseflorCatminat['catminat'] = $informations['resultat'][0]['catminat_code']; |
$baseflorCatminat['lien-liste-fancy'] = $this->appUrls->obtenirUrlListeFancyBoxPhytosocio('catminat_taxons',$this->conteneur->getParametre('referentiel'),$this->nomCourant->getNnr(),$baseflorCatminat['catminat']); |
}else { |
} else { |
$baseflorCatminat['aucune'] = 'Aucune donnée'; |
} |
return $baseflorCatminat; |
90,8 → 90,7 |
$baseveg['ref']['lien-liste-fancy'][$baseflor['catminat']] = $this->appUrls->obtenirUrlListeFancyBoxPhytosocio('catminat_ref',$this->conteneur->getParametre('referentiel'),$this->nomCourant->getNnr(),$catminat); |
$this->meta->setProjet('baseveg'); |
$meta = $this->meta->getMetaDonnees(); |
$citation = $meta[0]['citation']; |
$baseveg['meta']['citation'] = $citation; |
$baseveg['meta'] = $meta[0]; |
$baseveg['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseveg'); |
}else { |
$baseveg['aucune'] = 'Aucune donnée'; |
148,8 → 147,7 |
$baseflor['legende_eco'] = $this->urls->obtenirUrlBaseDossier() . Config::get('dossier_images') . '/legende_formes.png'; |
$this->meta->setProjet('baseflor'); |
$meta = $this->meta->getMetaDonnees(); |
$citation = $meta[0]['citation']; |
$baseflor['meta']['citation'] = $citation; |
$baseflor['meta']= $meta[0]; |
}else { |
$baseflor['aucune'] = 'Aucune donnée'; |
} |
196,8 → 194,7 |
} |
$this->meta->setProjet('baseflor'); |
$meta = $this->meta->getMetaDonnees(); |
$citation = $meta[0]['citation']; |
$baseflor['meta']['citation'] = $citation; |
$baseflor['meta'] = $meta[0]; |
$baseflor['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('baseflor'); |
$this->conteneur->getCache()->sauver(serialize($baseflor), |
/trunk/modules/fiche/formateurs/Illustrations.php |
---|
94,7 → 94,7 |
} |
$this->meta->setProjet('coste'); |
$meta = $this->meta->getMetaDonnees(); |
$coste['meta']['titre']= $meta[0]['titre']; |
$coste['meta'] = $meta[0]; |
$coste['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('coste'); |
return $coste; |
} |
112,7 → 112,7 |
} |
$this->meta->setProjet('coste'); |
$meta = $this->meta->getMetaDonnees(); |
$dessin['meta']['titre']= $meta[0]['titre']; |
$dessin['meta'] = $meta[0]; |
$dessin['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($projet); |
$this->donnees['coste'] = $dessin; |
} |
227,8 → 227,8 |
private function formaterMetaPhotos($projet) { |
$this->meta->setProjet($projet); |
$meta = $this->meta->getMetaDonnees(); |
$titreMeta = $meta[0]['titre']; |
$this->donnees[$projet]['meta']['titre'] = $titreMeta; |
$titreMeta = $meta[0]; |
$this->donnees[$projet]['meta'] = $titreMeta; |
$this->donnees[$projet]['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($projet); |
} |
248,8 → 248,7 |
$cel['images']['auteur'] = $img[0]['auteur.libelle']; |
$this->meta->setProjet('cel'); |
$meta = $this->meta->getMetaDonnees(); |
$titreMeta = $meta[0]['titre']; |
$cel['meta']['titre'] = $titreMeta; |
$cel['meta'] = $meta[0]; |
$cel['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('cel'); |
} |
return $cel; |
/trunk/modules/fiche/formateurs/Nomenclature.php |
---|
41,8 → 41,7 |
$this->donnees['synonymes']['noms'] = $this->getSynonymes(); |
$this->donnees['date_maj'] = $this->nomCourant->getNomRetenu()->get('maj_modif'); |
$meta = $this->meta->getMetaDonnees(); |
$titreMeta = $meta[0]['titre']; |
$this->donnees['synonymes']['meta']['titre'] = $titreMeta; |
$this->donnees['synonymes']['meta'] = $meta[0]; |
$this->donnees['synonymes']['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($this->referentiel); |
$this->donnees['num_type'] = $this->nomCourant->getNomSelectionne()->get('num_type'); |
$this->donnees['urls'] = $this->appUrls; |
/trunk/modules/fiche/formateurs/Bibliographie.php |
---|
38,8 → 38,7 |
$this->donnees['bibliobota']['references'] = $this->getBiblioBota(); |
$this->meta->setProjet('bibliobota'); |
$meta = $this->meta->getMetaDonnees(); |
$titreMeta = $meta[0]['titre']; |
$this->donnees['bibliobota']['meta']['titre'] = $titreMeta; |
$this->donnees['bibliobota']['meta'] = $meta[0]; |
$this->donnees['bibliobota']['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('bibliobota'); |
$this->donnees['wikini'] = $this->getWikini(); |
69,8 → 68,7 |
$this->donnees['flores']['liste_flores'] = $this->remplacerCorrespondancesFlores($flores); |
$this->meta->setProjet($this->referentiel); |
$meta = $this->meta->getMetaDonnees(); |
$titreMeta = $meta[0]['titre']; |
$this->donnees['flores']['meta']['titre'] = $titreMeta; |
$this->donnees['flores']['meta'] = $meta[0]; |
$this->donnees['flores']['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($this->referentiel); |
} |
} |
/trunk/modules/fiche/formateurs/Repartition.php |
---|
74,8 → 74,7 |
$repartition['legende'] = $this->cartes->getLegendeId(); |
$this->meta->setProjet($projetRepartition); |
$meta = $this->meta->getMetaDonnees(); |
$citation = $meta[0]['citation']; |
$repartition['meta']['citation'] = $citation; |
$repartition['meta'] = $meta[0]; |
$repartition['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees($projetRepartition); |
$this->donnees['repartition'] = $repartition; |
} |