Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

Rev 114 Rev 132
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 114 2010-06-28 09:49:51Z jpm $
12
 * @version		SVN: $Id: aControleur.php 132 2010-07-12 10:25:11Z 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 403... Line 403...
403
		$url = $this->url->getURL();
403
		$url = $this->url->getURL();
404
		$this->url->unsetVariablesRequete(array('module', 'id'));
404
		$this->url->unsetVariablesRequete(array('module', 'id'));
405
		return $url;
405
		return $url;
406
	}
406
	}
Line -... Line 407...
-
 
407
	
-
 
408
	protected function obtenirPermalienGuid($guid) {
-
 
409
		$url = Config::get('url_base_permalien');
-
 
410
		$url .= (substr($url, -1, 1) == '/') ? '' : '/';
-
 
411
		$url .= $guid;
-
 
412
		return $url;
-
 
413
	}
407
	
414
	
408
	protected function postraiterDonnees(&$tableau) {
415
	protected function postraiterDonnees(&$tableau) {
409
		if (count($tableau) > 0) {
416
		if (count($tableau) > 0) {
410
			foreach ($tableau as $cle => &$valeur) {
417
			foreach ($tableau as $cle => &$valeur) {
411
				if ($valeur == '') {
418
				if ($valeur == '') {