Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1092 → Rev 435

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