Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1091 → Rev 1092

/trunk/metier/api_0.1/Textes.php
30,11 → 30,6
}
 
public function getTexte() {
$url = $this->getUrlTexte();
return $this->chargerDonnees($url);
}
 
public function getUrlTexte() {
if ($this->sectionTitre != '') {
$tpl = Config::get('texteTitreSectionTpl');
$params = array('id' => $this->id, 'txtFormat' => $this->format, 'sectionTitre' => $this->sectionTitre);
42,8 → 37,7
$tpl = Config::get('texteTpl');
$params = array('id' => $this->id, 'txtFormat' => $this->format);
}
$url = $this->formaterUrl($tpl, $params);
return $url;
return $this->chargerDonnees($this->formaterUrl($tpl, $params));
}
public function getPageUrl() {