19,10 → 19,12 |
private $nomCourant; |
private $meta; |
private $appUrls; |
private $wikini; |
|
public function __construct(Conteneur $conteneur) { |
$this->conteneur = $conteneur; |
$this->nomCourant = $this->conteneur->getNomCourant(); |
$this->wikini = $this->conteneur->getApiWikini(); |
$this->meta = $this->conteneur->getApiMetaDonnees(); |
$this->appUrls = $this->conteneur->getAppUrls(); |
} |
45,6 → 47,7 |
$this->apiBiblioBota->setProjet('bibliobota'); |
$references = $this->apiBiblioBota->getReferences($this->conteneur->getParametre('nom')); |
$donnees['bibliobota']['references'] = $references['resultats']; |
$donnees['wikini'] = $this->getWikini(); |
return $donnees; |
} |
|
70,6 → 73,16 |
return $flores_texte; |
} |
|
private function getWikini() { |
$wikini = array(); |
$wikini['titre'] = 'Wikini'; |
$referentiel = $this->conteneur->getParametre('referentiel'); |
$num_tax = $this->nomCourant->getNomSelectionne()->get('num_taxonomique'); |
$page_wiki = $this->wikini->getPageWikiPourRefEtNumTax($referentiel, $num_tax); |
$wikini['biblio'] = $this->wikini->getTexteFormate($page_wiki, 'biblio'); |
return $wikini; |
} |
|
//TODO: faire une ontologie mais pas de tache prévue dans ce sprint |
private function getCorrespondancesBiblio() { |
|