Subversion Repositories Applications.framework

Rev

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

Rev 218 Rev 232
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	SVN : $Id: Debug.php 218 2010-11-10 11:32:39Z jpm $
14
 * @version	$Id: Debug.php 232 2010-11-19 17:12:58Z jpm $
15
 * @link		/doc/framework/
15
 * @link		/doc/framework/
16
 */
16
 */
17
class Debug {
17
class Debug {
Line 18... Line 18...
18
 
18
 
Line 70... Line 70...
70
		return self::traiterDebogage($mot_cle, $sortie, $echo);
70
		return self::traiterDebogage($mot_cle, $sortie, $echo);
71
	}
71
	}
Line 72... Line 72...
72
	
72
	
73
	/**
73
	/**
-
 
74
	 * Affichage d'informations sur l'espace mémoire occupé par une variable
74
	 * Affichage d'informations sur l'espace mémoire occupé par une variable
75
	 * 
-
 
76
	 * @link http://forum.webmaster-rank.info/developpement-site/code-taille-memoire-d-une-variable-en-php-t1344.html
-
 
77
	 * @since 0.3
75
	 * @link http://forum.webmaster-rank.info/developpement-site/code-taille-memoire-d-une-variable-en-php-t1344.html
78
	 * 
76
	 * @param mixed $var la variable dont on veut connaître l'empreinte mémoire.
79
	 * @param mixed $var la variable dont on veut connaître l'empreinte mémoire.
77
	 * @param string $mot_cle le mot cle à associer
80
	 * @param string $mot_cle le mot cle à associer
78
	 * @param boolean $echo faire un echo ou non
81
	 * @param boolean $echo faire un echo ou non
79
	 * 
82
	 * 
Line 87... Line 90...
87
		return self::traiterDebogage($mot_cle, $sortie, $echo);
90
		return self::traiterDebogage($mot_cle, $sortie, $echo);
88
	}
91
	}
Line 89... Line 92...
89
 
92
 
90
	/**
93
	/**
-
 
94
	 * Affichage d'informations sur l'espace mémoire occupé par le script PHP
91
	 * Affichage d'informations sur l'espace mémoire occupé par le script PHP
95
	 * 
-
 
96
	 * @link http://forum.webmaster-rank.info/developpement-site/code-taille-memoire-d-une-variable-en-php-t1344.html
-
 
97
	 * @since 0.3
92
	 * @link http://forum.webmaster-rank.info/developpement-site/code-taille-memoire-d-une-variable-en-php-t1344.html
98
	 * 
93
	 * @param string $mot_cle le mot cle à associer
99
	 * @param string $mot_cle le mot cle à associer
94
	 * @param boolean $echo faire un echo ou non
100
	 * @param boolean $echo faire un echo ou non
95
	 * 
101
	 * 
96
	 * @return string la chaine d'information sur l'espace mémoire occupé ou bien null si echo
102
	 * @return string la chaine d'information sur l'espace mémoire occupé ou bien null si echo