Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 275 | Rev 943 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 275 Rev 291
Line 11... Line 11...
11
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
11
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
12
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
12
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
13
 * @version		$Id$
13
 * @version		$Id$
14
 */
14
 */
15
class MetaDonnees extends Eflore {
15
class MetaDonnees extends Eflore {
16
	private $version;
16
	private $version = '+';
Line 17... Line 17...
17
	
17
 
18
	public function __construct($projet, $version = '+') {
-
 
19
		parent::__construct($projet);
18
	public function setVersion($version) {
20
		$this->version = $version;
19
		$this->version = $version;
Line 21... Line 20...
21
	}
20
	}
22
	
21
 
23
	public function getMetaDonnees() {
22
	public function getMetaDonnees() {
24
		$url = $this->getUrlRecherche();
23
		$url = $this->getUrlRecherche();
Line 25... Line -...
25
		return $this->chargerDonnees($url);
-
 
26
	}
24
		return $this->chargerDonnees($url);
27
 
25
	}
28
	// retourne les champs par defaut
26
 
29
	private function getUrlRecherche($nom, $typeRech) {
27
	private function getUrlRecherche($nom, $typeRech) {
30
		$tpl = Config::get('metaDonneesTpl');
28
		$tpl = Config::get('metaDonneesTpl');