Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 321 → Rev 322

/trunk/modules/fiche/formateurs/Description.php
30,6 → 30,7
public function obtenirDonnees() {
$donnees = array();
$donnees['wp'] = $this->getWp();
$donnees['coste'] = $this->getCoste();
return $donnees;
}
 
60,5 → 61,17
$idWp = urlencode($idWp);
return $idWp;
}
private function getCoste() {
$coste = array();
$this->textes->setProjet('coste');
$this->textes->setId('bdtfx.nn:'.$this->nomCourant->getNns());
$texte = $this->textes->getTexte();
$coste['titre'] = $texte['titre'];
$coste['description'] = $texte['texte'];
$this->meta->setProjet('coste');
$coste['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('coste');
return $coste;
}
}
?>