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() { |