Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

Rev 150 Rev 152
Line 7... Line 7...
7
 * @package		Collection
7
 * @package		Collection
8
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
8
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
9
 * @copyright	2010 Tela-Botanica
9
 * @copyright	2010 Tela-Botanica
10
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
10
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
11
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
11
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
12
 * @version		SVN: $Id: aControleur.php 150 2010-09-06 15:24:03Z jpm $
12
 * @version		SVN: $Id: aControleur.php 152 2010-09-06 16:19:12Z jpm $
13
 */
13
 */
14
abstract class aControleur extends Controleur {
14
abstract class aControleur extends Controleur {
Line 15... Line 15...
15
	
15
	
16
	const FMT_DATE = '%d/%m/%Y';// Supporte les formats de dates non valides (1989-00-00)
16
	const FMT_DATE = '%d/%m/%Y';// Supporte les formats de dates non valides (1989-00-00)
Line 405... Line 405...
405
		$this->url->unsetVariablesRequete(array('module', 'id'));
405
		$this->url->unsetVariablesRequete(array('module', 'id'));
406
		return $url;
406
		return $url;
407
	}
407
	}
Line 408... Line 408...
408
	
408
	
-
 
409
	protected function obtenirUrlFichePersonne($id_personne) {
-
 
410
		$url = $this->obtenirObjetUrlFichePersonne($id_personne);
-
 
411
		return $url->getURL();
-
 
412
	}
-
 
413
	
409
	protected function obtenirUrlFichePersonne($id_personne) {
414
	protected function obtenirObjetUrlFichePersonne($id_personne) {
410
		$this->url->setRequete(false);
415
		$this->url->setRequete(false);
411
		$this->url->setVariableRequete('module', 'FichePersonne');
416
		$this->url->setVariableRequete('module', 'FichePersonne');
412
		$this->url->setVariableRequete('id', $id_personne);
417
		$this->url->setVariableRequete('id', $id_personne);
413
		$url = $this->url->getURL();
418
		$url = clone $this->url;
414
		$this->url->unsetVariablesRequete(array('module', 'id'));
419
		$this->url->unsetVariablesRequete(array('module', 'id'));
415
		return $url;
420
		return $url;
Line 416... Line 421...
416
	}
421
	}