/branches/v0.2-buhl/doc/PhpDoc/classes/Registre.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-152390243"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1450018424"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-152390243" class="accordion-body collapse in"> |
<div id="namespace-1450018424" 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> |
177,7 → 178,6 |
<h1><small>\</small>Registre</h1> |
<p><em>Classe registre, qui permet un accès à différentes variables à travers les autres classes.</em></p> |
<p>C'est un singleton</p> |
<p>PHP Version 5</p> |
<section id="summary"> |
<h2>Summary</h2> |
248,9 → 248,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"> |
259,7 → 257,7 |
category |
</th> |
<td> |
<p>Class</p> |
<p>PHP 5.2</p> |
</td> |
</tr> |
<tr> |
267,7 → 265,7 |
author |
</th> |
<td> |
<p>Jean-Pascal Milcent <a href="mailto:jmp@tela-botanica.org">jmp@tela-botanica.org</a></p> |
<p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p> |
</td> |
</tr> |
<tr> |
275,7 → 273,7 |
copyright |
</th> |
<td> |
<p>2009 Tela-Botanica</p> |
<p>Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</p> |
</td> |
</tr> |
<tr> |
283,20 → 281,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><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL</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>SVN: $$Id: Registre.php 120 2009-09-01 12:21:14Z aurelien $$</p> |
</td> |
</tr> |
<tr> |
<th> |
todo |
</th> |
<td> |
658,7 → 648,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> |
/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> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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'afficher |
les temps d'é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'afficher les temps d'é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'afficher les temps d'éxécution de différentes parties d'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 |
— <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'afficher les temps d'éxécution de différentes parties d'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'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 |
— <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> |
/branches/v0.2-buhl/doc/PhpDoc/classes/Config.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-1806433338"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1523942602"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-1806433338" class="accordion-body collapse in"> |
<div id="namespace-1523942602" 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> |
178,7 → 179,6 |
<p><em>Config permet de charger automatiquement les fichiers ini du Framework et de l'application.</em></p> |
<p>Elle offre l'accès en lecture seule aux paramètres de config. |
C'est une Singleton.</p> |
<p>PHP Version 5</p> |
<section id="summary"> |
<h2>Summary</h2> |
195,6 → 195,7 |
</section> |
<section class="row-fluid public"> |
<section class="span4"> |
<a href="../classes/Config.html#method_parserFichierIni" class="">parserFichierIni()</a><br /> |
<a href="../classes/Config.html#method_charger" class="">charger()</a><br /> |
<a href="../classes/Config.html#method_get" class="">get()</a><br /> |
<a href="../classes/Config.html#method_existe" class="">existe()</a><br /> |
221,7 → 222,6 |
<section class="span4"> |
<a href="../classes/Config.html#method___construct" class="">__construct()</a><br /> |
<a href="../classes/Config.html#method_chargerFichierContexte" class="">chargerFichierContexte()</a><br /> |
<a href="../classes/Config.html#method_parserFichierIni" class="">parserFichierIni()</a><br /> |
<a href="../classes/Config.html#method_fusionner" class="">fusionner()</a><br /> |
<a href="../classes/Config.html#method_getValeur" class="">getValeur()</a><br /> |
<a href="../classes/Config.html#method_existeValeur" class="">existeValeur()</a><br /> |
257,9 → 257,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"> |
268,7 → 266,7 |
category |
</th> |
<td> |
<p>PHP</p> |
<p>PHP 5.2</p> |
</td> |
</tr> |
<tr> |
284,7 → 282,7 |
copyright |
</th> |
<td> |
<p>2009 Tela-Botanica</p> |
<p>Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</p> |
</td> |
</tr> |
<tr> |
292,19 → 290,12 |
license |
</th> |
<td> |
<p>GPL-v3 et CECILL-v2</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>SVN: <svn_id></p> |
</td> |
</tr> |
<tr> |
<th> |
todo |
</th> |
<td> |
388,6 → 379,49 |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_parserFichierIni" name="method_parserFichierIni" class="anchor"></a> |
<article class="method"> |
<h3 class="public ">parserFichierIni()</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;">parserFichierIni(string <span class="argument">$fichier_ini</span>) : array</pre> |
<p><em>Parse le fichier ini donné en paramètre</em></p> |
<h4>Parameters</h4> |
<table class="table table-condensed table-hover"> |
<tr> |
<td>string</td> |
<td>$fichier_ini</td> |
<td><p>nom du fichier ini à parser</p></td> |
</tr> |
</table> |
<h4>Returns</h4> |
array |
— <p>tableau contenant les paramètres du fichier ini</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> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_charger" name="method_charger" class="anchor"></a> |
<article class="method"> |
<h3 class="public ">charger()</h3> |
588,49 → 622,6 |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_parserFichierIni" name="method_parserFichierIni" class="anchor"></a> |
<article class="method"> |
<h3 class="private ">parserFichierIni()</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;">parserFichierIni(string <span class="argument">$fichier_ini</span>) : array</pre> |
<p><em>Parse le fichier ini donné en paramètre</em></p> |
<h4>Parameters</h4> |
<table class="table table-condensed table-hover"> |
<tr> |
<td>string</td> |
<td>$fichier_ini</td> |
<td><p>nom du fichier ini à parser</p></td> |
</tr> |
</table> |
<h4>Returns</h4> |
array |
— <p>tableau contenant les paramètres du fichier ini</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> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_fusionner" name="method_fusionner" class="anchor"></a> |
<article class="method"> |
<h3 class="private ">fusionner()</h3> |
1027,7 → 1018,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> |
/branches/v0.2-buhl/doc/PhpDoc/classes/Modele.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-1082738804"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1802128692"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-1082738804" class="accordion-body collapse in"> |
<div id="namespace-1802128692" 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> |
179,7 → 180,6 |
<p>Elle fait office d'abstraction légère de base de données en utilisant diveres possibilités |
d'abstraction de base de données (PDO, mysql, mysqli, sqlite) |
Elle est abstraite donc doit obligatoirement être étendue.</p> |
<p>PHP Version 5</p> |
<section id="summary"> |
<h2>Summary</h2> |
262,9 → 262,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"> |
273,7 → 271,7 |
category |
</th> |
<td> |
<p>Class</p> |
<p>PHP 5.2</p> |
</td> |
</tr> |
<tr> |
281,7 → 279,7 |
author |
</th> |
<td> |
<p>aurelien <a href="mailto:aurelien@tela-botanica.org">aurelien@tela-botanica.org</a></p> |
<p>Aurélien PERONNET <a href="mailto:aurelien@tela-botanica.org">aurelien@tela-botanica.org</a></p> |
</td> |
</tr> |
<tr> |
289,7 → 287,7 |
copyright |
</th> |
<td> |
<p>2009 Tela-Botanica</p> |
<p>Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</p> |
</td> |
</tr> |
<tr> |
297,20 → 295,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><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL</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>SVN: $$Id: Modele.php 426 2013-04-30 16:58:14Z jpm $$</p> |
</td> |
</tr> |
<tr> |
<th> |
todo |
</th> |
<td> |
1033,7 → 1023,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> |
/branches/v0.2-buhl/doc/PhpDoc/classes/Debug.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-1887367903"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1722111506"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-1887367903" class="accordion-body collapse in"> |
<div id="namespace-1722111506" 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> |
178,7 → 179,6 |
<p><em>Classe fournissant des fonctions de débogage équivalante à var_dump et print_r.</em></p> |
<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> |
<section id="summary"> |
<h2>Summary</h2> |
203,7 → 203,8 |
<em>No public properties found</em> |
</section> |
<section class="span4"> |
<em>No constants found</em> |
<a href="../classes/Debug.html#constant_MODE_ECHO" class="">MODE_ECHO</a><br /> |
<a href="../classes/Debug.html#constant_MODE_NOTICE" class="">MODE_NOTICE</a><br /> |
</section> |
</section> |
<section class="row-fluid protected"> |
222,6 → 223,7 |
<a href="../classes/Debug.html#method_traiterDebogage" class="">traiterDebogage()</a><br /> |
<a href="../classes/Debug.html#method_formaterMotCle" class="">formaterMotCle()</a><br /> |
<a href="../classes/Debug.html#method_traiterSortieSuivantMode" class="">traiterSortieSuivantMode()</a><br /> |
<a href="../classes/Debug.html#method_verifierParametresConfig" class="">verifierParametresConfig()</a><br /> |
</section> |
<section class="span4"> |
<em>No private properties found</em> |
239,8 → 241,7 |
<dt>File</dt> |
<dd><a href="../files/Debug.php.html"><div class="path-wrapper">Debug.php</div></a></dd> |
<dt>Package</dt> |
<dd><div class="namespace-wrapper">\Framework |
// Auteur principal :</div></dd> |
<dd><div class="namespace-wrapper">\Framework</div></dd> |
<dt>Class hierarchy</dt> |
<dd class="hierarchy"> |
<div class="namespace-wrapper">\Debug</div> |
258,7 → 259,7 |
category |
</th> |
<td> |
<p>Debogage</p> |
<p>PHP 5.2</p> |
</td> |
</tr> |
<tr> |
266,37 → 267,28 |
author |
</th> |
<td> |
<p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a> |
// Autres auteurs :</p> |
<p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p> |
</td> |
</tr> |
<tr> |
<th> |
license |
copyright |
</th> |
<td> |
<p>GPL v3 <a href="http://www.gnu.org/licenses/gpl.txt">http://www.gnu.org/licenses/gpl.txt</a></p> |
<p>CECILL v2 <a href="http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt">http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt</a></p> |
<p>Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</p> |
</td> |
</tr> |
<tr> |
<th> |
version |
license |
</th> |
<td> |
<p>$$Id: Debug.php 167 2010-03-19 17:12:08Z jpm $$</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> |
copyright |
</th> |
<td> |
<p>1999-2009 Tela Botanica (accueil@tela-botanica.org)</p> |
</td> |
</tr> |
<tr> |
<th> |
todo |
</th> |
<td> |
306,7 → 298,69 |
</aside> |
</div> |
<a id="constants" name="constants"></a> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<h2>Constants</h2> |
</div> |
<aside class="span4 detailsbar"></aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="constant_MODE_ECHO" name="constant_MODE_ECHO" class="anchor"></a> |
<article id="constant_MODE_ECHO" class="constant"> |
<h3 class="">MODE_ECHO</h3> |
<pre class="signature">MODE_ECHO</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> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="constant_MODE_NOTICE" name="constant_MODE_NOTICE" class="anchor"></a> |
<article id="constant_MODE_NOTICE" class="constant"> |
<h3 class="">MODE_NOTICE</h3> |
<pre class="signature">MODE_NOTICE</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="properties" name="properties"></a> |
<div class="row-fluid"> |
<div class="span8 content class"> |
445,7 → 499,7 |
<h3 class="public ">printr()</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;">printr(mixed <span class="argument">$variable</span>, string <span class="argument">$mot_cle</span>, boolean <span class="argument">$echo</span>) : string</pre> |
<p><em>Equivalent de print_r</em></p> |
<p><em>Equivalent de print_r.</em></p> |
<h4>Parameters</h4> |
635,6 → 689,39 |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_verifierParametresConfig" name="method_verifierParametresConfig" class="anchor"></a> |
<article class="method"> |
<h3 class="private ">verifierParametresConfig()</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;">verifierParametresConfig()</pre> |
<p><em>Vérifie que tous les paramêtres de config nécessaires au fonctionnement de cette classe existe dans les fichiers |
de configurations.</em></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> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
</div> |
</section> |
684,7 → 771,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> |
/branches/v0.2-buhl/doc/PhpDoc/classes/GestionnaireException.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-921820162"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1853400035"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-921820162" class="accordion-body collapse in"> |
<div id="namespace-1853400035" 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> |
195,16 → 196,11 |
<section class="span4"> |
<a href="../classes/GestionnaireException.html#method_initialiser" class="">initialiser()</a><br /> |
<a href="../classes/GestionnaireException.html#method_configurer" class="">configurer()</a><br /> |
<a href="../classes/GestionnaireException.html#method_getExceptionsNbre" class="">getExceptionsNbre()</a><br /> |
<a href="../classes/GestionnaireException.html#method_getContexte" class="">getContexte()</a><br /> |
<a href="../classes/GestionnaireException.html#method_setContexte" class="">setContexte()</a><br /> |
<a href="../classes/GestionnaireException.html#method_gererException" class="">gererException()</a><br /> |
<a href="../classes/GestionnaireException.html#method_gererErreur" class="">gererErreur()</a><br /> |
<a href="../classes/GestionnaireException.html#method_getExceptions" class="deprecated">getExceptions()</a><br /> |
<a href="../classes/GestionnaireException.html#method_getExceptionsFormatees" class="">getExceptionsFormatees()</a><br /> |
<a href="../classes/GestionnaireException.html#method_getExceptionsTriees" class="">getExceptionsTriees()</a><br /> |
<a href="../classes/GestionnaireException.html#method_formaterExceptionTxt" class="">formaterExceptionTxt()</a><br /> |
<a href="../classes/GestionnaireException.html#method_formaterExceptionXhtml" class="">formaterExceptionXhtml()</a><br /> |
<a href="../classes/GestionnaireException.html#method_getExceptions" class="">getExceptions()</a><br /> |
<a href="../classes/GestionnaireException.html#method___destruct" class="">__destruct()</a><br /> |
</section> |
<section class="span4"> |
258,9 → 254,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"> |
294,20 → 288,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><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL</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>$Id: GestionnaireException.php 342 2011-06-06 13:58:53Z jpm $$</p> |
</td> |
</tr> |
<tr> |
<th> |
todo |
</th> |
<td> |
574,65 → 560,17 |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_getExceptionsNbre" name="method_getExceptionsNbre" class="anchor"></a> |
<article class="method"> |
<h3 class="public ">getExceptionsNbre()</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;">getExceptionsNbre() : int</pre> |
<p><em>Renvoie le nombre d'exceptions et d'erreurs levées.</em></p> |
<h4>Returns</h4> |
int |
— <p>le nombre d'exception actuellement levées</p> |
</article> |
</div> |
<aside class="span4 detailsbar"> |
<h1><i class="icon-arrow-down"></i></h1> |
<span class="label label-info">static</span> |
<dl> |
<dt>See also</dt> |
<dd><a href=""><span class="namespace-wrapper">pour obtenir les exceptions formatées.</span></a></dd> |
</dl> |
<h2>Tags</h2> |
<table class="table table-condensed"> |
<tr> |
<th> |
since |
</th> |
<td> |
0.3 |
</td> |
</tr> |
<tr> |
<th> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_getContexte" name="method_getContexte" class="anchor"></a> |
<article class="method"> |
<h3 class="public ">getContexte()</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;">getContexte() : bool</pre> |
<pre class="signature" style="margin-right: 54px;">getContexte()</pre> |
<p><em>Renvoie le booleen définissant si l'on affiche le contexte ou non</em></p> |
<h4>Returns</h4> |
bool |
— <p>true si on affiche le contexte sinon false.</p> |
</article> |
</article> |
</div> |
<aside class="span4 detailsbar"> |
<h1><i class="icon-arrow-down"></i></h1> |
699,8 → 637,8 |
<h3 class="public ">gererException()</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;">gererException(\Exception <span class="argument">$e</span>)</pre> |
<p><em>Fonction de gestion des exceptions, remplace le handler par défaut.</em></p> |
<p>Si une boucle génère de multiple exception (ou erreur) identique une seule sera stockée.</p> |
<p><em>Fonction de gestion des exceptions, remplace le handler par défaut</em></p> |
<h4>Parameters</h4> |
<table class="table table-condensed table-hover"> |
796,160 → 734,15 |
<div class="span8 content class"> |
<a id="method_getExceptions" name="method_getExceptions" class="anchor"></a> |
<article class="method"> |
<h3 class="public deprecated">getExceptions()</h3> |
<h3 class="public ">getExceptions()</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;">getExceptions() : string</pre> |
<p><em>Renvoie les exceptions au format (X)HTML ou bien au format texte suivant le mode d'utilisation de PHP.</em></p> |
<pre class="signature" style="margin-right: 54px;">getExceptions()</pre> |
<p><em>Renvoie les exceptions au format (X)HTML |
ou bien au format texte suivant le mode d'utilisation de PHP</em></p> |
<h4>Returns</h4> |
string |
— <p>les exceptions formatées en texte ou (X)HTML.</p> |
</article> |
</div> |
<aside class="span4 detailsbar"> |
<h1><i class="icon-arrow-down"></i></h1> |
<span class="label label-info">static</span> |
<aside class="alert alert-block alert-error"> |
<h4>Deprecated</h4> |
</aside> |
<dl> |
<dt>See also</dt> |
<dd><a href=""><span class="namespace-wrapper"></span></a></dd> |
</dl> |
<h2>Tags</h2> |
<table class="table table-condensed"> |
<tr> |
<th> |
since |
</th> |
<td> |
0.3 |
</td> |
</tr> |
<tr> |
<th> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_getExceptionsFormatees" name="method_getExceptionsFormatees" class="anchor"></a> |
<article class="method"> |
<h3 class="public ">getExceptionsFormatees()</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;">getExceptionsFormatees() : string</pre> |
<p><em>Renvoie les exceptions au format (X)HTML ou bien au format texte suivant le mode d'utilisation de PHP.</em></p> |
<h4>Returns</h4> |
string |
— <p>les exceptions formatées en texte ou (X)HTML.</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> |
since |
</th> |
<td> |
0.3 |
</td> |
</tr> |
<tr> |
<th> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_getExceptionsTriees" name="method_getExceptionsTriees" class="anchor"></a> |
<article class="method"> |
<h3 class="public ">getExceptionsTriees()</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;">getExceptionsTriees() : array</pre> |
<p><em>Renvoie le tableau d'objets Exception générées par le script PHP triées du niveau de sévérité le plus élevé au moins élevé.</em></p> |
<p>Format du tableau : |
array{sévérité_1 = array{Exception1, Exception2, Exception3,...}, sévérité_1 = array{Exception1, Exception2, ...}, ...}; |
ATTENTION : si vous utilisez cette méthode, c'est à vous de gérer l'affichage des Exceptions. Le gestionnaire d'exception |
n'enverra plus rien au navigateur ou à la console.</p> |
<h4>Returns</h4> |
array |
— <p>le tableau trié d'objet Exception.</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> |
since |
</th> |
<td> |
0.3 |
</td> |
</tr> |
<tr> |
<th> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_formaterExceptionTxt" name="method_formaterExceptionTxt" class="anchor"></a> |
<article class="method"> |
<h3 class="public ">formaterExceptionTxt()</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;">formaterExceptionTxt(\Exception <span class="argument">$e</span>)</pre> |
<p><em>Formate en texte une exception passée en paramètre.</em></p> |
<h4>Parameters</h4> |
<table class="table table-condensed table-hover"> |
<tr> |
<td>\Exception</td> |
<td>$e</td> |
<td></td> |
</tr> |
</table> |
</article> |
</div> |
<aside class="span4 detailsbar"> |
961,14 → 754,6 |
<table class="table table-condensed"> |
<tr> |
<th> |
since |
</th> |
<td> |
0.3 |
</td> |
</tr> |
<tr> |
<th> |
todo |
</th> |
<td> |
980,61 → 765,12 |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_formaterExceptionXhtml" name="method_formaterExceptionXhtml" class="anchor"></a> |
<article class="method"> |
<h3 class="public ">formaterExceptionXhtml()</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;">formaterExceptionXhtml(\Exception <span class="argument">$e</span>)</pre> |
<p><em>Formate en (X)HTML une exception passée en paramètre.</em></p> |
<h4>Parameters</h4> |
<table class="table table-condensed table-hover"> |
<tr> |
<td>\Exception</td> |
<td>$e</td> |
<td></td> |
</tr> |
</table> |
</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> |
since |
</th> |
<td> |
0.3 |
</td> |
</tr> |
<tr> |
<th> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method___destruct" name="method___destruct" class="anchor"></a> |
<article class="method"> |
<h3 class="public ">__destruct()</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;">__destruct()</pre> |
<p><em>Lors de la destruction de la classe si des exceptions n'ont pas été affichées, et si le débogage est à true, elles sont |
affichées.</em></p> |
<p><em></em></p> |
1147,7 → 883,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> |
/branches/v0.2-buhl/doc/PhpDoc/classes/Controleur.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-1764599828"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-608539113"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-1764599828" class="accordion-body collapse in"> |
<div id="namespace-608539113" 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> |
221,7 → 222,7 |
</section> |
<section class="row-fluid private"> |
<section class="span4"> |
<em>No private methods found</em> |
<a href="../classes/Controleur.html#method_verifierEtTraiterSlashTableauRequete" class="">verifierEtTraiterSlashTableauRequete()</a><br /> |
</section> |
<section class="span4"> |
<a href="../classes/Controleur.html#property_encodage" class="">$encodage</a><br /> |
250,9 → 251,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"> |
261,7 → 260,7 |
category |
</th> |
<td> |
<p>php5</p> |
<p>PHP 5.2</p> |
</td> |
</tr> |
<tr> |
278,7 → 277,7 |
copyright |
</th> |
<td> |
<p>2009 Tela-Botanica</p> |
<p>Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</p> |
</td> |
</tr> |
<tr> |
286,20 → 285,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><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL</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> |
</td> |
</tr> |
<tr> |
<th> |
todo |
</th> |
<td> |
684,7 → 675,38 |
</aside> |
</div> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_verifierEtTraiterSlashTableauRequete" name="method_verifierEtTraiterSlashTableauRequete" class="anchor"></a> |
<article class="method"> |
<h3 class="private ">verifierEtTraiterSlashTableauRequete()</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;">verifierEtTraiterSlashTableauRequete()</pre> |
<p><em>Procédure vérifiant l'activation des magic quotes et remplace les slash dans les tableaux de requete</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> |
</div> |
</section> |
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true"> |
733,7 → 755,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> |
/branches/v0.2-buhl/doc/PhpDoc/classes/I18n.html |
---|
New file |
0,0 → 1,1011 |
<!DOCTYPE html> |
<html lang="en"> |
<head> |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/> |
<meta charset="utf-8"/> |
<title>TBFramework - v0.2</title> |
<meta name="author" content=""/> |
<meta name="description" content=""/> |
<link href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet"> |
<link href="https://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css" rel="stylesheet"> |
<link href="../css/prism.css" rel="stylesheet" media="all"/> |
<link href="../css/template.css" rel="stylesheet" media="all"/> |
<!--[if lt IE 9]> |
<script src="https://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script> |
<![endif]--> |
<script src="https://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script> |
<script src="https://code.jquery.com/ui/1.10.3/jquery-ui.min.js" type="text/javascript"></script> |
<script src="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script> |
<script src="../js/jquery.smooth-scroll.js"></script> |
<script src="../js/prism.min.js"></script> |
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit--> |
<script type="text/javascript"> |
function loadExternalCodeSnippets() { |
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) { |
var src = pre.getAttribute('data-src'); |
var extension = (src.match(/\.(\w+)$/) || [, ''])[1]; |
var language = 'php'; |
var code = document.createElement('code'); |
code.className = 'language-' + language; |
pre.textContent = ''; |
code.textContent = 'Loading…'; |
pre.appendChild(code); |
var xhr = new XMLHttpRequest(); |
xhr.open('GET', src, true); |
xhr.onreadystatechange = function () { |
if (xhr.readyState == 4) { |
if (xhr.status < 400 && xhr.responseText) { |
code.textContent = xhr.responseText; |
Prism.highlightElement(code); |
} |
else if (xhr.status >= 400) { |
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText; |
} |
else { |
code.textContent = '✖ Error: File does not exist or is empty'; |
} |
} |
}; |
xhr.send(null); |
}); |
} |
$(document).ready(function(){ |
loadExternalCodeSnippets(); |
}); |
$('#source-view').on('shown', function () { |
loadExternalCodeSnippets(); |
}) |
</script> |
<link rel="shortcut icon" href="../images/favicon.ico"/> |
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/> |
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/> |
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/> |
</head> |
<body> |
<div class="navbar navbar-fixed-top"> |
<div class="navbar-inner"> |
<div class="container"> |
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> |
<i class="icon-ellipsis-vertical"></i> |
</a> |
<a class="brand" href="../index.html">TBFramework - v0.2</a> |
<div class="nav-collapse"> |
<ul class="nav pull-right"> |
<li class="dropdown"> |
<a href="../index.html" class="dropdown-toggle" data-toggle="dropdown"> |
API Documentation <b class="caret"></b> |
</a> |
<ul class="dropdown-menu"> |
</ul> |
</li> |
<li class="dropdown" id="charts-menu"> |
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> |
Charts <b class="caret"></b> |
</a> |
<ul class="dropdown-menu"> |
<li> |
<a href="../graphs/class.html"> |
<i class="icon-list-alt"></i> Class hierarchy diagram |
</a> |
</li> |
</ul> |
</li> |
<li class="dropdown" id="reports-menu"> |
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> |
Reports <b class="caret"></b> |
</a> |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
</a> |
</li> |
</ul> |
</li> |
</ul> |
</div> |
</div> |
</div> |
<!--<div class="go_to_top">--> |
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>--> |
<!--</div>--> |
</div> |
<div id="___" class="container-fluid"> |
<section class="row-fluid"> |
<div class="span2 sidebar"> |
<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-642997245"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-642997245" class="accordion-body collapse in"> |
<div class="accordion-inner"> |
<ul> |
<li class="class"><a href="../classes/Url.html">Url</a></li> |
<li class="class"><a href="../classes/Debug.html">Debug</a></li> |
<li class="class"><a href="../classes/Chronometre.html">Chronometre</a></li> |
<li class="class"><a href="../classes/SquelettePhp.html">SquelettePhp</a></li> |
<li class="class"><a href="../classes/Controleur.html">Controleur</a></li> |
<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> |
</ul> |
</div> |
</div> |
</div> |
</div> |
</div> |
</section> |
<section class="row-fluid"> |
<div class="span10 offset2"> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<nav> |
<a href="../namespaces/default.html">\</a> <i class="icon-level-up"></i> |
</nav> |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a> |
<h1><small>\</small>I18n</h1> |
<p><em>I18n permet de traduire une application à partir de données stockées dans des fichiers ini.</em></p> |
<p>Si vous souhaitez utiliser le fonctionnement par défaut vous devrez :</p> |
<ul> |
<li>déposer les fichiers ini dans le dossier définit par la variable de config "chemin_i18n".</li> |
<li>nommer les fichiers selon la forme "locale.ini" (Ex.: fr.ini ou fr_CH.ini ).</li> |
</ul> |
<p>Elle offre l'accès en lecture seule aux paramètres de des fichiers ini. |
C'est une Singleton. Une seule classe de traduction peut être instanciée par Application.</p> |
<section id="summary"> |
<h2>Summary</h2> |
<section class="row-fluid heading"> |
<section class="span4"> |
<a href="#methods">Methods</a> |
</section> |
<section class="span4"> |
<a href="#properties">Properties</a> |
</section> |
<section class="span4"> |
<a href="#constants">Constants</a> |
</section> |
</section> |
<section class="row-fluid public"> |
<section class="span4"> |
<a href="../classes/I18n.html#method_get" class="">get()</a><br /> |
<a href="../classes/I18n.html#method_charger" class="">charger()</a><br /> |
<a href="../classes/I18n.html#method_setLangue" class="">setLangue()</a><br /> |
</section> |
<section class="span4"> |
<em>No public properties found</em> |
</section> |
<section class="span4"> |
<a href="../classes/I18n.html#constant_FORMAT_INI" class="">FORMAT_INI</a><br /> |
</section> |
</section> |
<section class="row-fluid protected"> |
<section class="span4"> |
<em>No protected methods found</em> |
</section> |
<section class="span4"> |
<em>No protected properties found</em> |
</section> |
<section class="span4"> |
<em>N/A</em> |
</section> |
</section> |
<section class="row-fluid private"> |
<section class="span4"> |
<a href="../classes/I18n.html#method___construct" class="">__construct()</a><br /> |
<a href="../classes/I18n.html#method_getValeur" class="">getValeur()</a><br /> |
<a href="../classes/I18n.html#method_chargerFichierIni" class="">chargerFichierIni()</a><br /> |
<a href="../classes/I18n.html#method_analyserTableauIni" class="">analyserTableauIni()</a><br /> |
<a href="../classes/I18n.html#method_evaluerCle" class="">evaluerCle()</a><br /> |
<a href="../classes/I18n.html#method_trouverLangue" class="">trouverLangue()</a><br /> |
<a href="../classes/I18n.html#method_verifierCreationInstance" class="">verifierCreationInstance()</a><br /> |
<a href="../classes/I18n.html#method_verifierParametresConfig" class="">verifierParametresConfig()</a><br /> |
<a href="../classes/I18n.html#method_ajouterErreur" class="">ajouterErreur()</a><br /> |
</section> |
<section class="span4"> |
<a href="../classes/I18n.html#property_instance" class="">$instance</a><br /> |
<a href="../classes/I18n.html#property_traductions" class="">$traductions</a><br /> |
<a href="../classes/I18n.html#property_langue" class="">$langue</a><br /> |
</section> |
<section class="span4"> |
<em>N/A</em> |
</section> |
</section> |
</section> |
</div> |
<aside class="span4 detailsbar"> |
<dl> |
<dt>File</dt> |
<dd><a href="../files/I18n.php.html"><div class="path-wrapper">I18n.php</div></a></dd> |
<dt>Package</dt> |
<dd><div class="namespace-wrapper">\Framework</div></dd> |
<dt>Class hierarchy</dt> |
<dd class="hierarchy"> |
<div class="namespace-wrapper">\I18n</div> |
</dd> |
</dl> |
<h2>Tags</h2> |
<table class="table table-condensed"> |
<tr> |
<th> |
category |
</th> |
<td> |
<p>PHP 5.2</p> |
</td> |
</tr> |
<tr> |
<th> |
author |
</th> |
<td> |
<p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p> |
</td> |
</tr> |
<tr> |
<th> |
copyright |
</th> |
<td> |
<p>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</p> |
</td> |
</tr> |
<tr> |
<th> |
license |
</th> |
<td> |
<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> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
<a id="constants" name="constants"></a> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<h2>Constants</h2> |
</div> |
<aside class="span4 detailsbar"></aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="constant_FORMAT_INI" name="constant_FORMAT_INI" class="anchor"></a> |
<article id="constant_FORMAT_INI" class="constant"> |
<h3 class="">FORMAT_INI</h3> |
<pre class="signature">FORMAT_INI</pre> |
<p><em>Format de traduction utilisant les fichier .ini</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="properties" name="properties"></a> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<h2>Properties</h2> |
</div> |
<aside class="span4 detailsbar"></aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="property_instance" name="property_instance" class="anchor"></a> |
<article class="property"> |
<h3 class="private ">$instance</h3> |
<pre class="signature">$instance</pre> |
<p><em>Instance de la classe pointant sur elle même (pour le pattern singleton)</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> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="property_traductions" name="property_traductions" class="anchor"></a> |
<article class="property"> |
<h3 class="private ">$traductions</h3> |
<pre class="signature">$traductions</pre> |
<p><em>Fichiers de traduction disponibles.</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> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="property_langue" name="property_langue" class="anchor"></a> |
<article class="property"> |
<h3 class="private ">$langue</h3> |
<pre class="signature">$langue</pre> |
<p><em>Langue courrante utilisée par l'application.</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"> |
<div class="span8 content class"><h2>Methods</h2></div> |
<aside class="span4 detailsbar"></aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_get" name="method_get" class="anchor"></a> |
<article class="method"> |
<h3 class="public ">get()</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;">get( <span class="argument">$identifiant</span>, <span class="argument">$langue</span>) : string</pre> |
<p><em>Accesseur pour la valeur d'une traduction</em></p> |
<h4>Parameters</h4> |
<table class="table table-condensed table-hover"> |
<tr> |
<td></td> |
<td>$identifiant</td> |
<td></td> |
</tr> |
<tr> |
<td></td> |
<td>$langue</td> |
<td></td> |
</tr> |
</table> |
<h4>Returns</h4> |
string |
— <p>la valeur du paramètre</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> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_charger" name="method_charger" class="anchor"></a> |
<article class="method"> |
<h3 class="public ">charger()</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;">charger( <span class="argument">$langue</span>, <span class="argument">$fichier</span>, <span class="argument">$format</span>) : boolean</pre> |
<p><em>Charge un fichier ini dans le tableau des paramètres de l'appli</em></p> |
<h4>Parameters</h4> |
<table class="table table-condensed table-hover"> |
<tr> |
<td></td> |
<td>$langue</td> |
<td></td> |
</tr> |
<tr> |
<td></td> |
<td>$fichier</td> |
<td></td> |
</tr> |
<tr> |
<td></td> |
<td>$format</td> |
<td></td> |
</tr> |
</table> |
<h4>Returns</h4> |
boolean |
— <p>true, si le fichier a été trouvé et correctement chargé, sinon false.</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> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_setLangue" name="method_setLangue" class="anchor"></a> |
<article class="method"> |
<h3 class="public ">setLangue()</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;">setLangue( <span class="argument">$langue</span>) : array</pre> |
<p><em>Définit la langue utiliser pour rechercher une traduction.</em></p> |
<h4>Parameters</h4> |
<table class="table table-condensed table-hover"> |
<tr> |
<td></td> |
<td>$langue</td> |
<td></td> |
</tr> |
</table> |
<h4>Returns</h4> |
array |
— <p>le fichier ini parsé</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> |
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="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></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> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_getValeur" name="method_getValeur" class="anchor"></a> |
<article class="method"> |
<h3 class="private ">getValeur()</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;">getValeur(string <span class="argument">$param</span>, array <span class="argument">$i18n</span>) : mixed</pre> |
<p><em>Renvoie la valeur demandé grâce une chaine de paramètres</em></p> |
<h4>Parameters</h4> |
<table class="table table-condensed table-hover"> |
<tr> |
<td>string</td> |
<td>$param</td> |
<td><p>la chaine identifiante</p></td> |
</tr> |
<tr> |
<td>array</td> |
<td>$i18n</td> |
<td><p>le tableau de traductions</p></td> |
</tr> |
</table> |
<h4>Returns</h4> |
mixed |
— <p>la valeur correspondante à la chaine identifiante si elle est trouvée, sinon false.</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> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_chargerFichierIni" name="method_chargerFichierIni" class="anchor"></a> |
<article class="method"> |
<h3 class="private ">chargerFichierIni()</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;">chargerFichierIni(string <span class="argument">$fichier_ini</span>, string <span class="argument">$langue</span>) : boolean</pre> |
<p><em>Parse le fichier ini donné en paramètre</em></p> |
<h4>Parameters</h4> |
<table class="table table-condensed table-hover"> |
<tr> |
<td>string</td> |
<td>$fichier_ini</td> |
<td><p>nom du fichier ini à parser</p></td> |
</tr> |
<tr> |
<td>string</td> |
<td>$langue</td> |
<td><p>la langue correspondant au fichier</p></td> |
</tr> |
</table> |
<h4>Returns</h4> |
boolean |
— <p>true si le chargement c'est bien passé, sinon false.</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> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_analyserTableauIni" name="method_analyserTableauIni" class="anchor"></a> |
<article class="method"> |
<h3 class="private ">analyserTableauIni()</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;">analyserTableauIni(array <span class="argument">$i18n</span>) : array</pre> |
<p><em>Analyse un tableau de traductions pour évaluer les clés.</em></p> |
<h4>Parameters</h4> |
<table class="table table-condensed table-hover"> |
<tr> |
<td>array</td> |
<td>$i18n</td> |
<td><p>le tableau de traductions</p></td> |
</tr> |
</table> |
<h4>Returns</h4> |
array |
— <p>le tableau analysé et modifié si nécessaire.</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> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_evaluerCle" name="method_evaluerCle" class="anchor"></a> |
<article class="method"> |
<h3 class="private ">evaluerCle()</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;">evaluerCle(array <span class="argument">$i18n</span>, string <span class="argument">$cle</span>, string <span class="argument">$valeur</span>)</pre> |
<p><em>Dans le cas des chaines de traduction à sous clé (ex.: cle.souscle), cette méthode |
évalue les valeurs correspondantes et créée les sous tableaux associés.</em></p> |
<h4>Parameters</h4> |
<table class="table table-condensed table-hover"> |
<tr> |
<td>array</td> |
<td>$i18n</td> |
<td><p>tableau de traductions (par référence)</p></td> |
</tr> |
<tr> |
<td>string</td> |
<td>$cle</td> |
<td><p>la cle dans le tableau</p></td> |
</tr> |
<tr> |
<td>string</td> |
<td>$valeur</td> |
<td><p>la valeur à affecter</p></td> |
</tr> |
</table> |
</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_trouverLangue" name="method_trouverLangue" class="anchor"></a> |
<article class="method"> |
<h3 class="private ">trouverLangue()</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;">trouverLangue()</pre> |
<p><em>Cherche l'information sur la langue demandée par l'application</em></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> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_verifierCreationInstance" name="method_verifierCreationInstance" class="anchor"></a> |
<article class="method"> |
<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;">verifierCreationInstance()</pre> |
<p><em>Vérifie si l'instance de classe à été crée, si non la crée</em></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> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_verifierParametresConfig" name="method_verifierParametresConfig" class="anchor"></a> |
<article class="method"> |
<h3 class="private ">verifierParametresConfig()</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;">verifierParametresConfig()</pre> |
<p><em>Vérifie que tous les paramêtres de config nécessaires au fonctionnement de cette classe existe dans les fichiers |
de configurations.</em></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> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_ajouterErreur" name="method_ajouterErreur" class="anchor"></a> |
<article class="method"> |
<h3 class="private ">ajouterErreur()</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;">ajouterErreur( <span class="argument">$m</span>, <span class="argument">$e</span>)</pre> |
<p><em>Ajouter une message d'erreur</em></p> |
<h4>Parameters</h4> |
<table class="table table-condensed table-hover"> |
<tr> |
<td></td> |
<td>$m</td> |
<td></td> |
</tr> |
<tr> |
<td></td> |
<td>$e</td> |
<td></td> |
</tr> |
</table> |
</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> |
</section> |
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true"> |
<div class="modal-header"> |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> |
<h3 id="source-view-label">I18n.php</h3> |
</div> |
<div class="modal-body"> |
<pre data-src="../files/I18n.php.txt" class="language-php line-numbers"></pre> |
</div> |
</div> |
<footer class="row-fluid"> |
<section class="span10 offset2"> |
<section class="row-fluid"> |
<section class="span10 offset1"> |
<section class="row-fluid footer-sections"> |
<section class="span4"> |
<h1><i class="icon-code"></i></h1> |
<div> |
<ul> |
</ul> |
</div> |
</section> |
<section class="span4"> |
<h1><i class="icon-bar-chart"></i></h1> |
<div> |
<ul> |
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li> |
</ul> |
</div> |
</section> |
<section class="span4"> |
<h1><i class="icon-pushpin"></i></h1> |
<div> |
<ul> |
<li><a href="../reports/errors.html">Errors</a></li> |
<li><a href="../reports/markers.html">Markers</a></li> |
</ul> |
</div> |
</section> |
</section> |
</section> |
</section> |
<section class="row-fluid"> |
<section class="span10 offset1"> |
<hr /> |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored |
on March 18th, 2014 at 19:19. |
</section> |
</section> |
</section> |
</footer> |
</div> |
</body> |
</html> |
/branches/v0.2-buhl/doc/PhpDoc/classes/Log.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-334280751"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-578982708"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-334280751" class="accordion-body collapse in"> |
<div id="namespace-578982708" 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> |
255,9 → 256,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"> |
274,7 → 273,7 |
author |
</th> |
<td> |
<p>aurelien <a href="mailto:aurelien@tela-botanica.org">aurelien@tela-botanica.org</a></p> |
<p>Aurélien PERONNET <a href="mailto:aurelien@tela-botanica.org">aurelien@tela-botanica.org</a></p> |
</td> |
</tr> |
<tr> |
282,7 → 281,7 |
copyright |
</th> |
<td> |
<p>2009 Tela-Botanica</p> |
<p>Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</p> |
</td> |
</tr> |
<tr> |
290,19 → 289,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> |
</td> |
</tr> |
<tr> |
<th> |
todo |
</th> |
<td> |
915,7 → 907,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> |
/branches/v0.2-buhl/doc/PhpDoc/classes/Url.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-231227172"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-839688948"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-231227172" class="accordion-body collapse in"> |
<div id="namespace-839688948" 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> |
279,8 → 280,7 |
<dt>File</dt> |
<dd><a href="../files/Url.php.html"><div class="path-wrapper">Url.php</div></a></dd> |
<dt>Package</dt> |
<dd><div class="namespace-wrapper">\Framework |
// Auteur principal</div></dd> |
<dd><div class="namespace-wrapper">\Framework</div></dd> |
<dt>Class hierarchy</dt> |
<dd class="hierarchy"> |
<div class="namespace-wrapper">\Url</div> |
289,9 → 289,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"> |
300,7 → 298,7 |
category |
</th> |
<td> |
<p>Php5</p> |
<p>PHP 5.2</p> |
</td> |
</tr> |
<tr> |
308,8 → 306,7 |
author |
</th> |
<td> |
<p>Christian Schmidt <a href="mailto:schmidt@php.net">schmidt@php.net</a> |
// Autre auteurs</p> |
<p>Christian SCHMIDT<a href="mailto:schmidt@php.net">schmidt@php.net</a></p> |
<p>Aurélien PERONNET <a href="mailto:aurelien@tela-botanica.org">aurelien@tela-botanica.org</a></p> |
<p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p> |
</td> |
319,7 → 316,7 |
copyright |
</th> |
<td> |
<p>2009 Tela-Botanica</p> |
<p>Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</p> |
</td> |
</tr> |
<tr> |
327,20 → 324,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><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL</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> |
</td> |
</tr> |
<tr> |
<th> |
todo |
</th> |
<td> |
2146,7 → 2135,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> |
/branches/v0.2-buhl/doc/PhpDoc/classes/Application.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-1550595792"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-211149678"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-1550595792" class="accordion-body collapse in"> |
<div id="namespace-211149678" 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> |
176,7 → 177,7 |
<h1><small>\</small>Application</h1> |
<p><em>Classe fournissant des informations au Framework sur l'application.</em></p> |
<p>PHP version 5</p> |
<section id="summary"> |
<h2>Summary</h2> |
237,8 → 238,7 |
<dt>File</dt> |
<dd><a href="../files/Application.php.html"><div class="path-wrapper">Application.php</div></a></dd> |
<dt>Package</dt> |
<dd><div class="namespace-wrapper">\Framework |
// Auteur principal :</div></dd> |
<dd><div class="namespace-wrapper">\Framework</div></dd> |
<dt>Class hierarchy</dt> |
<dd class="hierarchy"> |
<div class="namespace-wrapper">\Application</div> |
256,7 → 256,7 |
category |
</th> |
<td> |
<p>Debogage</p> |
<p>PHP 5.2</p> |
</td> |
</tr> |
<tr> |
264,37 → 264,28 |
author |
</th> |
<td> |
<p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a> |
// Autres auteurs :</p> |
<p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p> |
</td> |
</tr> |
<tr> |
<th> |
license |
copyright |
</th> |
<td> |
<p>GPL v3 <a href="http://www.gnu.org/licenses/gpl.txt">http://www.gnu.org/licenses/gpl.txt</a></p> |
<p>CECILL v2 <a href="http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt">http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt</a></p> |
<p>Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</p> |
</td> |
</tr> |
<tr> |
<th> |
version |
license |
</th> |
<td> |
<p>$Id: Application.php 456 2014-02-06 11:07:43Z jpm $</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> |
copyright |
</th> |
<td> |
<p>1999-2009 Tela Botanica (accueil@tela-botanica.org)</p> |
</td> |
</tr> |
<tr> |
<th> |
todo |
</th> |
<td> |
616,7 → 607,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> |
/branches/v0.2-buhl/doc/PhpDoc/classes/SquelettePhp.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-1089514397"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1961389844"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-1089514397" class="accordion-body collapse in"> |
<div id="namespace-1961389844" 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> |
242,9 → 243,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"> |
253,7 → 252,7 |
category |
</th> |
<td> |
<p>php5</p> |
<p>PHP 5.2</p> |
</td> |
</tr> |
<tr> |
269,7 → 268,7 |
copyright |
</th> |
<td> |
<p>2010 Tela-Botanica</p> |
<p>Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</p> |
</td> |
</tr> |
<tr> |
277,20 → 276,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><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL</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>SVN: $$Id: SquelettePhp.php 153 2010-03-04 10:48:32Z jpm $$</p> |
</td> |
</tr> |
<tr> |
<th> |
todo |
</th> |
<td> |
449,7 → 440,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> |
/branches/v0.2-buhl/doc/PhpDoc/reports/errors.html |
---|
66,12 → 66,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
</a> |
</li> |
</ul> |
100,6 → 100,7 |
<li><a href="#GestionnaireException.php"><i class="icon-file"></i> GestionnaireException.php</a></li> |
<li><a href="#Modele.php"><i class="icon-file"></i> Modele.php</a></li> |
<li><a href="#Registre.php"><i class="icon-file"></i> Registre.php</a></li> |
<li><a href="#I18n.php"><i class="icon-file"></i> I18n.php</a></li> |
<li><a href="#Config.php"><i class="icon-file"></i> Config.php</a></li> |
<li><a href="#Application.php"><i class="icon-file"></i> Application.php</a></li> |
<li><a href="#Log.php"><i class="icon-file"></i> Log.php</a></li> |
137,102 → 138,102 |
</tr> |
<tr> |
<td>error</td> |
<td>66</td> |
<td>61</td> |
<td>No summary for property $schema</td> |
</tr> |
<tr> |
<td>error</td> |
<td>71</td> |
<td>66</td> |
<td>No summary for property $infoUtilisateur</td> |
</tr> |
<tr> |
<td>error</td> |
<td>76</td> |
<td>71</td> |
<td>No summary for property $hote</td> |
</tr> |
<tr> |
<td>error</td> |
<td>81</td> |
<td>76</td> |
<td>No summary for property $port</td> |
</tr> |
<tr> |
<td>error</td> |
<td>86</td> |
<td>81</td> |
<td>No summary for property $chemin</td> |
</tr> |
<tr> |
<td>error</td> |
<td>91</td> |
<td>86</td> |
<td>No summary for property $requete</td> |
</tr> |
<tr> |
<td>error</td> |
<td>96</td> |
<td>91</td> |
<td>No summary for property $fragment</td> |
</tr> |
<tr> |
<td>error</td> |
<td>102</td> |
<td>97</td> |
<td>No summary for method __construct()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>153</td> |
<td>148</td> |
<td>No summary for method setSchema()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>219</td> |
<td>214</td> |
<td>No summary for method setHote()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>238</td> |
<td>233</td> |
<td>No summary for method setPort()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>273</td> |
<td>268</td> |
<td>No summary for method setAutorite()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>304</td> |
<td>299</td> |
<td>No summary for method setChemin()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>325</td> |
<td>320</td> |
<td>No summary for method setRequete()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>343</td> |
<td>338</td> |
<td>No summary for method setFragment()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>408</td> |
<td>403</td> |
<td>No summary for method setVariablesRequete()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>440</td> |
<td>435</td> |
<td>No summary for method setVariableRequete()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>451</td> |
<td>446</td> |
<td>No summary for method unsetVariableRequete()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>462</td> |
<td>457</td> |
<td>No summary for method unsetVariablesRequete()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>769</td> |
<td>764</td> |
<td>No summary for method __toString()</td> |
</tr> |
</tbody> |
258,22 → 259,22 |
<tbody> |
<tr> |
<td>error</td> |
<td>31</td> |
<td>26</td> |
<td>Argument $nom_classe_fw is missing from the Docblock of \autoloadFw()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>31</td> |
<td>26</td> |
<td>No summary for function \autoloadFw()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>44</td> |
<td>39</td> |
<td>Argument $nom_classe is missing from the Docblock of \autoloadAppliDefaut()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>44</td> |
<td>39</td> |
<td>No summary for function \autoloadAppliDefaut()</td> |
</tr> |
</tbody> |
311,7 → 312,7 |
<h3> |
<i class="icon-file"></i> |
Chronometre.php |
<small style="float: right;padding-right: 10px;">2</small> |
<small style="float: right;padding-right: 10px;">5</small> |
</h3> |
<div> |
<table class="table markers table-bordered"> |
330,9 → 331,24 |
</tr> |
<tr> |
<td>error</td> |
<td>25</td> |
<td>No summary for property $_temps</td> |
<td>17</td> |
<td>No summary for property $instance</td> |
</tr> |
<tr> |
<td>error</td> |
<td>18</td> |
<td>No summary for property $temps</td> |
</tr> |
<tr> |
<td>error</td> |
<td>47</td> |
<td>Argument $cle is missing from the Docblock of setTemps()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>59</td> |
<td>Argument $cle is missing from the Docblock of chrono()</td> |
</tr> |
</tbody> |
</table> |
</div> |
368,7 → 384,7 |
<h3> |
<i class="icon-file"></i> |
Controleur.php |
<small style="float: right;padding-right: 10px;">1</small> |
<small style="float: right;padding-right: 10px;">3</small> |
</h3> |
<div> |
<table class="table markers table-bordered"> |
385,6 → 401,16 |
<td>0</td> |
<td>No summary was found for this file</td> |
</tr> |
<tr> |
<td>error</td> |
<td>126</td> |
<td>Argument $value is missing from the Docblock of \stripslashes_deep()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>126</td> |
<td>No summary for function \stripslashes_deep()</td> |
</tr> |
</tbody> |
</table> |
</div> |
394,7 → 420,7 |
<h3> |
<i class="icon-file"></i> |
GestionnaireException.php |
<small style="float: right;padding-right: 10px;">2</small> |
<small style="float: right;padding-right: 10px;">3</small> |
</h3> |
<div> |
<table class="table markers table-bordered"> |
413,9 → 439,14 |
</tr> |
<tr> |
<td>error</td> |
<td>78</td> |
<td>62</td> |
<td>Argument $contexte is missing from the Docblock of setContexte()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>149</td> |
<td>No summary for method __destruct()</td> |
</tr> |
</tbody> |
</table> |
</div> |
444,42 → 475,42 |
</tr> |
<tr> |
<td>error</td> |
<td>151</td> |
<td>146</td> |
<td>Argument $requete is missing from the Docblock of requete()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>177</td> |
<td>172</td> |
<td>Argument $requete is missing from the Docblock of requeteUn()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>177</td> |
<td>172</td> |
<td>Argument $mode is missing from the Docblock of requeteUn()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>177</td> |
<td>172</td> |
<td>No summary for method requeteUn()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>213</td> |
<td>208</td> |
<td>Argument $requete is missing from the Docblock of requeteTous()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>213</td> |
<td>208</td> |
<td>Argument $mode is missing from the Docblock of requeteTous()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>213</td> |
<td>208</td> |
<td>No summary for method requeteTous()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>273</td> |
<td>268</td> |
<td>Argument $chaine is missing from the Docblock of proteger()</td> |
</tr> |
</tbody> |
510,27 → 541,27 |
</tr> |
<tr> |
<td>error</td> |
<td>53</td> |
<td>48</td> |
<td>Argument $intitule is missing from the Docblock of set()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>53</td> |
<td>48</td> |
<td>Argument $objet is missing from the Docblock of set()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>67</td> |
<td>62</td> |
<td>Argument $intitule is missing from the Docblock of get()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>77</td> |
<td>72</td> |
<td>Argument $intitule is missing from the Docblock of detruire()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>87</td> |
<td>82</td> |
<td>Argument $intitule is missing from the Docblock of existe()</td> |
</tr> |
</tbody> |
538,6 → 569,77 |
</div> |
</div> |
<div class="package-contents"> |
<a name="I18n.php" id="I18n.php"></a> |
<h3> |
<i class="icon-file"></i> |
I18n.php |
<small style="float: right;padding-right: 10px;">10</small> |
</h3> |
<div> |
<table class="table markers table-bordered"> |
<thead> |
<tr> |
<th>Type</th> |
<th>Line</th> |
<th>Description</th> |
</tr> |
</thead> |
<tbody> |
<tr> |
<td>error</td> |
<td>0</td> |
<td>No summary was found for this file</td> |
</tr> |
<tr> |
<td>error</td> |
<td>33</td> |
<td>No summary for method __construct()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>43</td> |
<td>Argument $identifiant is missing from the Docblock of get()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>43</td> |
<td>Argument $langue is missing from the Docblock of get()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>82</td> |
<td>Argument $langue is missing from the Docblock of charger()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>82</td> |
<td>Argument $fichier is missing from the Docblock of charger()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>82</td> |
<td>Argument $format is missing from the Docblock of charger()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>107</td> |
<td>Argument $langue is missing from the Docblock of setLangue()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>243</td> |
<td>Argument $m is missing from the Docblock of ajouterErreur()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>243</td> |
<td>Argument $e is missing from the Docblock of ajouterErreur()</td> |
</tr> |
</tbody> |
</table> |
</div> |
</div> |
<div class="package-contents"> |
<a name="Config.php" id="Config.php"></a> |
<h3> |
<i class="icon-file"></i> |
561,7 → 663,7 |
</tr> |
<tr> |
<td>error</td> |
<td>147</td> |
<td>144</td> |
<td>Argument $config is missing from the Docblock of existeValeur()</td> |
</tr> |
</tbody> |
618,17 → 720,17 |
</tr> |
<tr> |
<td>error</td> |
<td>87</td> |
<td>86</td> |
<td>Argument $entree is missing from the Docblock of ajouterEntree()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>87</td> |
<td>86</td> |
<td>Argument $mode is missing from the Docblock of ajouterEntree()</td> |
</tr> |
<tr> |
<td>error</td> |
<td>118</td> |
<td>117</td> |
<td>Argument $mode is missing from the Docblock of verifierOuvrirFichier()</td> |
</tr> |
</tbody> |
674,7 → 776,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> |
/branches/v0.2-buhl/doc/PhpDoc/reports/deprecated.html |
---|
66,12 → 66,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
</a> |
</li> |
</ul> |
101,25 → 101,7 |
</ul> |
<div id="marker-accordion"> |
<a name="" id=""></a> |
<h3> |
<i class="icon-file"></i> |
<small style="float: right;padding-right: 10px;">1</small> |
</h3> |
<div> |
<table class="table markers table-bordered"> |
<tr> |
<th>Type</th> |
<th>Line</th> |
<th>Description</th> |
</tr> |
<tr> |
<td>deprecated</td> |
<td></td> |
<td></td> |
</tr> |
</table> |
</div> |
<div class="alert alert-info">No deprecated elements have been found in this project.</div> |
</div> |
</div> |
</div> |
160,7 → 142,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> |
/branches/v0.2-buhl/doc/PhpDoc/reports/markers.html |
---|
66,12 → 66,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
</a> |
</li> |
</ul> |
90,7 → 90,7 |
<div class="span2 sidebar"> |
<ul class="side-nav nav nav-list"> |
<li class="nav-header">Navigation</li> |
</ul> |
</ul> |
</div> |
<div class="span10 offset2"> |
103,7 → 103,7 |
<div class="alert alert-info">No markers have been found in this project.</div> |
<div id="marker-accordion"> |
</div> |
</div> |
</div> |
</section> |
143,7 → 143,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> |
/branches/v0.2-buhl/doc/PhpDoc/phpdoc-cache-52/phpdoc-cache-file_95ac810071946135cd004f6a2d287311.dat |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v0.2-buhl/doc/PhpDoc/files/Controleur.php.txt |
---|
5,21 → 5,18 |
* qui devrait être appelée de l'extérieur. |
* Elle est abstraite donc doit obligatoirement être étendue. |
* |
* @category php5 |
* @category PHP 5.2 |
* @package Framework |
* @author Aurélien PERONNET <aurelien@tela-botanica.org> |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* @copyright 2009 Tela-Botanica |
* @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL |
* @license http://www.gnu.org/licenses/gpl.html Licence GNU-GPL |
* @version SVN: $Id: Controleur.php 191 2010-04-29 15:34:49Z jpm $ |
* @link /doc/framework/ |
* |
* @copyright Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org) |
* @license GNU-GPL-v3 <http://www.gnu.org/licenses/gpl.html> |
* @license CECILL-v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt> |
*/ |
abstract class Controleur { |
/** Variable statique indiquant que les tableaux _GET et _POST ont déjà été encodé au format de l'appli. */ |
private static $encodage = false; |
/** Registre global, normalement accessible partout */ |
private $registre; |
113,9 → 110,35 |
$_GET = $this->encoderTableau($_GET, Config::get('appli_encodage'), Config::get('sortie_encodage')); |
self::$encodage = true; |
} |
// traitement des magic quotes |
$this->verifierEtTraiterSlashTableauRequete(); |
} |
/** |
* Procédure vérifiant l'activation des magic quotes et remplace les slash dans les tableaux de requete |
*/ |
private function verifierEtTraiterSlashTableauRequete() { |
if ( get_magic_quotes_gpc() ) { |
if (!function_exists('stripslashes_deep')) { |
function stripslashes_deep( $value ) { |
return ( is_array($value) ) |
? array_map('stripslashes_deep', $value) |
: stripslashes($value); |
} // end of 'stripslashes_deep()' |
$_GET = array_map('stripslashes_deep', $_GET); |
$_POST = array_map('stripslashes_deep', $_POST); |
$_COOKIE = array_map('stripslashes_deep', $_COOKIE); |
} |
} |
} |
/** |
* Fonction récursive transcodant toutes les valeurs d'un tableau de leur encodage d'entrée vers un encodage de sortie donné |
* @param $tableau Array Un tableau de données à encoder |
* @param $encodage_sortie String l'encodage vers lequel on doit transcoder |
/branches/v0.2-buhl/doc/PhpDoc/files/Url.php.txt |
---|
1,23 → 1,18 |
<?php |
// declare(encoding='UTF-8'); |
/** |
* classe Url, gérant le découpage des paramètres, leurs modification etc... |
* Traduction et conversion d'une classe (NET_Url2) issue de Pear |
* |
* @category Php5 |
* @package Framework |
// Auteur principal |
* @author Christian Schmidt <schmidt@php.net> |
// Autre auteurs |
* @author Aurélien PERONNET <aurelien@tela-botanica.org> |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* @copyright 2009 Tela-Botanica |
* @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL |
* @license http://www.gnu.org/licenses/gpl.html Licence GNU-GPL |
* @version SVN: $Id: Url.php 171 2010-03-23 11:23:38Z jpm $ |
* @link /doc/framework/ |
* |
*/ |
* classe Url, gérant le découpage des paramètres, leurs modification etc... |
* Traduction et conversion d'une classe (NET_Url2) issue de Pear |
* |
* @category PHP 5.2 |
* @package Framework |
* @author Christian SCHMIDT<schmidt@php.net> |
* @author Aurélien PERONNET <aurelien@tela-botanica.org> |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* @copyright Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org) |
* @license GNU-GPL-v3 <http://www.gnu.org/licenses/gpl.html> |
* @license CECILL-v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt> |
*/ |
class Url |
{ |
/** |
453,7 → 448,7 |
unset($tableau[$nom]); |
$this->setVariablesRequete($tableau); |
} |
/** |
* @param array $noms tableau des noms de variable à supprimer de l'url. |
* |
/branches/v0.2-buhl/doc/PhpDoc/files/Application.php.txt |
---|
3,17 → 3,12 |
/** |
* Classe fournissant des informations au Framework sur l'application. |
* |
* PHP version 5 |
* |
* @category Debogage |
* @package Framework |
// Auteur principal : |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
// Autres auteurs : |
* @license GPL v3 <http://www.gnu.org/licenses/gpl.txt> |
* @license CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt> |
* @version $Id: Application.php 456 2014-02-06 11:07:43Z jpm $ |
* @copyright 1999-2009 Tela Botanica (accueil@tela-botanica.org) |
* @category PHP 5.2 |
* @package Framework |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* @copyright Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org) |
* @license GNU-GPL-v3 <http://www.gnu.org/licenses/gpl.html> |
* @license CECILL-v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt> |
*/ |
class Application { |
/branches/v0.2-buhl/doc/PhpDoc/files/I18n.php.html |
---|
New file |
0,0 → 1,264 |
<!DOCTYPE html> |
<html lang="en"> |
<head> |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/> |
<meta charset="utf-8"/> |
<title>TBFramework - v0.2</title> |
<meta name="author" content=""/> |
<meta name="description" content=""/> |
<link href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet"> |
<link href="https://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css" rel="stylesheet"> |
<link href="../css/prism.css" rel="stylesheet" media="all"/> |
<link href="../css/template.css" rel="stylesheet" media="all"/> |
<!--[if lt IE 9]> |
<script src="https://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script> |
<![endif]--> |
<script src="https://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script> |
<script src="https://code.jquery.com/ui/1.10.3/jquery-ui.min.js" type="text/javascript"></script> |
<script src="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script> |
<script src="../js/jquery.smooth-scroll.js"></script> |
<script src="../js/prism.min.js"></script> |
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit--> |
<script type="text/javascript"> |
function loadExternalCodeSnippets() { |
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) { |
var src = pre.getAttribute('data-src'); |
var extension = (src.match(/\.(\w+)$/) || [, ''])[1]; |
var language = 'php'; |
var code = document.createElement('code'); |
code.className = 'language-' + language; |
pre.textContent = ''; |
code.textContent = 'Loading…'; |
pre.appendChild(code); |
var xhr = new XMLHttpRequest(); |
xhr.open('GET', src, true); |
xhr.onreadystatechange = function () { |
if (xhr.readyState == 4) { |
if (xhr.status < 400 && xhr.responseText) { |
code.textContent = xhr.responseText; |
Prism.highlightElement(code); |
} |
else if (xhr.status >= 400) { |
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText; |
} |
else { |
code.textContent = '✖ Error: File does not exist or is empty'; |
} |
} |
}; |
xhr.send(null); |
}); |
} |
$(document).ready(function(){ |
loadExternalCodeSnippets(); |
}); |
$('#source-view').on('shown', function () { |
loadExternalCodeSnippets(); |
}) |
</script> |
<link rel="shortcut icon" href="../images/favicon.ico"/> |
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/> |
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/> |
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/> |
</head> |
<body> |
<div class="navbar navbar-fixed-top"> |
<div class="navbar-inner"> |
<div class="container"> |
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> |
<i class="icon-ellipsis-vertical"></i> |
</a> |
<a class="brand" href="../index.html">TBFramework - v0.2</a> |
<div class="nav-collapse"> |
<ul class="nav pull-right"> |
<li class="dropdown"> |
<a href="../index.html" class="dropdown-toggle" data-toggle="dropdown"> |
API Documentation <b class="caret"></b> |
</a> |
<ul class="dropdown-menu"> |
</ul> |
</li> |
<li class="dropdown" id="charts-menu"> |
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> |
Charts <b class="caret"></b> |
</a> |
<ul class="dropdown-menu"> |
<li> |
<a href="../graphs/class.html"> |
<i class="icon-list-alt"></i> Class hierarchy diagram |
</a> |
</li> |
</ul> |
</li> |
<li class="dropdown" id="reports-menu"> |
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> |
Reports <b class="caret"></b> |
</a> |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
</a> |
</li> |
</ul> |
</li> |
</ul> |
</div> |
</div> |
</div> |
<!--<div class="go_to_top">--> |
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>--> |
<!--</div>--> |
</div> |
<div id="___" class="container-fluid"> |
<section class="row-fluid"> |
<div class="span2 sidebar"> |
<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-591793363"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-591793363" class="accordion-body collapse in"> |
<div class="accordion-inner"> |
<ul> |
<li class="class"><a href="../classes/Url.html">Url</a></li> |
<li class="class"><a href="../classes/Debug.html">Debug</a></li> |
<li class="class"><a href="../classes/Chronometre.html">Chronometre</a></li> |
<li class="class"><a href="../classes/SquelettePhp.html">SquelettePhp</a></li> |
<li class="class"><a href="../classes/Controleur.html">Controleur</a></li> |
<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> |
</ul> |
</div> |
</div> |
</div> |
</div> |
</div> |
</section> |
<section class="row-fluid"> |
<div class="span10 offset2"> |
<div class="row-fluid"> |
<div class="span8 content file"> |
<nav> |
</nav> |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a> |
<h1><small></small>I18n.php</h1> |
<p><em></em></p> |
<h2>Classes</h2> |
<table class="table table-hover"> |
<tr> |
<td><a href="../classes/I18n.html">I18n</a></td> |
<td><em>I18n permet de traduire une application à partir de données stockées dans des fichiers ini.</em></td> |
</tr> |
</table> |
</div> |
<aside class="span4 detailsbar"> |
<dl> |
</dl> |
<h2>Tags</h2> |
<table class="table table-condensed"> |
<tr><td colspan="2"><em>None found</em></td></tr> |
</table> |
</aside> |
</div> |
</div> |
</section> |
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true"> |
<div class="modal-header"> |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> |
<h3 id="source-view-label"></h3> |
</div> |
<div class="modal-body"> |
<pre data-src="../files/I18n.php.txt" class="language-php line-numbers"></pre> |
</div> |
</div> |
<footer class="row-fluid"> |
<section class="span10 offset2"> |
<section class="row-fluid"> |
<section class="span10 offset1"> |
<section class="row-fluid footer-sections"> |
<section class="span4"> |
<h1><i class="icon-code"></i></h1> |
<div> |
<ul> |
</ul> |
</div> |
</section> |
<section class="span4"> |
<h1><i class="icon-bar-chart"></i></h1> |
<div> |
<ul> |
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li> |
</ul> |
</div> |
</section> |
<section class="span4"> |
<h1><i class="icon-pushpin"></i></h1> |
<div> |
<ul> |
<li><a href="../reports/errors.html">Errors</a></li> |
<li><a href="../reports/markers.html">Markers</a></li> |
</ul> |
</div> |
</section> |
</section> |
</section> |
</section> |
<section class="row-fluid"> |
<section class="span10 offset1"> |
<hr /> |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored |
on March 18th, 2014 at 19:19. |
</section> |
</section> |
</section> |
</footer> |
</div> |
</body> |
</html> |
/branches/v0.2-buhl/doc/PhpDoc/files/autoload.inc.php.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-700663673"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1979790633"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-700663673" class="accordion-body collapse in"> |
<div id="namespace-1979790633" 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> |
176,7 → 177,7 |
<h1><small></small>autoload.inc.php</h1> |
<p><em>Fichier contenant la fonction de chargement automatique de classes, il doit toujours rester à la racine |
du framework car il initialise le chemin de l'application en se basant sur son propre emplacement.</em></p> |
<p>PHP Version 5.1.2</p> |
194,7 → 195,7 |
category |
</th> |
<td> |
<p>Fichier_De_Fonctions</p> |
<p>PHP 5.2</p> |
</td> |
</tr> |
<tr> |
202,36 → 203,27 |
author |
</th> |
<td> |
<p>Aurelien PERONNET <a href="mailto:aurelien@tela-botanica.org">aurelien@tela-botanica.org</a> |
// Autres auteurs :</p> |
<p>Aurelien PERONNET <a href="mailto:aurelien@tela-botanica.org">aurelien@tela-botanica.org</a></p> |
<p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p> |
</td> |
</tr> |
<tr> |
<th> |
license |
copyright |
</th> |
<td> |
<p>GPL v3 <a href="http://www.gnu.org/licenses/gpl.txt">http://www.gnu.org/licenses/gpl.txt</a></p> |
<p>CECILL v2 <a href="http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt">http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt</a></p> |
<p>Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</p> |
</td> |
</tr> |
<tr> |
<th> |
version |
license |
</th> |
<td> |
<p>$$Id: autoload.inc.php 188 2010-04-29 12:09:17Z jpm $$</p> |
<p>GPL v3 <a href="http://www.gnu.org/licenses/gpl.txt">http://www.gnu.org/licenses/gpl.txt</a></p> |
<p>CECILL v2 <a href="http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt">http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt</a></p> |
</td> |
</tr> |
<tr> |
<th> |
copyright |
</th> |
<td> |
<p>1999-2009 Tela Botanica (accueil@tela-botanica.org)</p> |
</td> |
</tr> |
</table> |
</aside> |
442,7 → 434,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> |
/branches/v0.2-buhl/doc/PhpDoc/files/Modele.php.txt |
---|
1,23 → 1,18 |
<?php |
// declare(encoding='UTF-8'); |
/** |
* Classe modèle, donc d'accés au données, elle ne devrait pas être appelée de l'extérieur. |
* Elle fait office d'abstraction légère de base de données en utilisant diveres possibilités |
* d'abstraction de base de données (PDO, mysql, mysqli, sqlite) |
* Elle est abstraite donc doit obligatoirement être étendue. |
* |
* PHP Version 5 |
* |
* @category Class |
* @package Framework |
* @author aurelien <aurelien@tela-botanica.org> |
* @copyright 2009 Tela-Botanica |
* @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL |
* @license http://www.gnu.org/licenses/gpl.html Licence GNU-GPL |
* @version SVN: $$Id: Modele.php 426 2013-04-30 16:58:14Z jpm $$ |
* @link /doc/framework/ |
* |
*/ |
* Classe modèle, donc d'accés au données, elle ne devrait pas être appelée de l'extérieur. |
* Elle fait office d'abstraction légère de base de données en utilisant diveres possibilités |
* d'abstraction de base de données (PDO, mysql, mysqli, sqlite) |
* Elle est abstraite donc doit obligatoirement être étendue. |
* |
* @category PHP 5.2 |
* @package Framework |
* @author Aurélien PERONNET <aurelien@tela-botanica.org> |
* @copyright Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org) |
* @license GNU-GPL-v3 <http://www.gnu.org/licenses/gpl.html> |
* @license CECILL-v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt> |
*/ |
abstract class Modele { |
/** |
/branches/v0.2-buhl/doc/PhpDoc/files/Config.php.txt |
---|
5,15 → 5,12 |
* Elle offre l'accès en lecture seule aux paramètres de config. |
* C'est une Singleton. |
* |
* PHP Version 5 |
* |
* @category PHP |
* @package Framework |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* @copyright 2009 Tela-Botanica |
* @license GPL-v3 et CECILL-v2 |
* @version SVN: <svn_id> |
* @link /doc/framework/ |
* @category PHP 5.2 |
* @package Framework |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* @copyright Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org) |
* @license GNU-GPL-v3 <http://www.gnu.org/licenses/gpl.html> |
* @license CECILL-v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt> |
*/ |
class Config { |
93,7 → 90,7 |
* @param string $fichier_ini nom du fichier ini à parser |
* @return array tableau contenant les paramètres du fichier ini |
*/ |
private static function parserFichierIni($fichier_ini) { |
public static function parserFichierIni($fichier_ini) { |
$retour = false; |
if (file_exists($fichier_ini)) { |
$ini = parse_ini_file($fichier_ini, true); |
/branches/v0.2-buhl/doc/PhpDoc/files/GestionnaireException.php.txt |
---|
5,20 → 5,17 |
* C'est un Singleton. |
* |
* @category PHP 5.2 |
* @package Framework |
* @package Framework |
* @author Aurélien PERONNET <aurelien@tela-botanica.org> |
* @author Jean-Pascal MILCENT <jmp@tela-botanica.org> |
* @copyright Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org) |
* @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL |
* @license http://www.gnu.org/licenses/gpl.html Licence GNU-GPL |
* @version $Id: GestionnaireException.php 342 2011-06-06 13:58:53Z jpm $$ |
* @link /doc/framework/ |
* |
* @license GNU-GPL-v3 <http://www.gnu.org/licenses/gpl.html> |
* @license CECILL-v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt> |
*/ |
class GestionnaireException { |
const MODE_CLI = 'cli'; |
/** Liste des exceptions enregistrées */ |
private static $exceptions = array(); |
40,12 → 37,12 |
// Désactivation des balises HTML dans les messages d'erreur de PHP en mode ligne de commande |
if (self::$mode == self::MODE_CLI) { |
ini_set('html_errors', 0); |
} |
} |
set_exception_handler(array(get_class(),'gererException')); |
set_error_handler(array(get_class(),'gererErreur')); |
} |
/** Configure le Gestionnaire d'exceptions et d'erreur à partir des paramêtres de config. */ |
public static function configurer() { |
self::$contexte = Config::get('fw_debogage_contexte'); |
52,21 → 49,8 |
self::$logger = Config::get('fw_log_debogage'); |
self::$afficher = Config::get('fw_debogage'); |
} |
/** |
* Renvoie le nombre d'exceptions et d'erreurs levées. |
* @see getExceptions() pour obtenir les exceptions formatées. |
* @since 0.3 |
* @return int le nombre d'exception actuellement levées |
*/ |
public static function getExceptionsNbre() { |
return count(self::$exceptions); |
} |
/** |
* Renvoie le booleen définissant si l'on affiche le contexte ou non |
* @return bool true si on affiche le contexte sinon false. |
*/ |
/** Renvoie le booleen définissant si l'on affiche le contexte ou non */ |
public static function getContexte() { |
return self::$contexte; |
} |
80,16 → 64,14 |
} |
/** |
* Fonction de gestion des exceptions, remplace le handler par défaut. |
* Si une boucle génère de multiple exception (ou erreur) identique une seule sera stockée. |
* Fonction de gestion des exceptions, remplace le handler par défaut |
* @param Exception $e l'exception à traiter |
*/ |
public static function gererException(Exception $e) { |
$cle = hash('md5', $e->getMessage().'-'.$e->getFile().'-'.$e->getLine()); |
if (!isset(self::$exceptions[$cle])) { |
self::$exceptions[$cle] = $e; |
self::loggerException($e); |
} |
// pour le moment on se contente de l'ajouter au tableau et de les afficher |
self::$exceptions[] = $e; |
// Log si nécéssaire |
self::loggerException($e); |
} |
/** |
104,123 → 86,70 |
// Si un rapport d'erreur existe, création d'une exception |
if (error_reporting() != 0) { |
$e = new ErrorException($message, 0, $niveau, $fichier, $ligne); |
self::gererException($e); |
// que l'on donne au tableau d'exceptions |
self::$exceptions[] = $e; |
// Log si nécéssaire |
self::loggerException($e); |
} |
return null; |
} |
/** |
* Renvoie les exceptions au format (X)HTML ou bien au format texte suivant le mode d'utilisation de PHP. |
* @since 0.3 |
* @deprecated |
* @see getExceptionsFormatees() |
* @return string les exceptions formatées en texte ou (X)HTML. |
* Renvoie les exceptions au format (X)HTML |
* ou bien au format texte suivant le mode d'utilisation de PHP |
*/ |
public static function getExceptions() { |
return self::getExceptionsFormatees(); |
} |
/** |
* Renvoie les exceptions au format (X)HTML ou bien au format texte suivant le mode d'utilisation de PHP. |
* @since 0.3 |
* @return string les exceptions formatées en texte ou (X)HTML. |
*/ |
public static function getExceptionsFormatees() { |
$retour = ''; |
if (self::getExceptionsNbre() > 0) { |
foreach (self::$exceptions as $cle => $e) { |
switch (self::$mode) { |
case self::MODE_CLI : |
$retour .= self::formaterExceptionTxt($e); |
break; |
default: |
$retour .= self::formaterExceptionXhtml($e); |
} |
// Nous vidons le tableau des exceptions au fur et à mesure pour éviter le réaffichage avec le destructeur. |
unset(self::$exceptions[$cle]); |
foreach (self::$exceptions as $cle => $e) { |
switch (self::$mode) { |
case self::MODE_CLI : |
$retour .= $e->getMessage()."\n"; |
$retour .= 'Fichier : '.$e->getFile()."\n"; |
$retour .= 'Ligne : '.$e->getLine()."\n"; |
if (self::getContexte()) { |
$retour .= 'Contexte : '."\n".print_r($e->getTraceAsString(), true)."\n"; |
} |
break; |
default: |
$retour .= '<div class="debogage">'."\n"; |
$retour .= $e->getMessage()."\n"; |
$retour .= '<span class="debogage_fichier">'.'Fichier : '.$e->getFile().'</span>'."\n"; |
$retour .= '<span class="debogage_ligne">'.'Ligne : '.$e->getLine().'</span>'."\n"; |
if (self::getContexte()) { |
$retour .= '<pre>'."\n"; |
$retour .= '<strong>Contexte : </strong>'."\n".print_r($e->getTraceAsString(), true)."\n"; |
$retour .= '</pre>'."\n"; |
} |
$retour .= '</div>'."\n"; |
} |
// Nous vidons le tableau des exceptions au fur et à mesure |
unset(self::$exceptions[$cle]); |
} |
return $retour; |
} |
/** |
* Renvoie le tableau d'objets Exception générées par le script PHP triées du niveau de sévérité le plus élevé au moins élevé. |
* Format du tableau : |
* array{sévérité_1 = array{Exception1, Exception2, Exception3,...}, sévérité_1 = array{Exception1, Exception2, ...}, ...}; |
* ATTENTION : si vous utilisez cette méthode, c'est à vous de gérer l'affichage des Exceptions. Le gestionnaire d'exception |
* n'enverra plus rien au navigateur ou à la console. |
* @since 0.3 |
* @return array le tableau trié d'objet Exception. |
*/ |
public static function getExceptionsTriees() { |
$retour = array(); |
if (self::getExceptionsNbre() > 0) { |
foreach (self::$exceptions as $cle => $e) { |
$retour[$e->getSeverity()][] = $e; |
// Nous vidons le tableau des exceptions au fur et à mesure pour éviter le réaffichage avec le destructeur. |
unset(self::$exceptions[$cle]); |
} |
ksort($retour); |
} |
return $retour; |
} |
/** |
* Logue une exception donnée sous une forme lisible si self::logger vaut true. |
* @param Exception $e l'exception à logger |
*/ |
private static function loggerException(Exception $e) { |
private static function loggerException($e) { |
if (self::$logger) { |
$message = self::formaterExceptionTxt($e); |
Log::ajouterEntree('erreurs', $message); |
$erreur = ''; |
$erreur .= $e->getMessage()."\n"; |
$erreur .= 'Fichier : '.$e->getFile()."\n"; |
$erreur .= 'Ligne : '.$e->getLine()."\n"; |
if (self::getContexte()) { |
$erreur .= 'Contexte : '."\n".print_r($e->getTraceAsString(), true)."\n"; |
} |
$erreur .= "\n"; |
Log::ajouterEntree('erreurs', $erreur); |
} |
} |
/** |
* Formate en texte une exception passée en paramètre. |
* @since 0.3 |
* @param Exception l'exception à formater. |
*/ |
public static function formaterExceptionTxt(Exception $e) { |
$message = ''; |
$message .= $e->getMessage()."\n"; |
$message .= 'Fichier : '.$e->getFile()."\n"; |
$message .= 'Ligne : '.$e->getLine()."\n"; |
if (self::getContexte()) { |
$message .= 'Contexte : '."\n".print_r($e->getTraceAsString(), true)."\n"; |
} |
$message .= "\n"; |
return $message; |
} |
/** |
* Formate en (X)HTML une exception passée en paramètre. |
* @since 0.3 |
* @param Exception l'exception à formater. |
*/ |
public static function formaterExceptionXhtml(Exception $e) { |
$message = ''; |
$message .= '<div class="debogage">'."\n"; |
$message .= $e->getMessage()."\n"; |
$message .= '<span class="debogage_fichier">'.'Fichier : '.$e->getFile().'</span>'."\n"; |
$message .= '<span class="debogage_ligne">'.'Ligne : '.$e->getLine().'</span>'."\n"; |
if (self::getContexte()) { |
$message .= '<pre>'."\n"; |
$message .= '<strong>Contexte : </strong>'."\n".print_r($e->getTraceAsString(), true)."\n"; |
$message .= '</pre>'."\n"; |
} |
$message .= '</div>'."\n"; |
return $message; |
} |
/** |
* Lors de la destruction de la classe si des exceptions n'ont pas été affichées, et si le débogage est à true, elles sont |
* affichées. |
*/ |
public function __destruct() { |
// Si des erreurs n'ont pas été affichée nous forçons leur affichage |
if (self::$afficher && self::getExceptionsNbre() > 0) { |
echo self::getExceptionsFormatees(); |
if (self::$afficher && count(self::$exceptions) > 0) { |
echo self::getExceptions(); |
} |
} |
/branches/v0.2-buhl/doc/PhpDoc/files/Log.php.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-1245416206"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2101350971"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-1245416206" class="accordion-body collapse in"> |
<div id="namespace-2101350971" 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> |
252,7 → 253,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> |
/branches/v0.2-buhl/doc/PhpDoc/files/SquelettePhp.php.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-353027973"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-245145037"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-353027973" class="accordion-body collapse in"> |
<div id="namespace-245145037" 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> |
252,7 → 253,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> |
/branches/v0.2-buhl/doc/PhpDoc/files/Registre.php.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-1548000857"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1451477007"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-1548000857" class="accordion-body collapse in"> |
<div id="namespace-1451477007" 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> |
252,7 → 253,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> |
/branches/v0.2-buhl/doc/PhpDoc/files/Chronometre.php.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-64918610"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-972677940"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-64918610" class="accordion-body collapse in"> |
<div id="namespace-972677940" 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> |
183,8 → 184,7 |
<table class="table table-hover"> |
<tr> |
<td><a href="../classes/Chronometre.html">Chronometre</a></td> |
<td><em>Classe Chronometre() - Permet de stocker et d'afficher |
les temps d'éxécution de script.</em></td> |
<td><em>Classe Chronometre() - Permet de stocker et d'afficher les temps d'éxécution de script.</em></td> |
</tr> |
</table> |
</div> |
253,7 → 253,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> |
/branches/v0.2-buhl/doc/PhpDoc/files/Debug.php.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-1736475191"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1664890481"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-1736475191" class="accordion-body collapse in"> |
<div id="namespace-1664890481" 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> |
252,7 → 253,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> |
/branches/v0.2-buhl/doc/PhpDoc/files/I18n.php.txt |
---|
New file |
0,0 → 1,248 |
<?php |
// declare(encoding='UTF-8'); |
/** |
* I18n permet de traduire une application à partir de données stockées dans des fichiers ini. |
* Si vous souhaitez utiliser le fonctionnement par défaut vous devrez : |
* - déposer les fichiers ini dans le dossier définit par la variable de config "chemin_i18n". |
* - nommer les fichiers selon la forme "locale.ini" (Ex.: fr.ini ou fr_CH.ini ). |
* |
* Elle offre l'accès en lecture seule aux paramètres de des fichiers ini. |
* C'est une Singleton. Une seule classe de traduction peut être instanciée par Application. |
* |
* @category PHP 5.2 |
* @package Framework |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* @copyright Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org) |
* @license GNU-GPL-v3 <http://www.gnu.org/licenses/gpl.html> |
* @license CECILL-v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt> |
*/ |
class I18n { |
/** Format de traduction utilisant les fichier .ini */ |
const FORMAT_INI = '.ini'; |
/** Instance de la classe pointant sur elle même (pour le pattern singleton) */ |
private static $instance = null; |
/** Fichiers de traduction disponibles. */ |
private static $traductions = array(); |
/** Langue courrante utilisée par l'application. */ |
private static $langue = null; |
private function __construct() { |
self::verifierParametresConfig(); |
self::trouverLangue(); |
} |
/** |
* Accesseur pour la valeur d'une traduction |
* @param string $param le nom du paramètre |
* @return string la valeur du paramètre |
*/ |
public static function get($identifiant, $langue = null) { |
self::verifierCreationInstance(); |
$texte = ''; |
// Récupération de la langue actuellement demandée |
$langue_a_charger = self::$langue; |
if (!is_null($langue)) { |
$langue_a_charger = $langue; |
} |
if (!isset(self::$traductions[$langue_a_charger])) { |
// Tentative de chargement du fichier de traduction |
$chargement = self::charger($langue_a_charger); |
if ($chargement === false) { |
$m = "Le fichier d'i18n pour la langue '$langue_a_charger' demandée n'a pas été trouvé."; |
self::ajouterErreur($m); |
} |
} |
// Recherche de la langue dans le tableau des traductions |
if (isset(self::$traductions[$langue_a_charger]) && self::$traductions[$langue_a_charger] !== false) { |
// Recherche de la traduction demandée |
$valeur = self::getValeur($identifiant, self::$traductions[$langue_a_charger]); |
if ($valeur !== false) { |
$texte = $valeur; |
} else { |
$m = "Le traduction n'existe pas pour l'identifiant '$identifiant' demandé."; |
self::ajouterErreur($m); |
} |
} |
return $texte; |
} |
/** |
* Charge un fichier ini dans le tableau des paramètres de l'appli |
* @param string $fichier_ini le nom du fichier à charger |
* @return boolean true, si le fichier a été trouvé et correctement chargé, sinon false. |
*/ |
public static function charger($langue, $fichier = null, $format = self::FORMAT_INI) { |
self::verifierCreationInstance(); |
$ok = false; |
// Création du chemin vers le fichier de traduction par défaut |
if (is_null($fichier)) { |
$fichier = Config::get('chemin_i18n').$langue.$format; |
} |
// Chargement |
if ($format == self::FORMAT_INI) { |
$ok = self::chargerFichierIni($fichier, $langue); |
} else { |
$m = "Le format '$format' de fichier de traduction n'est pas pris en compte par le Framework."; |
self::ajouterErreur($m); |
} |
return $ok; |
} |
/** |
* Définit la langue utiliser pour rechercher une traduction. |
* @param string $fichier_ini le nom du fichier à charger |
* @return array le fichier ini parsé |
*/ |
public static function setLangue($langue) { |
self::verifierCreationInstance(); |
self::$langue = $langue; |
} |
/** |
* Renvoie la valeur demandé grâce une chaine de paramètres |
* @param string $param la chaine identifiante |
* @param array $i18n le tableau de traductions |
* @return mixed la valeur correspondante à la chaine identifiante si elle est trouvée, sinon false. |
*/ |
private static function getValeur($param, $i18n) { |
if ($param === null) { |
return false; |
} else { |
if (isset($i18n[$param])) { |
return $i18n[$param]; |
} else if (strpos($param, '.') !== false) { |
$pieces = explode('.', $param, 2); |
if (strlen($pieces[0]) && strlen($pieces[1])) { |
if (isset($i18n[$pieces[0]])) { |
if (is_array($i18n[$pieces[0]])) { |
return self::getValeur($pieces[1], $i18n[$pieces[0]]); |
} |
} |
} |
} else { |
return false; |
} |
} |
} |
/** |
* Parse le fichier ini donné en paramètre |
* @param string $fichier_ini nom du fichier ini à parser |
* @param string $langue la langue correspondant au fichier |
* @return boolean true si le chargement c'est bien passé, sinon false. |
*/ |
private static function chargerFichierIni($fichier_ini, $langue) { |
self::$traductions[$langue] = false; |
if (file_exists($fichier_ini)) { |
$ini = parse_ini_file($fichier_ini, true); |
Debug::printr($ini, 'Avant :'); |
$ini = self::analyserTableauIni($ini); |
Debug::printr($ini, 'Aprés :'); |
self::$traductions[$langue] = $ini; |
} |
return (self::$traductions[$langue] === false) ? false : true; |
} |
/** |
* Analyse un tableau de traductions pour évaluer les clés. |
* @param array $i18n le tableau de traductions |
* @return array le tableau analysé et modifié si nécessaire. |
*/ |
private static function analyserTableauIni($i18n = array()) { |
//ATTENTION : il est important de passer la valeur par référence car nous la modifions dynamiquement dans la boucle |
foreach ($i18n as $cle => &$valeur) { |
if (is_array($valeur)) { |
$i18n[$cle] = self::analyserTableauIni($valeur); |
} else { |
$i18n = self::evaluerCle($i18n, $cle, $valeur); |
} |
} |
return $i18n; |
} |
/** |
* Dans le cas des chaines de traduction à sous clé (ex.: cle.souscle), cette méthode |
* évalue les valeurs correspondantes et créée les sous tableaux associés. |
* @param array $i18n tableau de traductions (par référence) |
* @param string $cle la cle dans le tableau |
* @param string $valeur la valeur à affecter |
*/ |
private static function evaluerCle($i18n, $cle, $valeur) { |
if (strpos($cle, '.') !== false) { |
unset($i18n[$cle]); |
$pieces = explode('.', $cle, 2); |
if (strlen($pieces[0]) && strlen($pieces[1])) { |
if (isset($i18n[$pieces[0]]) && !is_array($i18n[$pieces[0]])) { |
$m = "Ne peut pas créer de sous-clé pour '{$pieces[0]}' car la clé existe déjà"; |
trigger_error($m, E_USER_WARNING); |
} else { |
$i18n[$pieces[0]][$pieces[1]] = $valeur; |
$i18n[$pieces[0]] = self::evaluerCle($i18n[$pieces[0]], $pieces[1], $valeur); |
} |
} else { |
$m = "Clé invalide '$cle'"; |
trigger_error($m, E_USER_WARNING); |
} |
} else { |
$i18n[$cle] = $valeur; |
} |
return $i18n; |
} |
/** |
* Cherche l'information sur la langue demandée par l'application |
*/ |
private static function trouverLangue() { |
if (isset($_GET[Config::get('i18n_url_parametre')])) { |
self::$langue = $_GET[Config::get('i18n_url_parametre')]; |
} else { |
self::$langue = Config::get('i18n_langue_defaut'); |
} |
} |
/** |
* Vérifie si l'instance de classe à été crée, si non la crée |
*/ |
private static function verifierCreationInstance() { |
if (empty(self::$instance)) { |
self::$instance = new I18n(); |
} |
} |
/** |
* Vérifie que tous les paramêtres de config nécessaires au fonctionnement de cette classe existe dans les fichiers |
* de configurations. |
*/ |
private static function verifierParametresConfig() { |
$ok = true; |
$parametres = array('chemin_i18n', 'i18n_url_parametre', 'i18n_langue_defaut'); |
foreach ($parametres as $param) { |
if (is_null(Config::get($param))) { |
$m = "L'utilisation de la classe I18n nécessite de définir '$param' dans un fichier de configuration."; |
self::ajouterErreur($m); |
$ok = false; |
} |
} |
return $ok; |
} |
/** |
* Ajouter une message d'erreur |
*/ |
private static function ajouterErreur($m, $e = E_USER_WARNING) { |
if (Config::get('fw_debogage') === true) { |
trigger_error($m, $e); |
} |
} |
} |
Property changes: |
Added: svn:eol-style |
+native |
\ No newline at end of property |
/branches/v0.2-buhl/doc/PhpDoc/files/autoload.inc.php.txt |
---|
4,18 → 4,13 |
* Fichier contenant la fonction de chargement automatique de classes, il doit toujours rester à la racine |
* du framework car il initialise le chemin de l'application en se basant sur son propre emplacement. |
* |
* PHP Version 5.1.2 |
* |
* @category Fichier_De_Fonctions |
* @package Framework |
// Auteur principal : |
* @category PHP 5.2 |
* @package Framework |
* @author Aurelien PERONNET <aurelien@tela-botanica.org> |
// Autres auteurs : |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* @copyright Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org) |
* @license GPL v3 <http://www.gnu.org/licenses/gpl.txt> |
* @license CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt> |
* @version $$Id: autoload.inc.php 188 2010-04-29 12:09:17Z jpm $$ |
* @copyright 1999-2009 Tela Botanica (accueil@tela-botanica.org) |
*/ |
// Redéfinition de la constante DIRECTORY_SEPARATOR |
/branches/v0.2-buhl/doc/PhpDoc/files/Controleur.php.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-86748986"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-451161788"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-86748986" class="accordion-body collapse in"> |
<div id="namespace-451161788" 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> |
203,8 → 204,56 |
</div> |
<div class="row-fluid"> |
<section class="span8 content file"> |
<h2>Functions</h2> |
</section> |
<aside class="span4 detailsbar"></aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_stripslashes_deep" name="method_stripslashes_deep" class="anchor"></a> |
<article class="method"> |
<h3 class=" ">stripslashes_deep()</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;">stripslashes_deep( <span class="argument">$value</span>)</pre> |
<p><em></em></p> |
<h4>Parameters</h4> |
<table class="table table-condensed table-hover"> |
<tr> |
<td></td> |
<td>$value</td> |
<td></td> |
</tr> |
</table> |
</article> |
</div> |
<aside class="span4 detailsbar"> |
<h1><i class="icon-arrow-down"></i></h1> |
<dl> |
<dt>File</dt> |
<dd><a href=""><div class="path-wrapper">Controleur.php</div></a></dd> |
</dl> |
<h2>Tags</h2> |
<table class="table table-condensed"> |
<tr> |
<th> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
</div> |
</section> |
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true"> |
253,7 → 302,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> |
/branches/v0.2-buhl/doc/PhpDoc/files/Log.php.txt |
---|
5,11 → 5,10 |
* |
* @category PHP 5.2 |
* @package Framework |
* @author aurelien <aurelien@tela-botanica.org> |
* @copyright 2009 Tela-Botanica |
* @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL |
* @version SVN: $Id: Log.php 255 2010-12-23 10:37:30Z jpm $ |
* @link /doc/framework/ |
* @author Aurélien PERONNET <aurelien@tela-botanica.org> |
* @copyright Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org) |
* @license GNU-GPL-v3 <http://www.gnu.org/licenses/gpl.html> |
* @license CECILL-v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt> |
*/ |
class Log { |
67,7 → 66,7 |
self::desactiverEcriture(); |
} |
} |
/** |
* Configure le Log à partir des paramêtres de config. |
*/ |
111,7 → 110,7 |
/** |
* Vérifie la présence d'un fichier dans le tableau, ses droits d'écriture, l'ouvre si nécessaire. |
* |
* |
* @param string $nomFichier le nom du fichier dont on doit vérifier la présence |
* @return boolean true si le fichier est ouvert ou maintenant accessible, false sinon |
*/ |
/branches/v0.2-buhl/doc/PhpDoc/files/SquelettePhp.php.txt |
---|
4,17 → 4,15 |
* Classe SquelettePhp, traitant les squelette Php utilisant la syntaxe courte php ou pas. |
* Ces méthodes sont statiques. |
* |
* @category php5 |
* @category PHP 5.2 |
* @package Framework |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* @copyright 2010 Tela-Botanica |
* @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL |
* @license http://www.gnu.org/licenses/gpl.html Licence GNU-GPL |
* @version SVN: $$Id: SquelettePhp.php 153 2010-03-04 10:48:32Z jpm $$ |
* @link /doc/framework/ |
* @copyright Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org) |
* @license GNU-GPL-v3 <http://www.gnu.org/licenses/gpl.html> |
* @license CECILL-v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt> |
*/ |
class SquelettePhp { |
/** |
* Fonction prenant en paramètre un chemin de fichier squelette et un tableau associatif de données, |
* en extrait les variables, charge le squelette et retourne le résultat des deux combinés. |
54,7 → 52,7 |
// Retourne le contenu |
return $sortie; |
} |
/** |
* Fonction chargeant le contenu du squelette et remplaçant les tags court php (<?= ...) par un tag long avec echo. |
* |
/branches/v0.2-buhl/doc/PhpDoc/files/Registre.php.txt |
---|
4,17 → 4,12 |
* Classe registre, qui permet un accès à différentes variables à travers les autres classes. |
* C'est un singleton |
* |
* PHP Version 5 |
* |
* @category Class |
* @package Framework |
* @author Jean-Pascal Milcent <jmp@tela-botanica.org> |
* @copyright 2009 Tela-Botanica |
* @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL |
* @license http://www.gnu.org/licenses/gpl.html Licence GNU-GPL |
* @version SVN: $$Id: Registre.php 120 2009-09-01 12:21:14Z aurelien $$ |
* @link /doc/framework/ |
* |
* @category PHP 5.2 |
* @package Framework |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* @copyright Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org) |
* @license GNU-GPL-v3 <http://www.gnu.org/licenses/gpl.html> |
* @license CECILL-v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt> |
*/ |
class Registre { |
/branches/v0.2-buhl/doc/PhpDoc/files/Chronometre.php.txt |
---|
1,32 → 1,25 |
<?php |
// declare(encoding='UTF-8'); |
/** Classe Chronometre() - Permet de stocker et d'afficher |
* les temps d'éxécution de script. |
/** Classe Chronometre() - Permet de stocker et d'afficher les temps d'éxécution de script. |
* |
* 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. |
* 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. |
* |
* |
* PHP Version 5 |
* |
* @category PHP |
* @package Framework |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* @copyright 2009 Tela-Botanica |
* @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL |
* @version Release: <package_version> |
* @link /doc/framework/ |
* @category PHP 5.2 |
* @package Framework |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* @copyright Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org) |
* @license GNU-GPL-v3 <http://www.gnu.org/licenses/gpl.html> |
* @license CECILL-v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt> |
*/ |
class Chronometre { |
/*** Attributs : ***/ |
private $_temps = array(); |
private static $instance = null; |
private static $temps = array(); |
/** Constructeur : **/ |
public function __construct() { |
$this->setTemps(array('depart' => microtime())); |
private function __construct() { |
self::setTemps('depart', microtime()); |
} |
/** Accesseurs : |
35,12 → 28,12 |
* |
* @return int le temps écoulé |
*/ |
public function getTemps($cle = null) { |
private static function getTemps($cle = null) { |
$temps = ''; |
if (!is_null($cle)) { |
$temps = $this->_temps[$cle]; |
$temps = self::$temps[$cle]; |
} else { |
$temps = $this->_temps; |
$temps = self::$temps; |
} |
return $temps; |
} |
51,39 → 44,46 |
* |
* @return null |
*/ |
public function setTemps($moment = array ()) { |
array_push($this->_temps, $moment); |
private static function setTemps($cle, $moment) { |
array_push(self::$temps, array($cle => $moment)); |
} |
/*** Méthodes : ***/ |
/** Méthode afficherChrono() - |
/** |
* Effectue un chronometrage. |
* |
* @param string le nom du point de chronométrage |
* @return null |
*/ |
public static function chrono($cle) { |
$moment = microtime(); |
self::verifierCreationInstance(); |
self::setTemps($cle, $moment); |
} |
/** |
* Permet d'afficher les temps d'éxécution de différentes parties d'un script. |
* |
* 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. |
* 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_ |
* |
* @author Loic d'Anterroches |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* |
* @param int $indentation_origine l'indentation de base. |
* @param int $indentation le pas d'indentation. |
* @return string la chaine XHTML de mesure des temps. |
*/ |
public function afficherChrono($indentation_origine = 8, $indentation = 4) { |
public static function afficherChrono($indentation_origine = 8, $indentation = 4) { |
self::verifierCreationInstance(); |
// Création du chrono de fin |
$GLOBALS['_SCRIPT_']['chrono']->setTemps(array ( |
'fin' => microtime() |
)); |
self::setTemps('fin', microtime()); |
// Début création de l'affichage |
$sortie = str_repeat(' ', $indentation_origine) . |
105,13 → 105,13 |
$total_tps_ecoule = 0; |
// Récupération de la premiére mesure |
$tab_depart = & $this->getTemps(0); |
$tab_depart = self::getTemps(0); |
list ($usec, $sec) = explode(' ', $tab_depart['depart']); |
// Ce temps correspond à tps_fin |
$tps_debut = ((float) $usec + (float) $sec); |
foreach ($this->getTemps() as $tab_temps) { |
foreach (self::getTemps() as $tab_temps) { |
foreach ($tab_temps as $cle => $valeur) { |
list ($usec, $sec) = explode(' ', $valeur); |
$tps_fin = ((float) $usec + (float) $sec); |
148,5 → 148,14 |
return $sortie; |
} |
/** |
* Vérifie si l'instance de classe à été crée, si non la crée |
*/ |
private static function verifierCreationInstance() { |
if (empty(self::$instance)) { |
self::$instance = new Chronometre(); |
} |
} |
} |
?> |
/branches/v0.2-buhl/doc/PhpDoc/files/Debug.php.txt |
---|
5,20 → 5,18 |
* 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. |
* |
* PHP version 5 |
* |
* @category Debogage |
* @package Framework |
// Auteur principal : |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
// Autres auteurs : |
* @license GPL v3 <http://www.gnu.org/licenses/gpl.txt> |
* @license CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt> |
* @version $$Id: Debug.php 167 2010-03-19 17:12:08Z jpm $$ |
* @copyright 1999-2009 Tela Botanica (accueil@tela-botanica.org) |
* @category PHP 5.2 |
* @package Framework |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* @copyright Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org) |
* @license GNU-GPL-v3 <http://www.gnu.org/licenses/gpl.html> |
* @license CECILL-v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt> |
*/ |
class Debug { |
const MODE_ECHO = 'echo'; |
const MODE_NOTICE = 'e_user_notice'; |
/** |
* mode de php (cli ou sapi) |
*/ |
42,7 → 40,7 |
* @param boolean $echo si true on affiche le résultat, si false on ne renvoie que la chaine sans l'afficher |
* @return string la chaine à afficher representant le dump ou null si echo |
*/ |
public static function dump($variable, $mot_cle = null, $echo = true) { |
public static function dump($variable, $mot_cle = null, $echo = false) { |
// var_dump de la variable dans un buffer et récupération de la sortie |
ob_start(); |
var_dump($variable); |
56,13 → 54,13 |
} |
/** |
* Equivalent de print_r |
* Equivalent de print_r. |
* @param mixed $variable la variable à afficher |
* @param string $mot_cle le mot cle à associer |
* @param boolean $echo faire un echo ou non |
* @return string la chaine contenant la variable printée ou null si echo |
*/ |
public static function printr($variable, $mot_cle = null, $echo = true) { |
public static function printr($variable, $mot_cle = null, $echo = false) { |
// Récupération de la sortie |
$sortie = print_r($variable, true); |
85,10 → 83,14 |
$sortie = self::traiterSortieSuivantMode($mot_cle, $sortie); |
// Affichage et/ou retour |
self::verifierParametresConfig(); |
if (Config::get('fw_debogage') == true) { |
if ($echo) { |
if ($echo === true || Config::get('fw_debogage_mode') == self::MODE_ECHO) { |
echo $sortie; |
return null; |
} else if (Config::get('fw_debogage_mode') == self::MODE_NOTICE) { |
trigger_error($sortie, E_USER_NOTICE); |
return null; |
} else { |
return $sortie; |
} |
119,5 → 121,23 |
} |
return $sortie; |
} |
/** |
* Vérifie que tous les paramêtres de config nécessaires au fonctionnement de cette classe existe dans les fichiers |
* de configurations. |
*/ |
private static function verifierParametresConfig() { |
$ok = true; |
$parametres = array('fw_debogage', 'fw_debogage_mode'); |
foreach ($parametres as $param) { |
if (is_null(Config::get($param))) { |
$classe = get_class(); |
$m = "L'utilisation de la classe $classe nécessite de définir '$param' dans un fichier de configuration."; |
trigger_error($m, E_USER_WARNING); |
$ok = false; |
} |
} |
return $ok; |
} |
} |
?> |
/branches/v0.2-buhl/doc/PhpDoc/files/Url.php.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-1374440870"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2010076840"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-1374440870" class="accordion-body collapse in"> |
<div id="namespace-2010076840" 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> |
252,7 → 253,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> |
/branches/v0.2-buhl/doc/PhpDoc/files/Application.php.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-282241088"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1889817542"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-282241088" class="accordion-body collapse in"> |
<div id="namespace-1889817542" 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> |
252,7 → 253,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> |
/branches/v0.2-buhl/doc/PhpDoc/files/Config.php.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-136517501"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-597024655"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-136517501" class="accordion-body collapse in"> |
<div id="namespace-597024655" 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> |
252,7 → 253,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> |
/branches/v0.2-buhl/doc/PhpDoc/files/Modele.php.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-44830500"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-364808530"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-44830500" class="accordion-body collapse in"> |
<div id="namespace-364808530" 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> |
252,7 → 253,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> |
/branches/v0.2-buhl/doc/PhpDoc/files/GestionnaireException.php.html |
---|
113,12 → 113,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> 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-1175767752"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-137626116"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-1175767752" class="accordion-body collapse in"> |
<div id="namespace-137626116" 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> |
252,7 → 253,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> |
/branches/v0.2-buhl/doc/PhpDoc/phpdoc-cache-ee/phpdoc-cache-file_e965cec598c00a2d5d5168fd61752edc.dat |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v0.2-buhl/doc/PhpDoc/index.html |
---|
65,12 → 65,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
</a> |
</li> |
</ul> |
90,10 → 90,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-1726218716"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-920245312"></a> |
<a href="namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-1726218716" class="accordion-body collapse in"> |
<div id="namespace-920245312" class="accordion-body collapse in"> |
<div class="accordion-inner"> |
106,6 → 106,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> |
141,8 → 142,7 |
</tr> |
<tr> |
<td><a href="classes/Chronometre.html">Chronometre</a></td> |
<td><em>Classe Chronometre() - Permet de stocker et d'afficher |
les temps d'éxécution de script.</em></td> |
<td><em>Classe Chronometre() - Permet de stocker et d'afficher les temps d'éxécution de script.</em></td> |
</tr> |
<tr> |
<td><a href="classes/SquelettePhp.html">SquelettePhp</a></td> |
166,6 → 166,10 |
<td><em>Classe registre, qui permet un accès à différentes variables à travers les autres classes.</em></td> |
</tr> |
<tr> |
<td><a href="classes/I18n.html">I18n</a></td> |
<td><em>I18n permet de traduire une application à partir de données stockées dans des fichiers ini.</em></td> |
</tr> |
<tr> |
<td><a href="classes/Config.html">Config</a></td> |
<td><em>Config permet de charger automatiquement les fichiers ini du Framework et de l'application.</em></td> |
</tr> |
345,6 → 349,47 |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_stripslashes_deep" name="method_stripslashes_deep" class="anchor"></a> |
<article class="method"> |
<h3 class=" ">stripslashes_deep()</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;">stripslashes_deep( <span class="argument">$value</span>)</pre> |
<p><em></em></p> |
<h4>Parameters</h4> |
<table class="table table-condensed table-hover"> |
<tr> |
<td></td> |
<td>$value</td> |
<td></td> |
</tr> |
</table> |
</article> |
</div> |
<aside class="span4 detailsbar"> |
<h1><i class="icon-arrow-down"></i></h1> |
<dl> |
<dt>File</dt> |
<dd><a href=""><div class="path-wrapper"></div></a></dd> |
</dl> |
<h2>Tags</h2> |
<table class="table table-condensed"> |
<tr> |
<th> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
</div> |
</section> |
385,7 → 430,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> |
/branches/v0.2-buhl/doc/PhpDoc/phpdoc-cache-a0/phpdoc-cache-file_fc563432a226bf5a590f5de8884da4af.dat |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v0.2-buhl/doc/PhpDoc/phpdoc-cache-98/phpdoc-cache-file_dd77e54ff89c835ae0f416f4edab9c35.dat |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v0.2-buhl/doc/PhpDoc/namespaces/default.html |
---|
65,12 → 65,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
</a> |
</li> |
</ul> |
90,10 → 90,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-1589958502"></a> |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-555207737"></a> |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> |
</div> |
<div id="namespace-1589958502" class="accordion-body collapse in"> |
<div id="namespace-555207737" class="accordion-body collapse in"> |
<div class="accordion-inner"> |
106,6 → 106,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> |
141,8 → 142,7 |
</tr> |
<tr> |
<td><a href="../classes/Chronometre.html">Chronometre</a></td> |
<td><em>Classe Chronometre() - Permet de stocker et d'afficher |
les temps d'éxécution de script.</em></td> |
<td><em>Classe Chronometre() - Permet de stocker et d'afficher les temps d'éxécution de script.</em></td> |
</tr> |
<tr> |
<td><a href="../classes/SquelettePhp.html">SquelettePhp</a></td> |
166,6 → 166,10 |
<td><em>Classe registre, qui permet un accès à différentes variables à travers les autres classes.</em></td> |
</tr> |
<tr> |
<td><a href="../classes/I18n.html">I18n</a></td> |
<td><em>I18n permet de traduire une application à partir de données stockées dans des fichiers ini.</em></td> |
</tr> |
<tr> |
<td><a href="../classes/Config.html">Config</a></td> |
<td><em>Config permet de charger automatiquement les fichiers ini du Framework et de l'application.</em></td> |
</tr> |
345,6 → 349,47 |
</aside> |
</div> |
<div class="row-fluid"> |
<div class="span8 content class"> |
<a id="method_stripslashes_deep" name="method_stripslashes_deep" class="anchor"></a> |
<article class="method"> |
<h3 class=" ">stripslashes_deep()</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;">stripslashes_deep( <span class="argument">$value</span>)</pre> |
<p><em></em></p> |
<h4>Parameters</h4> |
<table class="table table-condensed table-hover"> |
<tr> |
<td></td> |
<td>$value</td> |
<td></td> |
</tr> |
</table> |
</article> |
</div> |
<aside class="span4 detailsbar"> |
<h1><i class="icon-arrow-down"></i></h1> |
<dl> |
<dt>File</dt> |
<dd><a href=""><div class="path-wrapper"></div></a></dd> |
</dl> |
<h2>Tags</h2> |
<table class="table table-condensed"> |
<tr> |
<th> |
todo |
</th> |
<td> |
</td> |
</tr> |
</table> |
</aside> |
</div> |
</div> |
</section> |
385,7 → 430,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> |
/branches/v0.2-buhl/doc/PhpDoc/phpdoc-cache-0d/phpdoc-cache-file_f90d35be0c8f3486d33aac180b8d39a1.dat |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v0.2-buhl/doc/PhpDoc/phpdoc-cache-c2/phpdoc-cache-file_9579b859d697ad3a2454bcf79031c3b8.dat |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v0.2-buhl/doc/PhpDoc/phpdoc-cache-f0/phpdoc-cache-file_19fba3fd5f6df8a705d3aef2a9c12310.dat |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v0.2-buhl/doc/PhpDoc/phpdoc-cache-1f/phpdoc-cache-file_9f2bd6a7e9dcd3958d86cf14c94230b3.dat |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v0.2-buhl/doc/PhpDoc/phpdoc-cache-e4/phpdoc-cache-file_5f5ad2f8f7f8dab5daffd639f8da7d02.dat |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v0.2-buhl/doc/PhpDoc/phpdoc-cache-e4/phpdoc-cache-file_5f5ad2f8f7f8dab5daffd639f8da7d02.dat |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v0.2-buhl/doc/PhpDoc/graphs/class.html |
---|
90,12 → 90,12 |
<ul class="dropdown-menu"> |
<li> |
<a href="../reports/errors.html"> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">54</span> |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">70</span> |
</a> |
</li> |
<li> |
<a href="../reports/markers.html"> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">0</span> |
</a> |
</li> |
</ul> |
154,7 → 154,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> |
/branches/v0.2-buhl/doc/PhpDoc/phpdoc-cache-4e/phpdoc-cache-file_81b2d36b4ec79f521cf2d553522e2a5f.dat |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v0.2-buhl/doc/PhpDoc/phpdoc-cache-9a/phpdoc-cache-file_93fb3191e18da5e5dd0648f61d92959e.dat |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v0.2-buhl/doc/PhpDoc/phpdoc-cache-f5/phpdoc-cache-file_f503dc934ce8ca1b9cd46ef44f1dd267.dat |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v0.2-buhl/doc/PhpDoc/phpdoc-cache-10/phpdoc-cache-file_c0a000a74ba9d6fbb1338a30824c0cfe.dat |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |