Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 528 Rev 529
Line 339... Line 339...
339
			$etre_null = true;
339
			$etre_null = true;
340
		}
340
		}
341
		return $etre_null;
341
		return $etre_null;
342
	}
342
	}
Line 343... Line 343...
343
	
343
	
-
 
344
	protected function formaterDate($date_heure_mysql, $format = '%A %d %B %Y à %H:%M') {
-
 
345
		$date_formatee = '';
-
 
346
		if (!$this->etreNull($date_heure_mysql)) {
344
	protected function formaterDate($date, $format = '%A %d %B %Y à %H:%M') {
347
			$timestamp = $this->convertirDateHeureMysqlEnTimestamp($date_heure_mysql);
-
 
348
			$date_formatee = strftime($format, $timestamp);
-
 
349
		}
345
		return strftime($format, strtotime($date));
350
		return $date_formatee;
Line 346... Line 351...
346
	}
351
	}
347
	
352
	
348
	protected function encoderMotCle($mot_cle) {
353
	protected function encoderMotCle($mot_cle) {