Subversion Repositories Applications.framework

Compare Revisions

Ignore whitespace Rev 296 → Rev 297

/trunk/doc/HTMLSmartyConverter/Framework/Chronometre.html
15,7 → 15,7
<td class="header_menu">
[ <a href="../classtrees_Framework.html" class="menu">class tree: Framework</a> ]
[ <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>
26,17 → 26,30
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="200" class="menu">
<div id="todolist">
<p><a href="../todolist.html">Todo List</a></p>
</div>
<b>Packages:</b><br />
<a href="../li_Framework.html">Framework</a><br />
<a href="../li_Utilitaire.html">Utilitaire</a><br />
<a href="../li_Zend_OpenId.html">Zend_OpenId</a><br />
<br /><br />
<b>Files:</b><br />
<div class="package">
<a href="../Framework/_Application.php.html"> Application.php
<a href="../Framework/_Bdd.php.html"> Bdd.php
</a><br>
<a href="../Framework/_autoload.inc.php.html"> autoload.inc.php
<a href="../Framework/_Cache.php.html"> Cache.php
</a><br>
<a href="../Framework/_CacheFichier.php.html"> CacheFichier.php
</a><br>
<a href="../Framework/_CacheSimple.php.html"> CacheSimple.php
</a><br>
<a href="../Framework/_CacheSqlite.php.html"> CacheSqlite.php
</a><br>
<a href="../Framework/_Chronometre.php.html"> Chronometre.php
</a><br>
<a href="../Framework/_Cli.php.html"> Cli.php
</a><br>
<a href="../Framework/_Config.php.html"> Config.php
</a><br>
<a href="../Framework/_Controleur.php.html"> Controleur.php
43,14 → 56,28
</a><br>
<a href="../Framework/_Debug.php.html"> Debug.php
</a><br>
<a href="../Framework/_utilitaires---DiffieHellmanUtil.php.html"> DiffieHellmanUtil.php
</a><br>
<a href="../Framework/_Framework.php.html"> Framework.php
</a><br>
<a href="../Framework/_GestionnaireException.php.html"> GestionnaireException.php
</a><br>
<a href="../Framework/_I18n.php.html"> I18n.php
</a><br>
<a href="../Framework/_Log.php.html"> Log.php
</a><br>
<a href="../Framework/_Modele.php.html"> Modele.php
<a href="../Framework/_OpenIdClient.php.html"> OpenIdClient.php
</a><br>
<a href="../Framework/_Registre.php.html"> Registre.php
</a><br>
<a href="../Framework/_RestClient.php.html"> RestClient.php
</a><br>
<a href="../Framework/_RestServeur.php.html"> RestServeur.php
</a><br>
<a href="../Framework/_RestService.php.html"> RestService.php
</a><br>
<a href="../Framework/_Script.php.html"> Script.php
</a><br>
<a href="../Framework/_SquelettePhp.php.html"> SquelettePhp.php
</a><br>
<a href="../Framework/_Url.php.html"> Url.php
60,15 → 87,27
<b>Classes:</b><br />
<div class="package">
<a href="../Framework/Application.html">Application</a><br />
<a href="../Framework/Bdd.html">Bdd</a><br />
<a href="../Framework/Cache.html">Cache</a><br />
<a href="../Framework/CacheFichier.html">CacheFichier</a><br />
<a href="../Framework/CacheSimple.html">CacheSimple</a><br />
<a href="../Framework/CacheSqlite.html">CacheSqlite</a><br />
<a href="../Framework/Chronometre.html">Chronometre</a><br />
<a href="../Framework/Cli.html">Cli</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/DiffieHellmanUtil.html">DiffieHellmanUtil</a><br />
<a href="../Framework/Framework.html">Framework</a><br />
<a href="../Framework/GestionnaireException.html">GestionnaireException</a><br />
<a href="../Framework/I18n.html">I18n</a><br />
<a href="../Framework/Log.html">Log</a><br />
<a href="../Framework/Modele.html">Modele</a><br />
<a href="../Framework/OpenIdClient.html">OpenIdClient</a><br />
<a href="../Framework/Registre.html">Registre</a><br />
<a href="../Framework/RestClient.html">RestClient</a><br />
<a href="../Framework/RestServeur.html">RestServeur</a><br />
<a href="../Framework/RestService.html">RestService</a><br />
<a href="../Framework/Script.html">Script</a><br />
<a href="../Framework/SquelettePhp.html">SquelettePhp</a><br />
<a href="../Framework/Url.html">Url</a><br />
</div>
85,11 → 124,11
 
<h3><a href="#class_details">Class Overview</a></h3>
<pre></pre><br />
<div class="description">Classe Chronometre() - Permet de stocker et d'afficher les temps d'éxécution de script.</div><br /><br />
<div class="description">Chronometre permet de stocker et d'afficher les temps d'éxécution de script.</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>
</ul>
 
 
 
96,15 → 135,15
 
<h4>Version:</h4>
<ul>
<li>Release: &lt;package_version&gt;</li>
<li>$Id: Chronometre.php 241 2010-12-06 15:19:07Z jpm $</li>
</ul>
 
<h4>Copyright:</h4>
<ul>
<li>2009 Tela-Botanica</li>
<li>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</li>
</ul>
</td>
114,10 → 153,8
<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
<li><a href="../Framework/Chronometre.html#method__construct">__construct</a></li>
<li><a href="../Framework/Chronometre.html#methodafficherChrono">afficherChrono</a></li>
<li><a href="../Framework/Chronometre.html#methodgetTemps">getTemps</a></li>
<li><a href="../Framework/Chronometre.html#methodsetTemps">setTemps</a></li>
<li><a href="../Framework/Chronometre.html#methodchrono">chrono</a></li>
</ul>
</td>
 
137,8 → 174,8
<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line <a href="../__filesource/fsource_Framework__Chronometre.php.html#a23">23</a>]<br />
Classe Chronometre() - Permet de stocker et d'afficher les temps d'éxécution de script.<br /><br /><p>Cette classe permet de réaliser un ensemble de mesure de temps prises à différents endroits d'un script. Ces mesures peuvent ensuite être affichées au sein d'un tableau XHTML.</p><p>PHP Version 5</p><br /><br /><br />
[line <a href="../__filesource/fsource_Framework__Chronometre.php.html#a17">17</a>]<br />
Chronometre permet de stocker et d'afficher les temps d'éxécution de script.<br /><br /><p>Cette classe permet de réaliser un ensemble de mesure de temps prises à différents endroits d'un script. Ces mesures peuvent ensuite être affichées au sein d'un tableau XHTML.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
146,17 → 183,20
<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>Release: &lt;package_version&gt;</td>
<td><b>version:</b>&nbsp;&nbsp;</td><td>$Id: Chronometre.php 241 2010-12-06 15:19:07Z jpm $</td>
</tr>
<tr>
<td><b>copyright:</b>&nbsp;&nbsp;</td><td>2009 Tela-Botanica</td>
<td><b>copyright:</b>&nbsp;&nbsp;</td><td>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</td>
</tr>
<tr>
<td><b>link:</b>&nbsp;&nbsp;</td><td>/doc/framework/</td>
</tr>
<tr>
<td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL</a></td>
<td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL-v2</a></td>
</tr>
<tr>
<td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.gnu.org/licenses/gpl.html">Licence GNU-GPL-v3</a></td>
</tr>
</table>
</div>
</div><br /><br />
167,46 → 207,19
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">
 
<hr />
<a name="method__construct"></a>
<h3>constructor __construct <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Chronometre.php.html#a28">28</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>Chronometre __construct(
)</code>
</td></tr></table>
</td></tr></table><br />
Constructeur : *<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>public</td>
</tr>
</table>
</div>
<br /><br />
 
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodafficherChrono"></a>
<h3>method afficherChrono <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Chronometre.php.html#a82">82</a>]</span></h3>
<h3>static method afficherChrono <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Chronometre.php.html#a75">75</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>string afficherChrono(
[int
$indentation_origine = 8], [int
$indentation = 4])</code>
<code>static string afficherChrono(
[string
$cle = null])</code>
</td></tr></table>
</td></tr></table><br />
Méthode afficherChrono() - Permet d'afficher les temps d'éxécution de différentes parties d'un script.<br /><br /><p>Cette fonction permet d'afficher un ensemble de mesure de temps prises à différents endroits d'un script. Ces mesures sont affichées au sein d'un tableau XHTML dont on peut controler l'indentation des balises. Pour un site en production, il suffit d'ajouter un style #chrono {display:none;} dans la css. De cette façon, le tableau ne s'affichera pas. Le webmaster lui pourra rajouter sa propre feuille de style affichant le tableau. Le développeur initial de cette fonction est Loic d'Anterroches. Elle a été modifiée par Jean-Pascal Milcent. Elle utilise une variable gobale : $_CHRONO_</p><br /><br /><br />
Permet d'afficher les temps d'éxécution de différentes parties d'un script.<br /><br /><p>Cette fonction permet d'afficher un ensemble de mesure de temps prises à différents endroits d'un script. Ces mesures sont affichées au sein d'un tableau XHTML dont on peut controler l'indentation des balises. Pour un site en production, il suffit d'ajouter un style #chrono {display:none;} dans la css. De cette façon, le tableau ne s'affichera pas. Le webmaster lui pourra rajouter sa propre feuille de style affichant le tableau. Le développeur initial de cette fonction est Loic d'Anterroches. Elle a été modifiée par Jean-Pascal Milcent.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
231,39 → 244,31
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">int&nbsp;&nbsp;</td>
<td><b>$indentation_origine</b>&nbsp;&nbsp;</td>
<td>l'indentation de base.</td>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$cle</b>&nbsp;&nbsp;</td>
<td>l'eventuel nom du point de chronométrage de fin.</td>
</tr>
<tr>
<td class="type">int&nbsp;&nbsp;</td>
<td><b>$indentation</b>&nbsp;&nbsp;</td>
<td>le pas d'indentation.</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodgetTemps"></a>
<h3>method getTemps <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Chronometre.php.html#a38">38</a>]</span></h3>
<a name="methodchrono"></a>
<h3>static method chrono <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Chronometre.php.html#a53">53</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>int getTemps(
<code>static null chrono(
[string
$cle = null])</code>
</td></tr></table>
</td></tr></table><br />
Accesseurs :<br /><br /><br /><br />
Effectue un chronometrage.<br /><br /><p>Vous pouvez indiquer le nom du point de chronométrage. Si vous n'indiquez rien, un nombre sera généré en débutant à 1.</p><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 temps écoulé</td>
</tr>
<tr>
<td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
</tr>
</table>
277,54 → 282,19
<tr>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$cle</b>&nbsp;&nbsp;</td>
<td>la cle associée à un chronomètre particulier</td>
<td>le nom du point de chronométrage</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodsetTemps"></a>
<h3>method setTemps <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Chronometre.php.html#a54">54</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>null setTemps(
[array()
$moment = array ()])</code>
</td></tr></table>
</td></tr></table><br />
Setteur pour la variable temps<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>public</td>
</tr>
</table>
</div>
<br /><br />
 
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">array()&nbsp;&nbsp;</td>
<td><b>$moment</b>&nbsp;&nbsp;</td>
<td>ajoute des points de chronométrage au tableau _temps</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:29 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
Documentation generated on Tue, 18 Jan 2011 15:01:57 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>