/branches/v5.10-vilmorin/metier/api_0.1/Textes.php |
---|
41,6 → 41,14 |
return $this->chargerDonnees($url); |
} |
public function getUsage() { |
$tpl = Config::get('textesTpl'); |
$params = array('masque' => $this->id); |
$url = $this->formaterUrl($tpl, $params); |
$url .= "?masque=".str_replace(" ", "_", $this->id); |
return $this->chargerDonnees($url); |
} |
public function getPageUrl() { |
$url = ''; |
if(Config::get($this->getProjet().'LienPageTpl')) { |