Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 291 → Rev 294

/trunk/modules/fiche/formateurs/Illustrations.php
15,13 → 15,13
class Illustrations extends aControleur {
 
private $conteneur = null;
private $nomCourrant = null;
private $nomCourant = null;
private $images = null;
private $meta = null;
 
public function __construct(Conteneur $conteneur) {
$this->conteneur = $conteneur;
$this->nomCourrant = $this->conteneur->getNomCourrant();
$this->nomCourant = $this->conteneur->getNomCourant();
$this->images = $this->conteneur->getApiImages();
$this->appUrls = $this->conteneur->getAppUrls();
}
36,7 → 36,7
// Trop long, il faut un service spécial...
/*
$this->images->setProjet('cel');
$nns = $this->nomCourrant->getNns();
$nns = $this->nomCourant->getNns();
$urls = $this->images->getUrlsImagesParIdsNoms(array($nns));
$donnees['imageUrl'] = $urls["bdtfx.$nns"][0];
*/
46,7 → 46,7
public function getCel() {
$cel = array();
$this->images->setProjet('cel');
$nns = $this->nomCourrant->getNns();
$nns = $this->nomCourant->getNns();
$urls = $this->images->getUrlsImagesParIdsNoms(array($nns));
$cel['imagesUrl'] = $urls["bdtfx.$nns"];
 
/trunk/modules/fiche/formateurs/Nomenclature.php
15,13 → 15,13
class Nomenclature extends aControleur {
 
private $conteneur = null;
private $nomCourrant = null;
private $nomCourant = null;
private $noms = null;
private $meta = null;
 
public function __construct(Conteneur $conteneur) {
$this->conteneur = $conteneur;
$this->nomCourrant = $this->conteneur->getNomCourrant();
$this->nomCourant = $this->conteneur->getNomCourant();
$this->noms = $this->conteneur->getApiNoms();
$this->appUrls = $this->conteneur->getAppUrls();
}
39,7 → 39,7
}
 
private function getSynonymes() {
$nns = $this->nomCourrant->getNns();
$nns = $this->nomCourant->getNns();
$synonymes = $this->noms->getSynonymes($nns);
return $synonymes['resultat'];
}
/trunk/modules/fiche/formateurs/Repartition.php
15,13 → 15,13
class Repartition extends aControleur {
 
private $conteneur = null;
private $nomCourrant = null;
private $nomCourant = null;
private $tailleBloc = "190x178";
private $serviceChorodep = null;
 
public function __construct(Conteneur $conteneur) {
$this->conteneur = $conteneur;
$this->nomCourrant = $this->conteneur->getNomCourrant();
$this->nomCourant = $this->conteneur->getNomCourant();
$this->cartes = $this->conteneur->getApiCartes();
$this->meta = $this->conteneur->getApiMetaDonnees();
$this->appUrls = $this->conteneur->getAppUrls();
35,7 → 35,7
public function getChorodep() {
$this->cartes->setProjet('chorodep');
$this->cartes->setLargeur('630');
$id = 'nn:'.$this->nomCourrant->getNns();
$id = 'nn:'.$this->nomCourant->getNns();
$this->cartes->setId($id);
$chorodep['svgUrl'] = $this->cartes->getUrlDataSvg();
$chorodep['pngUrl'] = $this->cartes->getUrlPng();
51,7 → 51,7
public function getBloc() {
$this->cartes->setProjet('chorodep');
$this->cartes->setLargeur('190x178');
$id = 'nn:'.$this->nomCourrant->getNns();
$id = 'nn:'.$this->nomCourant->getNns();
$this->cartes->setId($id);
$donnees['carteUrl'] = $this->cartes->getUrlPng();
return $donnees;
/trunk/modules/fiche/formateurs/Synthese.php
16,11 → 16,11
class Synthese extends aControleur {
 
private $conteneur = null;
private $nomCourrant = null;
private $nomCourant = null;
 
public function __construct(Conteneur $conteneur) {
$this->conteneur = $conteneur;
$this->nomCourrant = $this->conteneur->getNomCourrant();
$this->nomCourant = $this->conteneur->getNomCourant();
}
 
public function obtenirDonnees() {
/trunk/modules/fiche/formateurs/Description.php
15,13 → 15,13
class Description extends aControleur {
 
private $conteneur = null;
private $nomCourrant = null;
private $nomCourant = null;
private $textes = null;
private $meta = null;
 
public function __construct(Conteneur $conteneur) {
$this->conteneur = $conteneur;
$this->nomCourrant = $this->conteneur->getNomCourrant();
$this->nomCourant = $this->conteneur->getNomCourant();
$this->textes = $this->conteneur->getApiTextes();
$this->meta = $this->conteneur->getApiMetaDonnees();
$this->appUrls = $this->conteneur->getAppUrls();
55,7 → 55,7
}
 
private function getIdWp() {
$nomSci = $this->nomCourrant->getNomRetenu()->get('nom_sci');
$nomSci = $this->nomCourant->getNomRetenu()->get('nom_sci');
$idWp = str_replace(' ', '_', $nomSci);
return $idWp;
}