Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

Rev 16 Rev 17
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: ColControleur.php 16 2010-03-22 11:25:21Z jpm $
12
 * @version		SVN: $Id: ColControleur.php 17 2010-03-22 17:04:04Z jpm $
13
 */
13
 */
14
abstract class ColControleur extends Controleur {
14
abstract class ColControleur extends Controleur {
Line 15... Line 15...
15
 
15
 
16
	const RENDU_TETE = 'tete';
16
	const RENDU_TETE = 'tete';
Line 187... Line 187...
187
			$txt_a_retourner = 'oui';
187
			$txt_a_retourner = 'oui';
188
		}
188
		}
189
		return $txt_a_retourner;
189
		return $txt_a_retourner;
190
	}
190
	}
Line -... Line 191...
-
 
191
	
-
 
192
	protected function formaterDate($date) {
-
 
193
		if ($date == '' || $date == '0000-00-00' || $date == '0000-00-00 00:00:00') {
-
 
194
			$date = 'Inconnue';
-
 
195
		}
-
 
196
		return $date;
-
 
197
	}
191
	
198
	
192
	protected function nettoyerPointFinal($mot) {
199
	protected function nettoyerPointFinal($mot) {
193
		$mot = preg_replace('/[.]$/', '', $mot);
200
		$mot = preg_replace('/[.]$/', '', $mot);
194
		return $mot;
201
		return $mot;