Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 197 | Rev 237 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 197 Rev 217
Line 118... Line 118...
118
		return $url;
118
		return $url;
119
	}
119
	}
Line 120... Line 120...
120
 
120
 
121
	public function getParametresUrlFiche() {
121
	public function getParametresUrlFiche() {
122
		$parametres = array(
122
		$parametres = array(
-
 
123
			'referentiel' => Registre::get('parametres.referentiel'),
123
				'referentiel' => Registre::get('parametres.referentiel'),
124
			'niveau' => Registre::get('parametres.niveau'),
124
				'module' => 'fiche',
125
			'module' => 'fiche',
125
				'action' => 'fiche'
126
			'action' => 'fiche'
126
		);
127
		);
127
		return $parametres;
128
		return $parametres;
Line 128... Line 129...
128
	}
129
	}
129
 
130
 
-
 
131
	public function obtenirUrlFiche($numNom, $type_nom = 'nom_vernaculaire', $nom = '') {
130
	public function obtenirUrlFiche($numNom) {
132
		$parametres = $this->getParametresUrlFiche();
131
		$parametres = $this->getParametresUrlFiche();
133
		$parametres['type_nom'] = $type_nom;
132
		$parametres['nn'] = $numNom;
134
		$parametres['nom'] = $nom;
133
		$this->urlBase->setRequete($parametres);
135
		$this->urlBase->setRequete($parametres);
134
		$url = $this->urlBase->getURL();
136
		$url = $this->urlBase->getURL();
135
		return $url;
137
		return $url;