Subversion Repositories Applications.framework

Rev

Blame | Last modification | View Log | RSS feed

<html>
<head>
<title>Docs For Class Debug</title>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">Framework</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
        
                                    
                                          [ <a href="../classtrees_Framework.html" class="menu">class tree: Framework</a> ]
                  [ <a href="../elementindex_Framework.html" class="menu">index: Framework</a> ]
                            [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
      <b>Packages:</b><br />
              <a href="../li_Framework.html">Framework</a><br />
            <br /><br />
                        <b>Files:</b><br />
          <div class="package">
                        <a href="../Framework/_Application.php.html">           Application.php
                </a><br>
                        <a href="../Framework/_autoload.inc.php.html">          autoload.inc.php
                </a><br>
                        <a href="../Framework/_Chronometre.php.html">           Chronometre.php
                </a><br>
                        <a href="../Framework/_Config.php.html">                Config.php
                </a><br>
                        <a href="../Framework/_Controleur.php.html">            Controleur.php
                </a><br>
                        <a href="../Framework/_Debug.php.html">         Debug.php
                </a><br>
                        <a href="../Framework/_GestionnaireException.php.html">         GestionnaireException.php
                </a><br>
                        <a href="../Framework/_Log.php.html">           Log.php
                </a><br>
                        <a href="../Framework/_Modele.php.html">                Modele.php
                </a><br>
                        <a href="../Framework/_Registre.php.html">              Registre.php
                </a><br>
                        <a href="../Framework/_SquelettePhp.php.html">          SquelettePhp.php
                </a><br>
                        <a href="../Framework/_Url.php.html">           Url.php
                </a><br>
          </div><br />
      
      
            <b>Classes:</b><br />
        <div class="package">
                                <a href="../Framework/Application.html">Application</a><br />
                        <a href="../Framework/Chronometre.html">Chronometre</a><br />
                        <a href="../Framework/Config.html">Config</a><br />
                        <a href="../Framework/Controleur.html">Controleur</a><br />
                        <a href="../Framework/Debug.html">Debug</a><br />
                        <a href="../Framework/GestionnaireException.html">GestionnaireException</a><br />
                        <a href="../Framework/Log.html">Log</a><br />
                        <a href="../Framework/Modele.html">Modele</a><br />
                        <a href="../Framework/Registre.html">Registre</a><br />
                        <a href="../Framework/SquelettePhp.html">SquelettePhp</a><br />
                        <a href="../Framework/Url.html">Url</a><br />
          </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: Debug</h1>
Source Location: /Debug.php<br /><br />


<table width="100%" border="0">
<tr><td valign="top">

<h3><a href="#class_details">Class Overview</a></h3>
<pre></pre><br />
<div class="description">Classe fournissant des fonctions de débogage équivalante à var_dump et print_r.</div><br /><br />
<h4>Author(s):</h4>
<ul>
          <li>Jean-Pascal MILCENT &lt;<a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a>&gt;</li>
                              </ul>




        
          
          
<h4>Version:</h4>
<ul>
  <li>$$Id: Debug.php 153 2010-03-04 10:48:32Z jpm $$</li>
</ul>

<h4>Copyright:</h4>
<ul>
  <li>1999-2009 Tela Botanica (accueil@tela-botanica.org)</li>
</ul>
        
</td>

<td valign="top">
<h3><a href="#class_vars">Variables</a></h3>
<ul>
    <li><a href="../Framework/Debug.html#var$mode">$mode</a></li>
  </ul>
</td>


<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
    <li><a href="../Framework/Debug.html#methoddump">dump</a></li>
    <li><a href="../Framework/Debug.html#methodgetMode">getMode</a></li>
    <li><a href="../Framework/Debug.html#methodprintr">printr</a></li>
  </ul>
</td>

</tr></table>
<hr />

<table width="100%" border="0"><tr>






</tr></table>
<hr />

<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line <a href="../__filesource/fsource_Framework__Debug.php.html#a20">20</a>]<br />
Classe fournissant des fonctions de débogage équivalante à var_dump et print_r.<br /><br /><p>L'affichage et l'utilisation de ces fonctions sont améliorés via cette classe.  Cette classe est inspirée de la classe Zend_Debug.</p><p>PHP version 5</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>author:</b>&nbsp;&nbsp;</td><td>Jean-Pascal MILCENT &lt;<a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a>&gt;</td>
  </tr>
  <tr>
    <td><b>version:</b>&nbsp;&nbsp;</td><td>$$Id: Debug.php 153 2010-03-04 10:48:32Z jpm $$</td>
  </tr>
  <tr>
    <td><b>copyright:</b>&nbsp;&nbsp;</td><td>1999-2009 Tela Botanica (accueil@tela-botanica.org)</td>
  </tr>
  <tr>
    <td><b>license:</b>&nbsp;&nbsp;</td><td>GPL</td>
  </tr>
  <tr>
    <td><b>license:</b>&nbsp;&nbsp;</td><td>CECILL</td>
  </tr>
</table>
</div>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />

<hr />
<a name="class_vars"></a>
<h3>Class Variables</h3>
<div class="tags">
        <a name="var$mode"></a>
        <p></p>
        <h4>static $mode = <span class="value">&nbsp;null</span></h4>
        <p>[line <a href="../__filesource/fsource_Framework__Debug.php.html#a25">25</a>]</p>
  mode de php (cli ou sapi)<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
</div>

  <br />
        <div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
        </div><br /><br />
        <div class="top">[ <a href="#top">Top</a> ]</div><br />
</div><br />

<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">
  <hr />
        <a name="methoddump"></a>
        <h3>static method dump <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Debug.php.html#a45">45</a>]</span></h3>
        <div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
                <code>static string dump(
mixed
$variable, [string
$mot_cle = null], [boolean
$echo = true])</code>
    </td></tr></table>
    </td></tr></table><br />
        
                Equivalent de var_dump<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>la chaine à afficher representant le dump ou null si echo</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

        
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">mixed&nbsp;&nbsp;</td>
        <td><b>$variable</b>&nbsp;&nbsp;</td>
        <td>la variable à dumper</td>
      </tr>
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$mot_cle</b>&nbsp;&nbsp;</td>
        <td>le mot cle à associer à la variable</td>
      </tr>
          <tr>
        <td class="type">boolean&nbsp;&nbsp;</td>
        <td><b>$echo</b>&nbsp;&nbsp;</td>
        <td>si true on affiche le résultat, si false on ne renvoie que la chaine sans l'afficher</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
        <a name="methodgetMode"></a>
        <h3>static method getMode <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Debug.php.html#a31">31</a>]</span></h3>
        <div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
                <code>static string getMode(
)</code>
    </td></tr></table>
    </td></tr></table><br />
        
                Accesseur pour le mode<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>le mode de php</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

        
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
        <a name="methodprintr"></a>
        <h3>static method printr <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Debug.php.html#a65">65</a>]</span></h3>
        <div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
                <code>static string printr(
mixed
$variable, [string
$mot_cle = null], [boolean
$echo = true])</code>
    </td></tr></table>
    </td></tr></table><br />
        
                Equivalent de print_r<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>la chaine contenant la variable printée ou null si echo</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

        
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">mixed&nbsp;&nbsp;</td>
        <td><b>$variable</b>&nbsp;&nbsp;</td>
        <td>la variable à afficher</td>
      </tr>
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$mot_cle</b>&nbsp;&nbsp;</td>
        <td>le mot cle à associer</td>
      </tr>
          <tr>
        <td class="type">boolean&nbsp;&nbsp;</td>
        <td><b>$echo</b>&nbsp;&nbsp;</td>
        <td>faire un echo ou non</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>

</div><br />


        <div class="credit">
                    <hr />
                    Documentation generated on Thu, 04 Mar 2010 19:27:32 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
              </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>