Subversion Repositories Applications.framework

Compare Revisions

Ignore whitespace Rev 475 → Rev 476

/branches/v0.2-buhl/doc/PhpDoc/classes/Chronometre.html
113,12 → 113,12
<ul class="dropdown-menu">
<li>
<a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">54</span>
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">70</span>
</a>
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">0</span>
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">0</span>
</a>
</li>
</ul>
138,10 → 138,10
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-461841465"></a>
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-783041917"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-461841465" class="accordion-body collapse in">
<div id="namespace-783041917" class="accordion-body collapse in">
<div class="accordion-inner">
 
154,6 → 154,7
<li class="class"><a href="../classes/GestionnaireException.html">GestionnaireException</a></li>
<li class="class"><a href="../classes/Modele.html">Modele</a></li>
<li class="class"><a href="../classes/Registre.html">Registre</a></li>
<li class="class"><a href="../classes/I18n.html">I18n</a></li>
<li class="class"><a href="../classes/Config.html">Config</a></li>
<li class="class"><a href="../classes/Application.html">Application</a></li>
<li class="class"><a href="../classes/Log.html">Log</a></li>
175,14 → 176,9
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
 
<h1><small>\</small>Chronometre</h1>
<p><em>Classe Chronometre() - Permet de stocker et d&#039;afficher
les temps d&#039;éxécution de script.</em></p>
<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>
<p><em>Classe Chronometre() - Permet de stocker et d&#039;afficher les temps d&#039;éxécution de script.</em></p>
<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>
 
<section id="summary">
<h2>Summary</h2>
199,9 → 195,7
</section>
<section class="row-fluid public">
<section class="span4">
<a href="../classes/Chronometre.html#method___construct" class="">__construct()</a><br />
<a href="../classes/Chronometre.html#method_getTemps" class="">getTemps()</a><br />
<a href="../classes/Chronometre.html#method_setTemps" class="">setTemps()</a><br />
<a href="../classes/Chronometre.html#method_chrono" class="">chrono()</a><br />
<a href="../classes/Chronometre.html#method_afficherChrono" class="">afficherChrono()</a><br />
</section>
<section class="span4">
224,10 → 218,14
</section>
<section class="row-fluid private">
<section class="span4">
<em>No private methods found</em>
<a href="../classes/Chronometre.html#method___construct" class="">__construct()</a><br />
<a href="../classes/Chronometre.html#method_getTemps" class="">getTemps()</a><br />
<a href="../classes/Chronometre.html#method_setTemps" class="">setTemps()</a><br />
<a href="../classes/Chronometre.html#method_verifierCreationInstance" class="">verifierCreationInstance()</a><br />
</section>
<section class="span4">
<a href="../classes/Chronometre.html#property__temps" class="">$_temps</a><br />
<a href="../classes/Chronometre.html#property_instance" class="">$instance</a><br />
<a href="../classes/Chronometre.html#property_temps" class="">$temps</a><br />
</section>
<section class="span4">
<em>N/A</em>
251,9 → 249,7
<dt>See also</dt>
<dd><a href="/doc/framework/"><div class="namespace-wrapper">/doc/framework/</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
262,7 → 258,7
category
</th>
<td>
<p>PHP</p>
<p>PHP 5.2</p>
</td>
</tr>
<tr>
278,7 → 274,7
copyright
</th>
<td>
<p>2009 Tela-Botanica</p>
<p>Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</p>
</td>
</tr>
<tr>
286,19 → 282,12
license
</th>
<td>
<p><a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt</a> Licence CECILL</p>
<p>GNU-GPL-v3 <a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a></p>
<p>CECILL-v2 <a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt</a></p>
</td>
</tr>
<tr>
<th>
version
</th>
<td>
<p>Release: <package_version></p>
</td>
</tr>
<tr>
<th>
todo
</th>
<td>
319,10 → 308,10
 
<div class="row-fluid">
<div class="span8 content class">
<a id="property__temps" name="property__temps" class="anchor"></a>
<a id="property_instance" name="property_instance" class="anchor"></a>
<article class="property">
<h3 class="private ">$_temps</h3>
<pre class="signature">$_temps</pre>
<h3 class="private ">$instance</h3>
<pre class="signature">$instance</pre>
<p><em></em></p>
 
345,6 → 334,34
</aside>
</div>
 
<div class="row-fluid">
<div class="span8 content class">
<a id="property_temps" name="property_temps" class="anchor"></a>
<article class="property">
<h3 class="private ">$temps</h3>
<pre class="signature">$temps</pre>
<p><em></em></p>
 
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr>
<th>
todo
</th>
<td>
</td>
</tr>
</table>
</aside>
</div>
 
<a id="methods" name="methods"></a>
<div class="row-fluid">
354,9 → 371,114
 
<div class="row-fluid">
<div class="span8 content class">
<a id="method_chrono" name="method_chrono" class="anchor"></a>
<article class="method">
<h3 class="public ">chrono()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">chrono( <span class="argument">$cle</span>) : null</pre>
<p><em>Effectue un chronometrage.</em></p>
 
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td></td>
<td>$cle</td>
<td></td>
</tr>
</table>
<h4>Returns</h4>
null
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<span class="label label-info">static</span>
<dl>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr>
<th>
todo
</th>
<td>
</td>
</tr>
</table>
</aside>
</div>
 
<div class="row-fluid">
<div class="span8 content class">
<a id="method_afficherChrono" name="method_afficherChrono" class="anchor"></a>
<article class="method">
<h3 class="public ">afficherChrono()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">afficherChrono(int <span class="argument">$indentation_origine</span>, int <span class="argument">$indentation</span>) : string</pre>
<p><em>Permet d&#039;afficher les temps d&#039;éxécution de différentes parties d&#039;un script.</em></p>
<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>
 
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>int</td>
<td>$indentation_origine</td>
<td><p>l'indentation de base.</p></td>
</tr>
<tr>
<td>int</td>
<td>$indentation</td>
<td><p>le pas d'indentation.</p></td>
</tr>
</table>
<h4>Returns</h4>
string
&mdash; <p>la chaine XHTML de mesure des temps.</p>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<span class="label label-info">static</span>
<dl>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr>
<th>
author
</th>
<td>
<p>Loic d'Anterroches</p>
<p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p>
</td>
</tr>
<tr>
<th>
todo
</th>
<td>
</td>
</tr>
</table>
</aside>
</div>
 
<div class="row-fluid">
<div class="span8 content class">
<a id="method___construct" name="method___construct" class="anchor"></a>
<article class="method">
<h3 class="public ">__construct()</h3>
<h3 class="private ">__construct()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">__construct()</pre>
<p><em>Constructeur : *</em></p>
387,7 → 509,7
<div class="span8 content class">
<a id="method_getTemps" name="method_getTemps" class="anchor"></a>
<article class="method">
<h3 class="public ">getTemps()</h3>
<h3 class="private ">getTemps()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getTemps(string <span class="argument">$cle</span>) : int</pre>
<p><em>Accesseurs :</em></p>
410,6 → 532,7
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<span class="label label-info">static</span>
<dl>
</dl>
<h2>Tags</h2>
429,9 → 552,9
<div class="span8 content class">
<a id="method_setTemps" name="method_setTemps" class="anchor"></a>
<article class="method">
<h3 class="public ">setTemps()</h3>
<h3 class="private ">setTemps()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">setTemps(\array() <span class="argument">$moment</span>) : null</pre>
<pre class="signature" style="margin-right: 54px;">setTemps( <span class="argument">$cle</span>, \array() <span class="argument">$moment</span>) : null</pre>
<p><em>Setteur pour la variable temps</em></p>
 
438,6 → 561,11
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td></td>
<td>$cle</td>
<td></td>
</tr>
<tr>
<td>\array()</td>
<td>$moment</td>
<td><p>ajoute des points de chronométrage au tableau _temps</p></td>
451,6 → 579,7
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<span class="label label-info">static</span>
<dl>
</dl>
<h2>Tags</h2>
468,47 → 597,21
 
<div class="row-fluid">
<div class="span8 content class">
<a id="method_afficherChrono" name="method_afficherChrono" class="anchor"></a>
<a id="method_verifierCreationInstance" name="method_verifierCreationInstance" class="anchor"></a>
<article class="method">
<h3 class="public ">afficherChrono()</h3>
<h3 class="private ">verifierCreationInstance()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">afficherChrono(int <span class="argument">$indentation_origine</span>, int <span class="argument">$indentation</span>) : string</pre>
<p><em>Méthode afficherChrono() -
Permet d&#039;afficher les temps d&#039;éxécution de différentes parties d&#039;un script.</em></p>
<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</p>
<h1>chrono {display:none;} dans la css. De cette façon,</h1>
<p>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 : $<em>CHRONO</em></p>
<pre class="signature" style="margin-right: 54px;">verifierCreationInstance()</pre>
<p><em>Vérifie si l&#039;instance de classe à été crée, si non la crée</em></p>
 
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>int</td>
<td>$indentation_origine</td>
<td><p>l'indentation de base.</p></td>
</tr>
<tr>
<td>int</td>
<td>$indentation</td>
<td><p>le pas d'indentation.</p></td>
</tr>
</table>
<h4>Returns</h4>
string
&mdash; <p>la chaine XHTML de mesure des temps.</p>
</article>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<span class="label label-info">static</span>
<dl>
</dl>
<h2>Tags</h2>
515,15 → 618,6
<table class="table table-condensed">
<tr>
<th>
author
</th>
<td>
<p>Loic d'Anterroches</p>
<p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p>
</td>
</tr>
<tr>
<th>
todo
</th>
<td>
533,7 → 627,7
</aside>
</div>
 
</div>
</div>
</section>
 
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
582,7 → 676,7
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on March 12th, 2014 at 16:55.
on March 18th, 2014 at 19:19.
</section>
</section>
</section>