Subversion Repositories Applications.framework

Rev

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

Rev 241 Rev 247
Line 9... Line 9...
9
 * @package	Framework
9
 * @package	Framework
10
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
10
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
11
 * @copyright	Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)
11
 * @copyright	Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)
12
 * @license	http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
12
 * @license	http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
13
 * @license	http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2 
13
 * @license	http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2 
14
 * @version	$Id: Debug.php 241 2010-12-06 15:19:07Z jpm $
14
 * @version	$Id: Debug.php 247 2010-12-16 16:47:52Z jpm $
15
 * @link		/doc/framework/
15
 * @link		/doc/framework/
16
 */
16
 */
17
class Debug {
17
class Debug {
Line 18... Line 18...
18
	   
18
	   
Line 147... Line 147...
147
		// Affichage et/ou retour
147
		// Affichage et/ou retour
148
		if ($debogage == true) {
148
		if ($debogage == true) {
149
			if ($echo === true || $mode == self::MODE_ECHO) {
149
			if ($echo === true || $mode == self::MODE_ECHO) {
150
				echo $sortie;
150
				echo $sortie;
151
				return null;
151
				return null;
152
			} else if ($mode == self::MODE_NOTICEĀ || $mode == self::MODE_ENTETE_HTTP) {
152
			} else if ($mode == self::MODE_NOTICE || $mode == self::MODE_ENTETE_HTTP) {
153
				trigger_error($sortie, E_USER_NOTICE);
153
				trigger_error($sortie, E_USER_NOTICE);
154
				return null; 
154
				return null; 
155
			} else {
155
			} else {
156
				return $sortie;
156
				return $sortie;
157
			}
157
			}