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