Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

Rev 144 Rev 150
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 144 2010-08-30 16:22:52Z jpm $
12
 * @version		SVN: $Id: aControleur.php 150 2010-09-06 15:24:03Z 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 377... Line 377...
377
		$this->url->unsetVariablesRequete(array('module', 'action', 'recherche'));
377
		$this->url->unsetVariablesRequete(array('module', 'action', 'recherche'));
378
		return $url;
378
		return $url;
379
	}
379
	}
Line 380... Line 380...
380
	
380
	
-
 
381
	protected function obtenirUrlFicheStructure($id_structure) {
-
 
382
		$url = $this->obtenirObjetUrlFicheStructure($id_structure);
-
 
383
		return $url->getURL();
-
 
384
	}
-
 
385
	
381
	protected function obtenirUrlFicheStructure($id_structure) {
386
	protected function obtenirObjetUrlFicheStructure($id_structure) {
382
		$this->url->setRequete(false);
387
		$this->url->setRequete(false);
383
		$this->url->setVariableRequete('module', 'FicheStructure');
388
		$this->url->setVariableRequete('module', 'FicheStructure');
384
		$this->url->setVariableRequete('id', $id_structure);
389
		$this->url->setVariableRequete('id', $id_structure);
385
		$url = $this->url->getURL();
390
		$url = clone $this->url;
386
		$this->url->unsetVariablesRequete(array('module', 'id'));
391
		$this->url->unsetVariablesRequete(array('module', 'id'));
387
		return $url;
392
		return $url;
Line 388... Line 393...
388
	}
393
	}