13,19 → 13,17 |
* @version $Id$ |
*/ |
class MetaDonnees extends Eflore { |
private $version; |
|
public function __construct($projet, $version = '+') { |
parent::__construct($projet); |
private $version = '+'; |
|
public function setVersion($version) { |
$this->version = $version; |
} |
|
|
public function getMetaDonnees() { |
$url = $this->getUrlRecherche(); |
return $this->chargerDonnees($url); |
} |
|
// retourne les champs par defaut |
private function getUrlRecherche($nom, $typeRech) { |
$tpl = Config::get('metaDonneesTpl'); |
$params = array('verproj' => 'version.projet', 'version' => $this->version); |