Subversion Repositories Applications.framework

Compare Revisions

No changes between revisions

Ignore whitespace Rev 465 → Rev 464

/trunk/doc/genererApiGen.sh
File deleted
\ No newline at end of file
/trunk/doc/genererPhpDoc.sh
5,7 → 5,7
# License : GPL v3
# Création : 12 mars 2014
# Version: 2
# Exemple : ./genererPhpDoc.sh -t "Mon Titre"
# Exemple : ./genererPhpDoc.sh "Mon Titre"
########################################################################################################################
# Constante
TITRE=""
/trunk/doc/ApiGen/source-class-ServiceCacheSimple.html
New file
0,0 → 1,148
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File exemples/services/modules/0.1/ServiceCacheSimple.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
 
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
 
 
<div id="groups">
<h3>Packages</h3>
<ul>
<li class="active"><a href="package-Framework.html">Framework</a>
</li>
<li><a href="package-None.html">None</a>
</li>
<li><a href="package-PHP.html">PHP</a>
</li>
<li><a href="package-Utilitaire.html">Utilitaire</a>
</li>
</ul>
</div>
 
<hr>
 
 
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-Bdd.html">Bdd</a></li>
<li><a href="class-Cache.html">Cache</a></li>
<li><a href="class-CacheSimple.html">CacheSimple</a></li>
<li><a href="class-Chronometre.html">Chronometre</a></li>
<li><a href="class-Cli.html">Cli</a></li>
<li><a href="class-Config.html">Config</a></li>
<li><a href="class-Controleur.html">Controleur</a></li>
<li><a href="class-Debug.html">Debug</a></li>
<li><a href="class-Framework.html">Framework</a></li>
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li class="active"><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
 
 
 
 
 
</div>
</div>
</div>
 
<div id="splitter"></div>
 
<div id="right">
<div id="rightInner">
<form id="search">
<input type="hidden" name="cx" value="">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" class="text">
<input type="submit" value="Search">
</form>
 
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="package-Framework.html" title="Summary of Framework"><span>Package</span></a>
</li>
<li>
<a href="class-ServiceCacheSimple.html" title="Summary of ServiceCacheSimple"><span>Class</span></a>
</li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
<li>
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
</li>
<li>
<a href="todo.html" title="Todo list"><span>Todo</span></a>
</li>
</ul>
<ul>
</ul>
</div>
 
<pre><code><span id="1" class="l"><a class="l" href="#1"> 1: </a><span class="xlang">&lt;?php</span>
</span><span id="2" class="l"><a class="l" href="#2"> 2: </a><span class="php-keyword1">class</span> <a id="ServiceCacheSimple" href="#ServiceCacheSimple">ServiceCacheSimple</a> <span class="php-keyword1">extends</span> RestService {
</span><span id="3" class="l"><a class="l" href="#3"> 3: </a>
</span><span id="4" class="l"><a class="l" href="#4"> 4: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_consulter" href="#_consulter">consulter</a>(<span class="php-var">$ressources</span>, <span class="php-var">$parametres</span>) {
</span><span id="5" class="l"><a class="l" href="#5"> 5: </a> <span class="php-comment">// Redéfinition ici mais peut être configuré depuis le fichier config.ini</span>
</span><span id="6" class="l"><a class="l" href="#6"> 6: </a> <span class="php-var">$options</span> = <span class="php-keyword1">array</span>(
</span><span id="7" class="l"><a class="l" href="#7"> 7: </a> <span class="php-quote">'mise_en_cache'</span> =&gt; <span class="php-keyword1">true</span>,
</span><span id="8" class="l"><a class="l" href="#8"> 8: </a> <span class="php-quote">'stockage_mode'</span> =&gt; Cache::STOCKAGE_MODE_SIMPLE,
</span><span id="9" class="l"><a class="l" href="#9"> 9: </a> <span class="php-comment">//'stockage_chemin' =&gt; 'indiquer le chemin du dossier où mettre le cache par défaut utilise Fichier::getDossierTmp()',</span>
</span><span id="10" class="l"><a class="l" href="#10">10: </a> <span class="php-quote">'duree_de_vie'</span> =&gt; <span class="php-num">10</span>
</span><span id="11" class="l"><a class="l" href="#11">11: </a> );
</span><span id="12" class="l"><a class="l" href="#12">12: </a> <span class="php-comment">// Le cache Simple utilise le design pattern fabrique pour être généré.</span>
</span><span id="13" class="l"><a class="l" href="#13">13: </a> <span class="php-var">$cache</span> = Cache::fabriquer(Cache::STOCKAGE_MODE_SIMPLE, <span class="php-var">$options</span>);
</span><span id="14" class="l"><a class="l" href="#14">14: </a>
</span><span id="15" class="l"><a class="l" href="#15">15: </a> <span class="php-var">$id</span> = <span class="php-quote">'monCache1'</span>; <span class="php-comment">// id de cache de &quot;ce que l'on veut cacher&quot;</span>
</span><span id="16" class="l"><a class="l" href="#16">16: </a> <span class="php-keyword1">if</span> (!(<span class="php-var">$donnees</span> = <span class="php-var">$cache</span>-&gt;charger(<span class="php-var">$id</span>))) {
</span><span id="17" class="l"><a class="l" href="#17">17: </a> <span class="php-var">$donnees</span> = <span class="php-quote">'Mise en cache à : '</span>.<span class="php-keyword2">strftime</span>(<span class="php-quote">'%A %d %B %Y à %H:%M:%S'</span>, <span class="php-keyword2">time</span>()).<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="18" class="l"><a class="l" href="#18">18: </a> <span class="php-keyword1">for</span> (<span class="php-var">$i</span> = <span class="php-num">0</span>; <span class="php-var">$i</span> &lt; <span class="php-num">100000</span>; <span class="php-var">$i</span>++) {
</span><span id="19" class="l"><a class="l" href="#19">19: </a> <span class="php-var">$donnees</span> .= <span class="php-var">$i</span>;
</span><span id="20" class="l"><a class="l" href="#20">20: </a> }
</span><span id="21" class="l"><a class="l" href="#21">21: </a> <span class="php-var">$cache</span>-&gt;sauver(<span class="php-var">$donnees</span>, <span class="php-var">$id</span>);
</span><span id="22" class="l"><a class="l" href="#22">22: </a> }
</span><span id="23" class="l"><a class="l" href="#23">23: </a> <span class="php-comment">// Affichage des données</span>
</span><span id="24" class="l"><a class="l" href="#24">24: </a>
</span><span id="25" class="l"><a class="l" href="#25">25: </a> <span class="php-keyword1">echo</span> <span class="php-quote">'&lt;hr/&gt;'</span>.<span class="php-var">$donnees</span>.<span class="php-quote">'&lt;hr/&gt;&lt;p&gt;Hors cache : '</span>.<span class="php-keyword2">strftime</span>(<span class="php-quote">'%A %d %B %Y à %H:%M:%S'</span>).<span class="php-quote">'&lt;/p&gt;'</span>;
</span><span id="26" class="l"><a class="l" href="#26">26: </a> }
</span><span id="27" class="l"><a class="l" href="#27">27: </a>}
</span><span id="28" class="l"><a class="l" href="#28">28: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>
/trunk/doc/ApiGen/tree.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Tree</title>
<title>Tree | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
55,6 → 55,8
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonScript.html">MonScript</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Pattern.html">Pattern</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
61,6 → 63,9
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Tableau.html">Tableau</a></li>
<li><a href="class-Url.html">Url</a></li>
272,9 → 277,16
</div>
 
<ul>
 
<li><div class="notlast"><a href="class-MonService.html"><span>MonService</span></a>
</div>
 
</li>
 
<li><div class="notlast"><a href="class-Script.html"><span>Script</span></a>
<li><div class="notlast"><a href="class-ServiceCacheFichier.html"><span>ServiceCacheFichier</span></a>
</div>
281,6 → 293,34
 
</li>
 
<li><div class="notlast"><a href="class-ServiceCacheSimple.html"><span>ServiceCacheSimple</span></a>
</div>
 
</li>
 
<li class="last"><div class="last"><a href="class-ServiceCacheSqlite.html"><span>ServiceCacheSqlite</span></a>
</div>
 
</ul></li>
 
<li><div class="notlast"><a href="class-Script.html"><span>Script</span></a>
</div>
 
<ul>
 
<li class="last"><div class="last"><a href="class-MonScript.html"><span>MonScript</span></a>
</div>
 
</ul></li>
 
<li><div class="notlast"><a href="class-SquelettePhp.html"><span>SquelettePhp</span></a>
323,7 → 363,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-RestService.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File RestService.php</title>
<title>File framework/RestService.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li class="active"><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
259,7 → 263,7
</span><span id="151" class="l"><a class="l" href="#151">151: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-Controleur.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Controleur</title>
<title>Class Controleur | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
149,7 → 153,7
$Id: Controleur.php 415 2012-04-04 09:05:55Z jpm $<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-Controleur.html#3-154" title="Go to source code">Controleur.php</a><br>
<b>Located at</b> <a href="source-class-Controleur.html#3-154" title="Go to source code">framework/Controleur.php</a><br>
</div>
 
 
505,7 → 509,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-Exception.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Exception</title>
<title>Class Exception | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
490,7 → 490,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-Script.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File Script.php</title>
<title>File framework/Script.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li class="active"><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
397,7 → 401,7
</span><span id="289" class="l"><a class="l" href="#289">289: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-Url.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Url</title>
<title>Class Url | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li class="active"><a href="class-Url.html">Url</a></li>
</ul>
152,7 → 156,7
SVN: $Id: Url.php 405 2012-02-22 15:45:39Z gduche $<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-Url.html#3-425" title="Go to source code">Url.php</a><br>
<b>Located at</b> <a href="source-class-Url.html#3-425" title="Go to source code">framework/Url.php</a><br>
</div>
 
 
686,7 → 690,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-MonService.html
New file
0,0 → 1,128
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File exemples/services/modules/0.1/MonService.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
 
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
 
 
<div id="groups">
<h3>Packages</h3>
<ul>
<li class="active"><a href="package-Framework.html">Framework</a>
</li>
<li><a href="package-None.html">None</a>
</li>
<li><a href="package-PHP.html">PHP</a>
</li>
<li><a href="package-Utilitaire.html">Utilitaire</a>
</li>
</ul>
</div>
 
<hr>
 
 
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-Bdd.html">Bdd</a></li>
<li><a href="class-Cache.html">Cache</a></li>
<li><a href="class-CacheSimple.html">CacheSimple</a></li>
<li><a href="class-Chronometre.html">Chronometre</a></li>
<li><a href="class-Cli.html">Cli</a></li>
<li><a href="class-Config.html">Config</a></li>
<li><a href="class-Controleur.html">Controleur</a></li>
<li><a href="class-Debug.html">Debug</a></li>
<li><a href="class-Framework.html">Framework</a></li>
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li class="active"><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
 
 
 
 
 
</div>
</div>
</div>
 
<div id="splitter"></div>
 
<div id="right">
<div id="rightInner">
<form id="search">
<input type="hidden" name="cx" value="">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" class="text">
<input type="submit" value="Search">
</form>
 
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="package-Framework.html" title="Summary of Framework"><span>Package</span></a>
</li>
<li>
<a href="class-MonService.html" title="Summary of MonService"><span>Class</span></a>
</li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
<li>
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
</li>
<li>
<a href="todo.html" title="Todo list"><span>Todo</span></a>
</li>
</ul>
<ul>
</ul>
</div>
 
<pre><code><span id="1" class="l"><a class="l" href="#1">1: </a><span class="xlang">&lt;?php</span>
</span><span id="2" class="l"><a class="l" href="#2">2: </a><span class="php-keyword1">class</span> <a id="MonService" href="#MonService">MonService</a> <span class="php-keyword1">extends</span> RestService {
</span><span id="3" class="l"><a class="l" href="#3">3: </a>
</span><span id="4" class="l"><a class="l" href="#4">4: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_consulter" href="#_consulter">consulter</a>(<span class="php-var">$ressources</span>, <span class="php-var">$parametres</span>) {
</span><span id="5" class="l"><a class="l" href="#5">5: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;ok&quot;</span>;
</span><span id="6" class="l"><a class="l" href="#6">6: </a> }
</span><span id="7" class="l"><a class="l" href="#7">7: </a>}
</span><span id="8" class="l"><a class="l" href="#8">8: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>
/trunk/doc/ApiGen/source-class-Pattern.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File utilitaires/Pattern.php</title>
<title>File framework/utilitaires/Pattern.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
118,7 → 118,7
</span><span id="24" class="l"><a class="l" href="#24">24: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-ServiceCacheFichier.html
New file
0,0 → 1,280
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class ServiceCacheFichier | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
 
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
 
 
<div id="groups">
<h3>Packages</h3>
<ul>
<li class="active"><a href="package-Framework.html">Framework</a>
</li>
<li><a href="package-None.html">None</a>
</li>
<li><a href="package-PHP.html">PHP</a>
</li>
<li><a href="package-Utilitaire.html">Utilitaire</a>
</li>
</ul>
</div>
 
<hr>
 
 
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-Bdd.html">Bdd</a></li>
<li><a href="class-Cache.html">Cache</a></li>
<li><a href="class-CacheSimple.html">CacheSimple</a></li>
<li><a href="class-Chronometre.html">Chronometre</a></li>
<li><a href="class-Cli.html">Cli</a></li>
<li><a href="class-Config.html">Config</a></li>
<li><a href="class-Controleur.html">Controleur</a></li>
<li><a href="class-Debug.html">Debug</a></li>
<li><a href="class-Framework.html">Framework</a></li>
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li class="active"><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
 
 
 
 
 
</div>
</div>
</div>
 
<div id="splitter"></div>
 
<div id="right">
<div id="rightInner">
<form id="search">
<input type="hidden" name="cx" value="">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" class="text">
<input type="submit" value="Search">
</form>
 
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="package-Framework.html" title="Summary of Framework"><span>Package</span></a>
</li>
<li class="active">
<span>Class</span> </li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
<li>
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
</li>
<li>
<a href="todo.html" title="Todo list"><span>Todo</span></a>
</li>
</ul>
<ul>
</ul>
</div>
 
<div id="content" class="class">
<h1>Class ServiceCacheFichier</h1>
 
 
<div class="description">
<p>Classe principale gérant les services. Paramètres liés dans config.ini : -
serveur.baseURL</p>
 
<p>Encodage en entrée : utf8 Encodage en sortie : utf8</p>
 
</div>
 
<dl class="tree">
<dd style="padding-left:0px">
<a href="class-RestService.html"><span>RestService</span></a>
</dd>
<dd style="padding-left:30px">
<img src="resources/inherit.png" alt="Extended by">
<b><span>ServiceCacheFichier</span></b>
</dd>
</dl>
 
 
 
 
 
 
 
 
<div class="info">
<b>Package:</b> <a href="package-Framework.html">Framework</a><br>
 
<b>Category:</b>
Php 5.2<br>
<b>Copyright:</b>
Copyright (c) 2010, Tela Botanica (<a
href="mailto:accueil&#64;tela-botanica.org">accueil&#64;<!-- -->tela-botanica.org</a>)<br>
<b>License:</b>
<a href="GPL">v3 &lt;http://www.gnu.org/licenses/gpl.txt&gt;</a><br>
<b>License:</b>
<a href="CECILL">v2 &lt;http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt&gt;</a><br>
<b>Author:</b>
Jean-Pascal MILCENT &lt;<a
href="mailto:jpm&#64;tela-botanica.org">jpm&#64;<!-- -->tela-botanica.org</a>&gt;<br>
<b>Version:</b>
$Id: RestService.php 417 2012-05-15 09:24:12Z jpm $<br>
<b>Since:</b>
0.3<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-ServiceCacheFichier.html#2-98" title="Go to source code">exemples/services/modules/0.1/ServiceCacheFichier.php</a><br>
</div>
 
 
 
<table class="summary" id="methods">
<caption>Methods summary</caption>
<tr data-order="consulter" id="_consulter">
 
<td class="attributes"><code>
public
string
</code>
</td>
 
<td class="name"><div>
<a class="anchor" href="#_consulter">#</a>
<code><a href="source-class-ServiceCacheFichier.html#4-97" title="Go to source code">consulter</a>( <span>array <var>$ressources</var></span>, <span>array <var>$parametres</var></span> )</code>
 
<div class="description short">
<p>Méthode appelée lors d'une requête HTTP de type GET.</p>
 
</div>
 
<div class="description detailed hidden">
<p>Méthode appelée lors d'une requête HTTP de type GET.</p>
 
<p>Si la consultation est un succès, le code statut HTTP retourné sera 200.
Dans tous les autres cas, la méthode devra retourner le code statut HTTP
adéquate.</p>
 
 
 
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$ressources</var></dt>
<dd><code>array</code><br>Morceaux de l'url servant à préciser la ressource concerné pour le service
demandé.</dd>
<dt><var>$parametres</var></dt>
<dd><code>array</code><br>Partie de l'url situé après le '?' servant à paramétrer le service demandé.</dd>
</dl></div>
 
<h4>Returns</h4>
<div class="list">
<code>string</code><br>une chaine indiquant le succès de l'opération et les données demandées.<br>
</div>
 
 
 
<h4>Overrides</h4>
<div class="list"><code><a href="class-RestService.html#_consulter">RestService::consulter()</a></code></div>
 
</div>
</div></td>
</tr>
</table>
 
<table class="summary inherited">
<caption>Methods inherited from <a href="class-RestService.html#methods">RestService</a></caption>
<tr>
<td><code>
<a href="class-RestService.html#___construct">__construct()</a>,
<a href="class-RestService.html#_ajouter">ajouter()</a>,
<a href="class-RestService.html#_ajouterMessage">ajouterMessage()</a>,
<a href="class-RestService.html#_getBdd">getBdd()</a>,
<a href="class-RestService.html#_getRestClient">getRestClient()</a>,
<a href="class-RestService.html#_initialiser">initialiser()</a>,
<a href="class-RestService.html#_modifier">modifier()</a>,
<a href="class-RestService.html#_supprimer">supprimer()</a>,
<a href="class-RestService.html#_utiliserParametresBruts">utiliserParametresBruts()</a>
</code></td>
</tr>
</table>
 
 
 
 
 
 
 
 
 
 
 
 
<table class="summary inherited">
<caption>Properties inherited from <a href="class-RestService.html#properties">RestService</a></caption>
<tr>
<td><code>
<a href="class-RestService.html#$bdd"><var><span class="deprecated">$bdd</span></var></a>,
<a href="class-RestService.html#$utilisationParametresBruts"><var>$utilisationParametresBruts</var></a>
</code></td>
</tr>
</table>
 
 
 
 
 
</div>
 
<div id="footer">
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>
/trunk/doc/ApiGen/source-class-Log.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File Log.php</title>
<title>File framework/Log.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li class="active"><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
257,7 → 261,7
</span><span id="149" class="l"><a class="l" href="#149">149: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-SquelettePhp.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File SquelettePhp.php</title>
<title>File framework/SquelettePhp.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li class="active"><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
183,7 → 187,7
</span><span id="75" class="l"><a class="l" href="#75">75: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/package-Framework.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Package Framework</title>
<title>Package Framework | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
185,6 → 189,11
dossier de log.</td>
</tr>
<tr>
<td class="name"><a href="class-MonService.html">MonService</a></td>
<td>Classe principale gérant les services. Paramètres liés dans config.ini : -
serveur.baseURL</td>
</tr>
<tr>
<td class="name"><a href="class-Registre.html">Registre</a></td>
<td>Classe Registre, qui permet un accès à différentes variables et paramètres
à travers les autres classes. C'est un remplaçant à la variable magique
211,6 → 220,21
éxecutant des scripts en ligne de commande.</td>
</tr>
<tr>
<td class="name"><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></td>
<td>Classe principale gérant les services. Paramètres liés dans config.ini : -
serveur.baseURL</td>
</tr>
<tr>
<td class="name"><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></td>
<td>Classe principale gérant les services. Paramètres liés dans config.ini : -
serveur.baseURL</td>
</tr>
<tr>
<td class="name"><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></td>
<td>Classe principale gérant les services. Paramètres liés dans config.ini : -
serveur.baseURL</td>
</tr>
<tr>
<td class="name"><a href="class-SquelettePhp.html">SquelettePhp</a></td>
<td>Classe SquelettePhp, traitant les squelette Php utilisant la syntaxe courte php
ou pas. Ces méthodes sont statiques.</td>
229,7 → 253,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-CacheSqlite.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File CacheSqlite.php</title>
<title>File framework/CacheSqlite.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
41,6 → 41,7
<ul>
<li><a href="class-CacheFichier.html">CacheFichier</a></li>
<li class="active"><a href="class-CacheSqlite.html">CacheSqlite</a></li>
<li><a href="class-MonScript.html">MonScript</a></li>
</ul>
 
 
708,7 → 709,7
</span><span id="617" class="l"><a class="l" href="#617">617: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-Debug.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File Debug.php</title>
<title>File framework/Debug.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
300,7 → 304,7
</span><span id="192" class="l"><a class="l" href="#192">192: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-Registre.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Registre</title>
<title>Class Registre | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li class="active"><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
148,7 → 152,7
$Id: Registre.php 443 2013-10-22 15:09:30Z raphael $<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-Registre.html#3-65" title="Go to source code">Registre.php</a><br>
<b>Located at</b> <a href="source-class-Registre.html#3-65" title="Go to source code">framework/Registre.php</a><br>
</div>
 
 
338,7 → 342,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-Chronometre.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Chronometre</title>
<title>Class Chronometre | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
149,7 → 153,7
$Id: Chronometre.php 327 2011-02-08 17:54:34Z jpm $<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-Chronometre.html#3-137" title="Go to source code">Chronometre.php</a><br>
<b>Located at</b> <a href="source-class-Chronometre.html#3-137" title="Go to source code">framework/Chronometre.php</a><br>
</div>
 
 
283,7 → 287,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-Chaine.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File utilitaires/Chaine.php</title>
<title>File framework/utilitaires/Chaine.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
162,7 → 162,7
</span><span id="68" class="l"><a class="l" href="#68">68: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-Bdd.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File Bdd.php</title>
<title>File framework/Bdd.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
568,7 → 572,7
</span><span id="460" class="l"><a class="l" href="#460">460: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-Controleur.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File Controleur.php</title>
<title>File framework/Controleur.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
263,7 → 267,7
</span><span id="155" class="l"><a class="l" href="#155">155: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-Framework.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Framework</title>
<title>Class Framework | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
152,7 → 156,7
0.3<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-Framework.html#3-252" title="Go to source code">Framework.php</a><br>
<b>Located at</b> <a href="source-class-Framework.html#3-252" title="Go to source code">framework/Framework.php</a><br>
</div>
 
 
437,7 → 441,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-RestService.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class RestService</title>
<title>Class RestService | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li class="active"><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
119,6 → 123,13
 
 
 
<div>
<h4>Direct known subclasses</h4>
<a href="class-MonService.html">MonService</a>,
<a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a>,
<a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a>,
<a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a>
</div>
 
 
 
149,7 → 160,7
0.3<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-RestService.html#2-150" title="Go to source code">RestService.php</a><br>
<b>Located at</b> <a href="source-class-RestService.html#2-150" title="Go to source code">framework/RestService.php</a><br>
</div>
 
 
653,7 → 664,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/404.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>Page not found</title>
<title>Page not found | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
56,6 → 56,8
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonScript.html">MonScript</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Pattern.html">Pattern</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
62,6 → 64,9
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Tableau.html">Tableau</a></li>
<li><a href="class-Url.html">Url</a></li>
123,7 → 128,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-Encodage.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Encodage</title>
<title>Class Encodage | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
131,7 → 131,7
$Id: Encodage.php 299 2011-01-18 14:03:46Z jpm $<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-Encodage.html#3-56" title="Go to source code">utilitaires/Encodage.php</a><br>
<b>Located at</b> <a href="source-class-Encodage.html#3-56" title="Go to source code">framework/utilitaires/Encodage.php</a><br>
</div>
 
 
252,7 → 252,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-Cli.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File Cli.php</title>
<title>File framework/Cli.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
216,7 → 220,7
</span><span id="108" class="l"><a class="l" href="#108">108: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-CacheSimple.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File CacheSimple.php</title>
<title>File framework/CacheSimple.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
235,7 → 239,7
</span><span id="127" class="l"><a class="l" href="#127">127: </a></span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-RestClient.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class RestClient</title>
<title>Class RestClient | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li class="active"><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
142,7 → 146,7
href="mailto:jpm&#64;tela-botanica.org">jpm&#64;<!-- -->tela-botanica.org</a>&gt;<br>
<b>Version:</b>
$Id: RestClient.php 439 2013-10-14 15:48:41Z raphael $<br>
<b>Located at</b> <a href="source-class-RestClient.html#3-219" title="Go to source code">RestClient.php</a><br>
<b>Located at</b> <a href="source-class-RestClient.html#3-219" title="Go to source code">framework/RestClient.php</a><br>
</div>
 
 
588,7 → 592,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-Pattern.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Pattern</title>
<title>Class Pattern | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
131,7 → 131,7
$Id: Pattern.php 299 2011-01-18 14:03:46Z jpm $<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-Pattern.html#3-23" title="Go to source code">utilitaires/Pattern.php</a><br>
<b>Located at</b> <a href="source-class-Pattern.html#3-23" title="Go to source code">framework/utilitaires/Pattern.php</a><br>
</div>
 
 
300,7 → 300,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-I18n.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class I18n</title>
<title>Class I18n | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li class="active"><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
160,7 → 164,7
0.3<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-I18n.html#3-234" title="Go to source code">I18n.php</a><br>
<b>Located at</b> <a href="source-class-I18n.html#3-234" title="Go to source code">framework/I18n.php</a><br>
</div>
 
 
348,7 → 352,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-Log.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Log</title>
<title>Class Log | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li class="active"><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
148,7 → 152,7
$Id: Log.php 274 2010-12-28 15:37:22Z jpm $<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-Log.html#3-148" title="Go to source code">Log.php</a><br>
<b>Located at</b> <a href="source-class-Log.html#3-148" title="Go to source code">framework/Log.php</a><br>
</div>
 
 
404,7 → 408,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-Registre.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File Registre.php</title>
<title>File framework/Registre.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li class="active"><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
174,7 → 178,7
</span><span id="66" class="l"><a class="l" href="#66">66: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-CacheSqlite.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class CacheSqlite</title>
<title>Class CacheSqlite | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
40,6 → 40,7
<ul>
<li><a href="class-CacheFichier.html">CacheFichier</a></li>
<li class="active"><a href="class-CacheSqlite.html">CacheSqlite</a></li>
<li><a href="class-MonScript.html">MonScript</a></li>
</ul>
 
 
106,7 → 107,7
 
<b>Located at</b> <a href="source-class-CacheSqlite.html#2-616" title="Go to source code">CacheSqlite.php</a><br>
<b>Located at</b> <a href="source-class-CacheSqlite.html#2-616" title="Go to source code">framework/CacheSqlite.php</a><br>
</div>
 
 
875,7 → 876,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-Debug.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Debug</title>
<title>Class Debug | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
146,7 → 150,7
$Id: Debug.php 365 2011-09-30 08:19:57Z jpm $<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-Debug.html#3-191" title="Go to source code">Debug.php</a><br>
<b>Located at</b> <a href="source-class-Debug.html#3-191" title="Go to source code">framework/Debug.php</a><br>
</div>
 
 
534,7 → 538,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-RestServeur.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File RestServeur.php</title>
<title>File framework/RestServeur.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li class="active"><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
775,7 → 779,7
</span><span id="667" class="l"><a class="l" href="#667">667: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-Bdd.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Bdd</title>
<title>Class Bdd | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
154,7 → 158,7
$Id: Bdd.php 461 2014-03-05 16:13:16Z jpm $<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-Bdd.html#3-459" title="Go to source code">Bdd.php</a><br>
<b>Located at</b> <a href="source-class-Bdd.html#3-459" title="Go to source code">framework/Bdd.php</a><br>
</div>
 
 
1283,7 → 1287,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/elementlist.js
1,3 → 1,3
 
var ApiGen = ApiGen || {};
ApiGen.elements = [["c","Bdd"],["c","Cache"],["c","CacheFichier"],["c","CacheSimple"],["c","CacheSqlite"],["c","Chaine"],["c","Chronometre"],["c","Cli"],["c","Config"],["c","Controleur"],["c","Debug"],["c","Encodage"],["c","Exception"],["c","Fichier"],["c","Framework"],["c","GestionnaireException"],["c","I18n"],["c","Log"],["c","Pattern"],["c","Registre"],["c","RestClient"],["c","RestServeur"],["c","RestService"],["c","Script"],["c","SquelettePhp"],["c","Tableau"],["c","Url"]];
ApiGen.elements = [["c","Bdd"],["c","Cache"],["c","CacheFichier"],["c","CacheSimple"],["c","CacheSqlite"],["c","Chaine"],["c","Chronometre"],["c","Cli"],["c","Config"],["c","Controleur"],["c","Debug"],["c","Encodage"],["c","Exception"],["c","Fichier"],["c","Framework"],["c","GestionnaireException"],["c","I18n"],["c","Log"],["c","MonScript"],["c","MonService"],["c","Pattern"],["c","Registre"],["c","RestClient"],["c","RestServeur"],["c","RestService"],["c","Script"],["c","ServiceCacheFichier"],["c","ServiceCacheSimple"],["c","ServiceCacheSqlite"],["c","SquelettePhp"],["c","Tableau"],["c","Url"]];
/trunk/doc/ApiGen/deprecated.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Deprecated</title>
<title>Deprecated | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
55,6 → 55,8
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonScript.html">MonScript</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Pattern.html">Pattern</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
61,6 → 63,9
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Tableau.html">Tableau</a></li>
<li><a href="class-Url.html">Url</a></li>
186,7 → 191,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/package-Utilitaire.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Package Utilitaire</title>
<title>Package Utilitaire | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
128,7 → 128,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-Cache.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File Cache.php</title>
<title>File framework/Cache.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
615,7 → 619,7
</span><span id="507" class="l"><a class="l" href="#507">507: </a></span>}</code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-Encodage.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File utilitaires/Encodage.php</title>
<title>File framework/utilitaires/Encodage.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
151,7 → 151,7
</span><span id="57" class="l"><a class="l" href="#57">57: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-GestionnaireException.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File GestionnaireException.php</title>
<title>File framework/GestionnaireException.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li class="active"><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
358,7 → 362,7
</span><span id="250" class="l"><a class="l" href="#250">250: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/index.html
4,7 → 4,7
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Overview</title>
<title>TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js"></script>
<script type="text/javascript" src="elementlist.js"></script>
54,6 → 54,8
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonScript.html">MonScript</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Pattern.html">Pattern</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
60,6 → 62,9
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Tableau.html">Tableau</a></li>
<li><a href="class-Url.html">Url</a></li>
113,7 → 118,7
</div>
 
<div id="content">
<h1>Overview</h1>
<h1>TBFramework - v0.4</h1>
 
 
 
136,7 → 141,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-Config.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Config</title>
<title>Class Config | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
148,7 → 152,7
$Id: Config.php 447 2013-12-19 10:52:37Z jpm $<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-Config.html#4-282" title="Go to source code">Config.php</a><br>
<b>Located at</b> <a href="source-class-Config.html#4-282" title="Go to source code">framework/Config.php</a><br>
</div>
 
 
351,7 → 355,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-ServiceCacheSqlite.html
New file
0,0 → 1,280
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class ServiceCacheSqlite | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
 
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
 
 
<div id="groups">
<h3>Packages</h3>
<ul>
<li class="active"><a href="package-Framework.html">Framework</a>
</li>
<li><a href="package-None.html">None</a>
</li>
<li><a href="package-PHP.html">PHP</a>
</li>
<li><a href="package-Utilitaire.html">Utilitaire</a>
</li>
</ul>
</div>
 
<hr>
 
 
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-Bdd.html">Bdd</a></li>
<li><a href="class-Cache.html">Cache</a></li>
<li><a href="class-CacheSimple.html">CacheSimple</a></li>
<li><a href="class-Chronometre.html">Chronometre</a></li>
<li><a href="class-Cli.html">Cli</a></li>
<li><a href="class-Config.html">Config</a></li>
<li><a href="class-Controleur.html">Controleur</a></li>
<li><a href="class-Debug.html">Debug</a></li>
<li><a href="class-Framework.html">Framework</a></li>
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li class="active"><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
 
 
 
 
 
</div>
</div>
</div>
 
<div id="splitter"></div>
 
<div id="right">
<div id="rightInner">
<form id="search">
<input type="hidden" name="cx" value="">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" class="text">
<input type="submit" value="Search">
</form>
 
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="package-Framework.html" title="Summary of Framework"><span>Package</span></a>
</li>
<li class="active">
<span>Class</span> </li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
<li>
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
</li>
<li>
<a href="todo.html" title="Todo list"><span>Todo</span></a>
</li>
</ul>
<ul>
</ul>
</div>
 
<div id="content" class="class">
<h1>Class ServiceCacheSqlite</h1>
 
 
<div class="description">
<p>Classe principale gérant les services. Paramètres liés dans config.ini : -
serveur.baseURL</p>
 
<p>Encodage en entrée : utf8 Encodage en sortie : utf8</p>
 
</div>
 
<dl class="tree">
<dd style="padding-left:0px">
<a href="class-RestService.html"><span>RestService</span></a>
</dd>
<dd style="padding-left:30px">
<img src="resources/inherit.png" alt="Extended by">
<b><span>ServiceCacheSqlite</span></b>
</dd>
</dl>
 
 
 
 
 
 
 
 
<div class="info">
<b>Package:</b> <a href="package-Framework.html">Framework</a><br>
 
<b>Category:</b>
Php 5.2<br>
<b>Copyright:</b>
Copyright (c) 2010, Tela Botanica (<a
href="mailto:accueil&#64;tela-botanica.org">accueil&#64;<!-- -->tela-botanica.org</a>)<br>
<b>License:</b>
<a href="GPL">v3 &lt;http://www.gnu.org/licenses/gpl.txt&gt;</a><br>
<b>License:</b>
<a href="CECILL">v2 &lt;http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt&gt;</a><br>
<b>Author:</b>
Jean-Pascal MILCENT &lt;<a
href="mailto:jpm&#64;tela-botanica.org">jpm&#64;<!-- -->tela-botanica.org</a>&gt;<br>
<b>Version:</b>
$Id: RestService.php 417 2012-05-15 09:24:12Z jpm $<br>
<b>Since:</b>
0.3<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-ServiceCacheSqlite.html#2-87" title="Go to source code">exemples/services/modules/0.1/ServiceCacheSqlite.php</a><br>
</div>
 
 
 
<table class="summary" id="methods">
<caption>Methods summary</caption>
<tr data-order="consulter" id="_consulter">
 
<td class="attributes"><code>
public
string
</code>
</td>
 
<td class="name"><div>
<a class="anchor" href="#_consulter">#</a>
<code><a href="source-class-ServiceCacheSqlite.html#4-86" title="Go to source code">consulter</a>( <span>array <var>$ressources</var></span>, <span>array <var>$parametres</var></span> )</code>
 
<div class="description short">
<p>Méthode appelée lors d'une requête HTTP de type GET.</p>
 
</div>
 
<div class="description detailed hidden">
<p>Méthode appelée lors d'une requête HTTP de type GET.</p>
 
<p>Si la consultation est un succès, le code statut HTTP retourné sera 200.
Dans tous les autres cas, la méthode devra retourner le code statut HTTP
adéquate.</p>
 
 
 
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$ressources</var></dt>
<dd><code>array</code><br>Morceaux de l'url servant à préciser la ressource concerné pour le service
demandé.</dd>
<dt><var>$parametres</var></dt>
<dd><code>array</code><br>Partie de l'url situé après le '?' servant à paramétrer le service demandé.</dd>
</dl></div>
 
<h4>Returns</h4>
<div class="list">
<code>string</code><br>une chaine indiquant le succès de l'opération et les données demandées.<br>
</div>
 
 
 
<h4>Overrides</h4>
<div class="list"><code><a href="class-RestService.html#_consulter">RestService::consulter()</a></code></div>
 
</div>
</div></td>
</tr>
</table>
 
<table class="summary inherited">
<caption>Methods inherited from <a href="class-RestService.html#methods">RestService</a></caption>
<tr>
<td><code>
<a href="class-RestService.html#___construct">__construct()</a>,
<a href="class-RestService.html#_ajouter">ajouter()</a>,
<a href="class-RestService.html#_ajouterMessage">ajouterMessage()</a>,
<a href="class-RestService.html#_getBdd">getBdd()</a>,
<a href="class-RestService.html#_getRestClient">getRestClient()</a>,
<a href="class-RestService.html#_initialiser">initialiser()</a>,
<a href="class-RestService.html#_modifier">modifier()</a>,
<a href="class-RestService.html#_supprimer">supprimer()</a>,
<a href="class-RestService.html#_utiliserParametresBruts">utiliserParametresBruts()</a>
</code></td>
</tr>
</table>
 
 
 
 
 
 
 
 
 
 
 
 
<table class="summary inherited">
<caption>Properties inherited from <a href="class-RestService.html#properties">RestService</a></caption>
<tr>
<td><code>
<a href="class-RestService.html#$bdd"><var><span class="deprecated">$bdd</span></var></a>,
<a href="class-RestService.html#$utilisationParametresBruts"><var>$utilisationParametresBruts</var></a>
</code></td>
</tr>
</table>
 
 
 
 
 
</div>
 
<div id="footer">
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>
/trunk/doc/ApiGen/source-class-Fichier.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File utilitaires/Fichier.php</title>
<title>File framework/utilitaires/Fichier.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
296,7 → 296,7
</span><span id="202" class="l"><a class="l" href="#202">202: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-Cli.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Cli</title>
<title>Class Cli | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
152,7 → 156,7
0.3<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-Cli.html#4-107" title="Go to source code">Cli.php</a><br>
<b>Located at</b> <a href="source-class-Cli.html#4-107" title="Go to source code">framework/Cli.php</a><br>
</div>
 
 
218,7 → 222,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-RestClient.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File RestClient.php</title>
<title>File framework/RestClient.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li class="active"><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
327,7 → 331,7
</span><span id="219" class="l"><a class="l" href="#219">219: </a></span>}</code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-Tableau.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File utilitaires/Tableau.php</title>
<title>File framework/utilitaires/Tableau.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
245,7 → 245,7
</span><span id="151" class="l"><a class="l" href="#151">151: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-MonScript.html
New file
0,0 → 1,166
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File exemples/scripts/modules/mon_script/MonScript.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
 
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
 
 
<div id="groups">
<h3>Packages</h3>
<ul>
<li><a href="package-Framework.html">Framework</a>
</li>
<li class="active"><a href="package-None.html">None</a>
</li>
<li><a href="package-PHP.html">PHP</a>
</li>
<li><a href="package-Utilitaire.html">Utilitaire</a>
</li>
</ul>
</div>
 
<hr>
 
 
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-CacheFichier.html">CacheFichier</a></li>
<li><a href="class-CacheSqlite.html">CacheSqlite</a></li>
<li class="active"><a href="class-MonScript.html">MonScript</a></li>
</ul>
 
 
 
 
 
</div>
</div>
</div>
 
<div id="splitter"></div>
 
<div id="right">
<div id="rightInner">
<form id="search">
<input type="hidden" name="cx" value="">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" class="text">
<input type="submit" value="Search">
</form>
 
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="package-None.html" title="Summary of None"><span>Package</span></a>
</li>
<li>
<a href="class-MonScript.html" title="Summary of MonScript"><span>Class</span></a>
</li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
<li>
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
</li>
<li>
<a href="todo.html" title="Todo list"><span>Todo</span></a>
</li>
</ul>
<ul>
</ul>
</div>
 
<pre><code><span id="1" class="l"><a class="l" href="#1"> 1: </a><span class="xlang">&lt;?php</span>
</span><span id="2" class="l"><a class="l" href="#2"> 2: </a><span class="php-comment">// declare(encoding='UTF-8');</span>
</span><span id="3" class="l"><a class="l" href="#3"> 3: </a><span class="php-comment">/**
</span></span><span id="4" class="l"><a class="l" href="#4"> 4: </a><span class="php-comment"> * Exemple de script utilisable avec le TBFramework.
</span></span><span id="5" class="l"><a class="l" href="#5"> 5: </a><span class="php-comment"> * Pour le lancer, taper en ligne de commande, en vous plaçant dans le dossier /framework/exemple/scripts/ :
</span></span><span id="6" class="l"><a class="l" href="#6"> 6: </a><span class="php-comment"> * &lt;code&gt;/opt/lampp/bin/php cli.php mon_script -a test&lt;/code&gt;
</span></span><span id="7" class="l"><a class="l" href="#7"> 7: </a><span class="php-comment"> *
</span></span><span id="8" class="l"><a class="l" href="#8"> 8: </a><span class="php-comment"> * @author Jean-Pascal MILCENT &lt;jpm@tela-botanica.org&gt;
</span></span><span id="9" class="l"><a class="l" href="#9"> 9: </a><span class="php-comment"> * @copyright Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)
</span></span><span id="10" class="l"><a class="l" href="#10">10: </a><span class="php-comment"> * @license http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
</span></span><span id="11" class="l"><a class="l" href="#11">11: </a><span class="php-comment"> * @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
</span></span><span id="12" class="l"><a class="l" href="#12">12: </a><span class="php-comment"> * @version $Id$
</span></span><span id="13" class="l"><a class="l" href="#13">13: </a><span class="php-comment"> */</span>
</span><span id="14" class="l"><a class="l" href="#14">14: </a><span class="php-keyword1">class</span> <a id="MonScript" href="#MonScript">MonScript</a> <span class="php-keyword1">extends</span> Script {
</span><span id="15" class="l"><a class="l" href="#15">15: </a>
</span><span id="16" class="l"><a class="l" href="#16">16: </a> <span class="php-keyword1">protected</span> <span class="php-var"><a id="$parametres_autorises" href="#$parametres_autorises">$parametres_autorises</a></span> = <span class="php-keyword1">array</span>(
</span><span id="17" class="l"><a class="l" href="#17">17: </a> <span class="php-quote">'-y'</span> =&gt; <span class="php-keyword1">array</span>(<span class="php-keyword1">false</span>, <span class="php-quote">'exemple de valeur par défaut'</span>, <span class="php-quote">'Un parametre supplémentaire de test'</span>));
</span><span id="18" class="l"><a class="l" href="#18">18: </a>
</span><span id="19" class="l"><a class="l" href="#19">19: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_executer" href="#_executer">executer</a>() {
</span><span id="20" class="l"><a class="l" href="#20">20: </a> <span class="php-comment">// Récupération de paramêtres</span>
</span><span id="21" class="l"><a class="l" href="#21">21: </a>
</span><span id="22" class="l"><a class="l" href="#22">22: </a> <span class="php-comment">// Lancement de l'action demandée</span>
</span><span id="23" class="l"><a class="l" href="#23">23: </a> <span class="php-var">$cmd</span> = <span class="php-var">$this</span>-&gt;getParametre(<span class="php-quote">'a'</span>);
</span><span id="24" class="l"><a class="l" href="#24">24: </a> <span class="php-keyword1">switch</span> (<span class="php-var">$cmd</span>) {
</span><span id="25" class="l"><a class="l" href="#25">25: </a> <span class="php-keyword1">case</span> <span class="php-quote">'test'</span> :
</span><span id="26" class="l"><a class="l" href="#26">26: </a> <span class="php-var">$this</span>-&gt;executerTest();
</span><span id="27" class="l"><a class="l" href="#27">27: </a> <span class="php-keyword1">break</span>;
</span><span id="28" class="l"><a class="l" href="#28">28: </a> <span class="php-keyword1">default</span> :
</span><span id="29" class="l"><a class="l" href="#29">29: </a> <span class="php-var">$this</span>-&gt;traiterErreur(<span class="php-quote">'Erreur : la commande &quot;%s&quot; n\'existe pas!'</span>, <span class="php-keyword1">array</span>(<span class="php-var">$cmd</span>));
</span><span id="30" class="l"><a class="l" href="#30">30: </a> }
</span><span id="31" class="l"><a class="l" href="#31">31: </a> }
</span><span id="32" class="l"><a class="l" href="#32">32: </a>
</span><span id="33" class="l"><a class="l" href="#33">33: </a> <span class="php-keyword1">private</span> <span class="php-keyword1">function</span> <a id="_executerTest" href="#_executerTest">executerTest</a>() {
</span><span id="34" class="l"><a class="l" href="#34">34: </a> <span class="php-keyword1">print</span>(<span class="php-quote">'Config: '</span>.Config::get(<span class="php-quote">'param1'</span>).<span class="php-quote">&quot;\n&quot;</span>);
</span><span id="35" class="l"><a class="l" href="#35">35: </a> <span class="php-var">$this</span>-&gt;traiterErreur(<span class="php-quote">&quot;Un msg d'%s&quot;</span>, <span class="php-keyword1">array</span>(<span class="php-quote">'erreur'</span>));
</span><span id="36" class="l"><a class="l" href="#36">36: </a> <span class="php-var">$this</span>-&gt;traiterErreur(<span class="php-quote">&quot;Un msg d'erreur sans paramètre&quot;</span>);
</span><span id="37" class="l"><a class="l" href="#37">37: </a> <span class="php-var">$this</span>-&gt;traiterAvertissement(<span class="php-quote">&quot;Un msg d'%s&quot;</span>, <span class="php-keyword1">array</span>(<span class="php-quote">'avertissement'</span>));
</span><span id="38" class="l"><a class="l" href="#38">38: </a> <span class="php-var">$this</span>-&gt;traiterAvertissement(<span class="php-quote">&quot;Un msg d'avertissement sans paramètre&quot;</span>);
</span><span id="39" class="l"><a class="l" href="#39">39: </a> <span class="php-var">$this</span>-&gt;traiterInfo(<span class="php-quote">&quot;Un msg d'%s&quot;</span>, <span class="php-keyword1">array</span>(<span class="php-quote">'info'</span>));
</span><span id="40" class="l"><a class="l" href="#40">40: </a> <span class="php-var">$this</span>-&gt;traiterInfo(<span class="php-quote">&quot;Un msg d'info sans paramètre&quot;</span>);
</span><span id="41" class="l"><a class="l" href="#41">41: </a> <span class="php-keyword1">echo</span> <span class="php-var">$this</span>-&gt;formaterMsg(<span class="php-quote">&quot;Un msg %s&quot;</span>, <span class="php-keyword1">array</span>(<span class="php-quote">'formaté'</span>));
</span><span id="42" class="l"><a class="l" href="#42">42: </a> <span class="php-keyword1">echo</span> <span class="php-var">$this</span>-&gt;formaterMsg(<span class="php-quote">&quot;Le parametre y : %s&quot;</span>, <span class="php-keyword1">array</span>(<span class="php-var">$this</span>-&gt;getParametre(<span class="php-quote">'y'</span>)));
</span><span id="43" class="l"><a class="l" href="#43">43: </a>
</span><span id="44" class="l"><a class="l" href="#44">44: </a> <span class="php-comment">// Test de l'affichage de l'avancement dans une boucle en partant de 1</span>
</span><span id="45" class="l"><a class="l" href="#45">45: </a> <span class="php-var">$ma_liste</span> = <span class="php-keyword1">array</span>();
</span><span id="46" class="l"><a class="l" href="#46">46: </a> <span class="php-keyword1">for</span> (<span class="php-var">$i</span> = <span class="php-num">0</span>; <span class="php-var">$i</span> &lt; <span class="php-num">1000</span>; <span class="php-var">$i</span>++) {
</span><span id="47" class="l"><a class="l" href="#47">47: </a> <span class="php-var">$ma_liste</span>[] = <span class="php-var">$i</span>;
</span><span id="48" class="l"><a class="l" href="#48">48: </a>
</span><span id="49" class="l"><a class="l" href="#49">49: </a> <span class="php-keyword1">for</span> (<span class="php-var">$j</span> = <span class="php-num">0</span>; <span class="php-var">$j</span> &lt; <span class="php-num">100</span>; <span class="php-var">$j</span>++) {
</span><span id="50" class="l"><a class="l" href="#50">50: </a> <span class="php-var">$ma_liste</span>[] = <span class="php-quote">&quot;</span><span class="php-var">$i</span><span class="php-quote">-</span><span class="php-var">$j</span><span class="php-quote">&quot;</span>;
</span><span id="51" class="l"><a class="l" href="#51">51: </a> <span class="php-comment">// 1 seule boucle peut être affichée</span>
</span><span id="52" class="l"><a class="l" href="#52">52: </a> }
</span><span id="53" class="l"><a class="l" href="#53">53: </a> <span class="php-var">$this</span>-&gt;afficherAvancement(<span class="php-quote">&quot;Afficher de l'avancement de la boucle for&quot;</span>, <span class="php-num">1</span>);
</span><span id="54" class="l"><a class="l" href="#54">54: </a> }
</span><span id="55" class="l"><a class="l" href="#55">55: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;\n&quot;</span>;
</span><span id="56" class="l"><a class="l" href="#56">56: </a>
</span><span id="57" class="l"><a class="l" href="#57">57: </a> <span class="php-comment">// Test de l'affichage de l'avancement dans une boucle en partant par défaut de 0</span>
</span><span id="58" class="l"><a class="l" href="#58">58: </a> <span class="php-keyword1">foreach</span> (<span class="php-var">$ma_liste</span> <span class="php-keyword1">as</span> <span class="php-var">$cle</span> =&gt; <span class="php-var">$valeur</span>) {
</span><span id="59" class="l"><a class="l" href="#59">59: </a> <span class="php-var">$this</span>-&gt;afficherAvancement(<span class="php-quote">&quot;Afficher de l'avancement de la boucle foreach&quot;</span>);
</span><span id="60" class="l"><a class="l" href="#60">60: </a> }
</span><span id="61" class="l"><a class="l" href="#61">61: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;\n&quot;</span>;
</span><span id="62" class="l"><a class="l" href="#62">62: </a>
</span><span id="63" class="l"><a class="l" href="#63">63: </a> <span class="php-keyword1">print</span>(<span class="php-quote">&quot;test réussi!\n&quot;</span>);
</span><span id="64" class="l"><a class="l" href="#64">64: </a> }
</span><span id="65" class="l"><a class="l" href="#65">65: </a>}
</span><span id="66" class="l"><a class="l" href="#66">66: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>
/trunk/doc/ApiGen/source-class-I18n.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File I18n.php</title>
<title>File framework/I18n.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li class="active"><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
343,7 → 347,7
</span><span id="235" class="l"><a class="l" href="#235">235: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/package-PHP.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Package PHP</title>
<title>Package PHP | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
105,7 → 105,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-CacheSimple.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class CacheSimple</title>
<title>Class CacheSimple | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
138,7 → 142,7
<b>Author:</b>
Aurélien PERONNET &lt;<a
href="mailto:aurelien&#64;tela-botanica.org">aurelien&#64;<!-- -->tela-botanica.org</a>&gt;<br>
<b>Located at</b> <a href="source-class-CacheSimple.html#23-126" title="Go to source code">CacheSimple.php</a><br>
<b>Located at</b> <a href="source-class-CacheSimple.html#23-126" title="Go to source code">framework/CacheSimple.php</a><br>
</div>
 
 
287,7 → 291,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-RestServeur.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class RestServeur</title>
<title>Class RestServeur | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li class="active"><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
133,7 → 137,7
<b>Author:</b>
Jean-Pascal MILCENT &lt;<a
href="mailto:jpm&#64;tela-botanica.org">jpm&#64;<!-- -->tela-botanica.org</a>&gt;<br>
<b>Located at</b> <a href="source-class-RestServeur.html#42-666" title="Go to source code">RestServeur.php</a><br>
<b>Located at</b> <a href="source-class-RestServeur.html#42-666" title="Go to source code">framework/RestServeur.php</a><br>
</div>
 
 
853,7 → 857,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-CacheFichier.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class CacheFichier</title>
<title>Class CacheFichier | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
40,6 → 40,7
<ul>
<li class="active"><a href="class-CacheFichier.html">CacheFichier</a></li>
<li><a href="class-CacheSqlite.html">CacheSqlite</a></li>
<li><a href="class-MonScript.html">MonScript</a></li>
</ul>
 
 
106,7 → 107,7
 
<b>Located at</b> <a href="source-class-CacheFichier.html#2-870" title="Go to source code">CacheFichier.php</a><br>
<b>Located at</b> <a href="source-class-CacheFichier.html#2-870" title="Go to source code">framework/CacheFichier.php</a><br>
</div>
 
 
1803,7 → 1804,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-ServiceCacheSimple.html
New file
0,0 → 1,280
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class ServiceCacheSimple | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
 
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
 
 
<div id="groups">
<h3>Packages</h3>
<ul>
<li class="active"><a href="package-Framework.html">Framework</a>
</li>
<li><a href="package-None.html">None</a>
</li>
<li><a href="package-PHP.html">PHP</a>
</li>
<li><a href="package-Utilitaire.html">Utilitaire</a>
</li>
</ul>
</div>
 
<hr>
 
 
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-Bdd.html">Bdd</a></li>
<li><a href="class-Cache.html">Cache</a></li>
<li><a href="class-CacheSimple.html">CacheSimple</a></li>
<li><a href="class-Chronometre.html">Chronometre</a></li>
<li><a href="class-Cli.html">Cli</a></li>
<li><a href="class-Config.html">Config</a></li>
<li><a href="class-Controleur.html">Controleur</a></li>
<li><a href="class-Debug.html">Debug</a></li>
<li><a href="class-Framework.html">Framework</a></li>
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li class="active"><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
 
 
 
 
 
</div>
</div>
</div>
 
<div id="splitter"></div>
 
<div id="right">
<div id="rightInner">
<form id="search">
<input type="hidden" name="cx" value="">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" class="text">
<input type="submit" value="Search">
</form>
 
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="package-Framework.html" title="Summary of Framework"><span>Package</span></a>
</li>
<li class="active">
<span>Class</span> </li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
<li>
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
</li>
<li>
<a href="todo.html" title="Todo list"><span>Todo</span></a>
</li>
</ul>
<ul>
</ul>
</div>
 
<div id="content" class="class">
<h1>Class ServiceCacheSimple</h1>
 
 
<div class="description">
<p>Classe principale gérant les services. Paramètres liés dans config.ini : -
serveur.baseURL</p>
 
<p>Encodage en entrée : utf8 Encodage en sortie : utf8</p>
 
</div>
 
<dl class="tree">
<dd style="padding-left:0px">
<a href="class-RestService.html"><span>RestService</span></a>
</dd>
<dd style="padding-left:30px">
<img src="resources/inherit.png" alt="Extended by">
<b><span>ServiceCacheSimple</span></b>
</dd>
</dl>
 
 
 
 
 
 
 
 
<div class="info">
<b>Package:</b> <a href="package-Framework.html">Framework</a><br>
 
<b>Category:</b>
Php 5.2<br>
<b>Copyright:</b>
Copyright (c) 2010, Tela Botanica (<a
href="mailto:accueil&#64;tela-botanica.org">accueil&#64;<!-- -->tela-botanica.org</a>)<br>
<b>License:</b>
<a href="GPL">v3 &lt;http://www.gnu.org/licenses/gpl.txt&gt;</a><br>
<b>License:</b>
<a href="CECILL">v2 &lt;http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt&gt;</a><br>
<b>Author:</b>
Jean-Pascal MILCENT &lt;<a
href="mailto:jpm&#64;tela-botanica.org">jpm&#64;<!-- -->tela-botanica.org</a>&gt;<br>
<b>Version:</b>
$Id: RestService.php 417 2012-05-15 09:24:12Z jpm $<br>
<b>Since:</b>
0.3<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-ServiceCacheSimple.html#2-27" title="Go to source code">exemples/services/modules/0.1/ServiceCacheSimple.php</a><br>
</div>
 
 
 
<table class="summary" id="methods">
<caption>Methods summary</caption>
<tr data-order="consulter" id="_consulter">
 
<td class="attributes"><code>
public
string
</code>
</td>
 
<td class="name"><div>
<a class="anchor" href="#_consulter">#</a>
<code><a href="source-class-ServiceCacheSimple.html#4-26" title="Go to source code">consulter</a>( <span>array <var>$ressources</var></span>, <span>array <var>$parametres</var></span> )</code>
 
<div class="description short">
<p>Méthode appelée lors d'une requête HTTP de type GET.</p>
 
</div>
 
<div class="description detailed hidden">
<p>Méthode appelée lors d'une requête HTTP de type GET.</p>
 
<p>Si la consultation est un succès, le code statut HTTP retourné sera 200.
Dans tous les autres cas, la méthode devra retourner le code statut HTTP
adéquate.</p>
 
 
 
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$ressources</var></dt>
<dd><code>array</code><br>Morceaux de l'url servant à préciser la ressource concerné pour le service
demandé.</dd>
<dt><var>$parametres</var></dt>
<dd><code>array</code><br>Partie de l'url situé après le '?' servant à paramétrer le service demandé.</dd>
</dl></div>
 
<h4>Returns</h4>
<div class="list">
<code>string</code><br>une chaine indiquant le succès de l'opération et les données demandées.<br>
</div>
 
 
 
<h4>Overrides</h4>
<div class="list"><code><a href="class-RestService.html#_consulter">RestService::consulter()</a></code></div>
 
</div>
</div></td>
</tr>
</table>
 
<table class="summary inherited">
<caption>Methods inherited from <a href="class-RestService.html#methods">RestService</a></caption>
<tr>
<td><code>
<a href="class-RestService.html#___construct">__construct()</a>,
<a href="class-RestService.html#_ajouter">ajouter()</a>,
<a href="class-RestService.html#_ajouterMessage">ajouterMessage()</a>,
<a href="class-RestService.html#_getBdd">getBdd()</a>,
<a href="class-RestService.html#_getRestClient">getRestClient()</a>,
<a href="class-RestService.html#_initialiser">initialiser()</a>,
<a href="class-RestService.html#_modifier">modifier()</a>,
<a href="class-RestService.html#_supprimer">supprimer()</a>,
<a href="class-RestService.html#_utiliserParametresBruts">utiliserParametresBruts()</a>
</code></td>
</tr>
</table>
 
 
 
 
 
 
 
 
 
 
 
 
<table class="summary inherited">
<caption>Properties inherited from <a href="class-RestService.html#properties">RestService</a></caption>
<tr>
<td><code>
<a href="class-RestService.html#$bdd"><var><span class="deprecated">$bdd</span></var></a>,
<a href="class-RestService.html#$utilisationParametresBruts"><var>$utilisationParametresBruts</var></a>
</code></td>
</tr>
</table>
 
 
 
 
 
</div>
 
<div id="footer">
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>
/trunk/doc/ApiGen/source-class-Url.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File Url.php</title>
<title>File framework/Url.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li class="active"><a href="class-Url.html">Url</a></li>
</ul>
534,7 → 538,7
</span><span id="426" class="l"><a class="l" href="#426">426: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/todo.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Todo</title>
<title>Todo | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
55,6 → 55,8
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonScript.html">MonScript</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Pattern.html">Pattern</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
61,6 → 63,9
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Tableau.html">Tableau</a></li>
<li><a href="class-Url.html">Url</a></li>
127,7 → 132,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-Config.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File Config.php</title>
<title>File framework/Config.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
391,7 → 395,7
</span><span id="283" class="l"><a class="l" href="#283">283: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-Cache.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Cache</title>
<title>Class Cache | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
148,7 → 152,7
$Id: Cache.php 299 2011-01-18 14:03:46Z jpm $<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-Cache.html#3-507" title="Go to source code">Cache.php</a><br>
<b>Located at</b> <a href="source-class-Cache.html#3-507" title="Go to source code">framework/Cache.php</a><br>
</div>
 
 
1327,7 → 1331,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-ServiceCacheSqlite.html
New file
0,0 → 1,208
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File exemples/services/modules/0.1/ServiceCacheSqlite.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
 
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
 
 
<div id="groups">
<h3>Packages</h3>
<ul>
<li class="active"><a href="package-Framework.html">Framework</a>
</li>
<li><a href="package-None.html">None</a>
</li>
<li><a href="package-PHP.html">PHP</a>
</li>
<li><a href="package-Utilitaire.html">Utilitaire</a>
</li>
</ul>
</div>
 
<hr>
 
 
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-Bdd.html">Bdd</a></li>
<li><a href="class-Cache.html">Cache</a></li>
<li><a href="class-CacheSimple.html">CacheSimple</a></li>
<li><a href="class-Chronometre.html">Chronometre</a></li>
<li><a href="class-Cli.html">Cli</a></li>
<li><a href="class-Config.html">Config</a></li>
<li><a href="class-Controleur.html">Controleur</a></li>
<li><a href="class-Debug.html">Debug</a></li>
<li><a href="class-Framework.html">Framework</a></li>
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li class="active"><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
 
 
 
 
 
</div>
</div>
</div>
 
<div id="splitter"></div>
 
<div id="right">
<div id="rightInner">
<form id="search">
<input type="hidden" name="cx" value="">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" class="text">
<input type="submit" value="Search">
</form>
 
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="package-Framework.html" title="Summary of Framework"><span>Package</span></a>
</li>
<li>
<a href="class-ServiceCacheSqlite.html" title="Summary of ServiceCacheSqlite"><span>Class</span></a>
</li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
<li>
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
</li>
<li>
<a href="todo.html" title="Todo list"><span>Todo</span></a>
</li>
</ul>
<ul>
</ul>
</div>
 
<pre><code><span id="1" class="l"><a class="l" href="#1"> 1: </a><span class="xlang">&lt;?php</span>
</span><span id="2" class="l"><a class="l" href="#2"> 2: </a><span class="php-keyword1">class</span> <a id="ServiceCacheSqlite" href="#ServiceCacheSqlite">ServiceCacheSqlite</a> <span class="php-keyword1">extends</span> RestService {
</span><span id="3" class="l"><a class="l" href="#3"> 3: </a>
</span><span id="4" class="l"><a class="l" href="#4"> 4: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_consulter" href="#_consulter">consulter</a>(<span class="php-var">$ressources</span>, <span class="php-var">$parametres</span>) {
</span><span id="5" class="l"><a class="l" href="#5"> 5: </a> <span class="php-comment">// Redéfinition ici mais peut être configuré depuis le fichier config.ini</span>
</span><span id="6" class="l"><a class="l" href="#6"> 6: </a> <span class="php-var">$options</span> = <span class="php-keyword1">array</span>(
</span><span id="7" class="l"><a class="l" href="#7"> 7: </a> <span class="php-quote">'stockage_mode'</span> =&gt; Cache::STOCKAGE_MODE_SQLITE,
</span><span id="8" class="l"><a class="l" href="#8"> 8: </a> <span class="php-quote">'stockage_chemin'</span> =&gt; Fichier::getDossierTmp().DS.<span class="php-quote">'cache.sqlite'</span>,
</span><span id="9" class="l"><a class="l" href="#9"> 9: </a> <span class="php-quote">'controle_ecriture'</span> =&gt; <span class="php-keyword1">false</span>,
</span><span id="10" class="l"><a class="l" href="#10">10: </a> <span class="php-quote">'mise_en_cache'</span> =&gt; <span class="php-keyword1">true</span>,
</span><span id="11" class="l"><a class="l" href="#11">11: </a> <span class="php-quote">'cache_id_prefixe'</span> =&gt; <span class="php-keyword1">null</span>,
</span><span id="12" class="l"><a class="l" href="#12">12: </a> <span class="php-quote">'serialisation_auto'</span> =&gt; <span class="php-keyword1">false</span>,
</span><span id="13" class="l"><a class="l" href="#13">13: </a> <span class="php-quote">'nettoyage_auto'</span> =&gt; <span class="php-num">10</span>,
</span><span id="14" class="l"><a class="l" href="#14">14: </a> <span class="php-quote">'duree_de_vie'</span> =&gt; <span class="php-num">3600</span>,
</span><span id="15" class="l"><a class="l" href="#15">15: </a> );
</span><span id="16" class="l"><a class="l" href="#16">16: </a> <span class="php-var">$cache</span> = <span class="php-keyword1">new</span> Cache(<span class="php-var">$options</span>);
</span><span id="17" class="l"><a class="l" href="#17">17: </a>
</span><span id="18" class="l"><a class="l" href="#18">18: </a> <span class="php-var">$id</span> = <span class="php-quote">'monCache'</span>; <span class="php-comment">// id de cache de &quot;ce que l'on veut cacher&quot;</span>
</span><span id="19" class="l"><a class="l" href="#19">19: </a> <span class="php-var">$id01</span> = <span class="php-var">$id</span>.<span class="php-quote">'01'</span>;
</span><span id="20" class="l"><a class="l" href="#20">20: </a> <span class="php-var">$id02</span> = <span class="php-var">$id</span>.<span class="php-quote">'02'</span>;
</span><span id="21" class="l"><a class="l" href="#21">21: </a> <span class="php-var">$id03</span> = <span class="php-var">$id</span>.<span class="php-quote">'03'</span>;
</span><span id="22" class="l"><a class="l" href="#22">22: </a> <span class="php-keyword1">if</span> (!(<span class="php-var">$donnees</span> = <span class="php-var">$cache</span>-&gt;charger(<span class="php-var">$id01</span>))) {
</span><span id="23" class="l"><a class="l" href="#23">23: </a> <span class="php-var">$donnees</span> = <span class="php-quote">'Mise en cache à : '</span>.<span class="php-keyword2">strftime</span>(<span class="php-quote">'%A %d %B %Y à %H:%M:%S'</span>, <span class="php-keyword2">time</span>()).<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="24" class="l"><a class="l" href="#24">24: </a> <span class="php-keyword1">for</span> (<span class="php-var">$i</span> = <span class="php-num">0</span>; <span class="php-var">$i</span> &lt; <span class="php-num">100000</span>; <span class="php-var">$i</span>++) {
</span><span id="25" class="l"><a class="l" href="#25">25: </a> <span class="php-var">$donnees</span> .= <span class="php-var">$i</span>;
</span><span id="26" class="l"><a class="l" href="#26">26: </a> }
</span><span id="27" class="l"><a class="l" href="#27">27: </a> <span class="php-var">$cache</span>-&gt;sauver(<span class="php-var">$donnees</span>, <span class="php-var">$id01</span>);
</span><span id="28" class="l"><a class="l" href="#28">28: </a> <span class="php-var">$cache</span>-&gt;sauver(<span class="php-var">$donnees</span>, <span class="php-var">$id02</span>, <span class="php-keyword1">array</span>(<span class="php-quote">'tagTest01'</span>));
</span><span id="29" class="l"><a class="l" href="#29">29: </a> <span class="php-var">$cache</span>-&gt;sauver(<span class="php-var">$donnees</span>, <span class="php-var">$id03</span>, <span class="php-keyword1">array</span>(<span class="php-quote">'tagTest01'</span>,<span class="php-quote">'tagTest02'</span>, <span class="php-quote">'tagTest03'</span>));
</span><span id="30" class="l"><a class="l" href="#30">30: </a> }
</span><span id="31" class="l"><a class="l" href="#31">31: </a> <span class="php-comment">// Affichage des données</span>
</span><span id="32" class="l"><a class="l" href="#32">32: </a> <span class="php-keyword1">echo</span> <span class="php-var">$donnees</span>.<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="33" class="l"><a class="l" href="#33">33: </a>
</span><span id="34" class="l"><a class="l" href="#34">34: </a> <span class="php-comment">// Affichage des ids du cache</span>
</span><span id="35" class="l"><a class="l" href="#35">35: </a> <span class="php-keyword1">echo</span> <span class="php-quote">'Ids des enregistrements en cache : &lt;pre&gt;'</span>.<span class="php-keyword2">print_r</span>(<span class="php-var">$cache</span>-&gt;getIds(), <span class="php-keyword1">true</span>).<span class="php-quote">'&lt;/pre&gt;'</span>;
</span><span id="36" class="l"><a class="l" href="#36">36: </a>
</span><span id="37" class="l"><a class="l" href="#37">37: </a> <span class="php-comment">// Affichage des ids du cache</span>
</span><span id="38" class="l"><a class="l" href="#38">38: </a> <span class="php-keyword1">echo</span> <span class="php-quote">'Tags des enregistrements en cache : &lt;pre&gt;'</span>.<span class="php-keyword2">print_r</span>(<span class="php-var">$cache</span>-&gt;getTags(), <span class="php-keyword1">true</span>).<span class="php-quote">'&lt;/pre&gt;'</span>;
</span><span id="39" class="l"><a class="l" href="#39">39: </a>
</span><span id="40" class="l"><a class="l" href="#40">40: </a> <span class="php-comment">// Affichage des ids du cache pour un tag donnée</span>
</span><span id="41" class="l"><a class="l" href="#41">41: </a> <span class="php-var">$tag01</span> = <span class="php-quote">'tagTest01'</span>;
</span><span id="42" class="l"><a class="l" href="#42">42: </a> <span class="php-var">$tag02</span> = <span class="php-quote">'tagTest02'</span>;
</span><span id="43" class="l"><a class="l" href="#43">43: </a> <span class="php-var">$tag03</span> = <span class="php-quote">'tagTest03'</span>;
</span><span id="44" class="l"><a class="l" href="#44">44: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;Ids avec les tag '</span><span class="php-var">$tag02</span><span class="php-quote">, </span><span class="php-var">$tag03</span><span class="php-quote">' : &quot;</span>.<span class="php-quote">'&lt;pre&gt;'</span>.<span class="php-keyword2">print_r</span>(<span class="php-var">$cache</span>-&gt;getIdsAvecLesTags(<span class="php-keyword1">array</span>(<span class="php-var">$tag02</span>, <span class="php-var">$tag03</span>)), <span class="php-keyword1">true</span>).<span class="php-quote">'&lt;/pre&gt;'</span>;
</span><span id="45" class="l"><a class="l" href="#45">45: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;Ids possédant le tag '</span><span class="php-var">$tag01</span><span class="php-quote">' : &quot;</span>.<span class="php-quote">'&lt;pre&gt;'</span>.<span class="php-keyword2">print_r</span>(<span class="php-var">$cache</span>-&gt;getIdsAvecUnTag(<span class="php-keyword1">array</span>(<span class="php-var">$tag01</span>)), <span class="php-keyword1">true</span>).<span class="php-quote">'&lt;/pre&gt;'</span>;
</span><span id="46" class="l"><a class="l" href="#46">46: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;Ids sans les tag '</span><span class="php-var">$tag01</span><span class="php-quote">, </span><span class="php-var">$tag02</span><span class="php-quote">' : &quot;</span>.<span class="php-quote">'&lt;pre&gt;'</span>.<span class="php-keyword2">print_r</span>(<span class="php-var">$cache</span>-&gt;getIdsSansLesTags(<span class="php-keyword1">array</span>(<span class="php-var">$tag01</span>, <span class="php-var">$tag02</span>)), <span class="php-keyword1">true</span>).<span class="php-quote">'&lt;/pre&gt;'</span>;
</span><span id="47" class="l"><a class="l" href="#47">47: </a>
</span><span id="48" class="l"><a class="l" href="#48">48: </a> <span class="php-comment">// Test du test de l'existence du cache</span>
</span><span id="49" class="l"><a class="l" href="#49">49: </a> <span class="php-var">$id_test</span> = <span class="php-var">$id01</span>;
</span><span id="50" class="l"><a class="l" href="#50">50: </a> <span class="php-keyword1">echo</span> (<span class="php-var">$cache</span>-&gt;tester(<span class="php-var">$id_test</span>) ? <span class="php-quote">&quot;OK : le cache '</span><span class="php-var">$id_test</span><span class="php-quote">' existe&quot;</span> : <span class="php-quote">&quot;KO : le cache '</span><span class="php-var">$id_test</span><span class="php-quote">' devrait exister&quot;</span>).<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="51" class="l"><a class="l" href="#51">51: </a>
</span><span id="52" class="l"><a class="l" href="#52">52: </a> <span class="php-comment">// Affichage du pourcentage de remplissage</span>
</span><span id="53" class="l"><a class="l" href="#53">53: </a> <span class="php-keyword1">echo</span> <span class="php-quote">'Pourcentage de remplissage : '</span>.<span class="php-var">$cache</span>-&gt;getPourcentageRemplissage().<span class="php-quote">'%&lt;br/&gt;'</span>;
</span><span id="54" class="l"><a class="l" href="#54">54: </a>
</span><span id="55" class="l"><a class="l" href="#55">55: </a> <span class="php-comment">// Affichage des métadonnées</span>
</span><span id="56" class="l"><a class="l" href="#56">56: </a> <span class="php-var">$meta03</span> = <span class="php-var">$cache</span>-&gt;getMetadonnees(<span class="php-var">$id03</span>);
</span><span id="57" class="l"><a class="l" href="#57">57: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;Métadonnées du cache '</span><span class="php-var">$id03</span><span class="php-quote">' : &lt;pre&gt;&quot;</span>.<span class="php-keyword2">print_r</span>(<span class="php-var">$meta03</span>, <span class="php-keyword1">true</span>).<span class="php-quote">'&lt;/pre&gt;'</span>;
</span><span id="58" class="l"><a class="l" href="#58">58: </a> <span class="php-var">$meta01</span> = <span class="php-var">$cache</span>-&gt;getMetadonnees(<span class="php-var">$id_test</span>);
</span><span id="59" class="l"><a class="l" href="#59">59: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;Métadonnées du cache '</span><span class="php-var">$id_test</span><span class="php-quote">' : &lt;pre&gt;&quot;</span>.<span class="php-keyword2">print_r</span>(<span class="php-var">$meta01</span>, <span class="php-keyword1">true</span>).<span class="php-quote">'&lt;/pre&gt;'</span>;
</span><span id="60" class="l"><a class="l" href="#60">60: </a>
</span><span id="61" class="l"><a class="l" href="#61">61: </a> <span class="php-comment">// Nettoyage &amp; suppression</span>
</span><span id="62" class="l"><a class="l" href="#62">62: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;Temps avant suppression du cache : &quot;</span>.(<span class="php-keyword2">time</span>() - <span class="php-var">$meta01</span>[<span class="php-quote">'expiration'</span>]).<span class="php-quote">'s&lt;br/&gt;'</span>;
</span><span id="63" class="l"><a class="l" href="#63">63: </a> <span class="php-keyword1">if</span> ((<span class="php-keyword2">time</span>() - <span class="php-var">$meta01</span>[<span class="php-quote">'expiration'</span>]) &gt;= -<span class="php-num">30</span>) {
</span><span id="64" class="l"><a class="l" href="#64">64: </a> <span class="php-comment">// Suppressions</span>
</span><span id="65" class="l"><a class="l" href="#65">65: </a> <span class="php-var">$cache</span>-&gt;supprimer(<span class="php-var">$id_test</span>);
</span><span id="66" class="l"><a class="l" href="#66">66: </a> <span class="php-keyword1">echo</span> (!<span class="php-var">$cache</span>-&gt;tester(<span class="php-var">$id_test</span>) ? <span class="php-quote">&quot;OK : le cache '</span><span class="php-var">$id_test</span><span class="php-quote">' a bien été supprimé&quot;</span> : <span class="php-quote">&quot;KO : le cache '</span><span class="php-var">$id_test</span><span class="php-quote">' n'a pas été supprimé&quot;</span>).<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="67" class="l"><a class="l" href="#67">67: </a>
</span><span id="68" class="l"><a class="l" href="#68">68: </a> <span class="php-comment">// Nettoyage</span>
</span><span id="69" class="l"><a class="l" href="#69">69: </a> <span class="php-var">$cache</span>-&gt;nettoyer(Cache::NETTOYAGE_MODE_AVEC_LES_TAGS, <span class="php-keyword1">array</span>(<span class="php-var">$tag02</span>, <span class="php-var">$tag03</span>));
</span><span id="70" class="l"><a class="l" href="#70">70: </a> <span class="php-keyword1">echo</span> (!<span class="php-var">$cache</span>-&gt;tester(<span class="php-var">$id03</span>) ? <span class="php-quote">&quot;OK : le cache '</span><span class="php-var">$id03</span><span class="php-quote">' a bien été supprimé&quot;</span> : <span class="php-quote">&quot;KO : le cache '</span><span class="php-var">$id03</span><span class="php-quote">' n'a pas été supprimé&quot;</span>).<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="71" class="l"><a class="l" href="#71">71: </a> <span class="php-var">$cache</span>-&gt;nettoyer(Cache::NETTOYAGE_MODE_SANS_LES_TAGS, <span class="php-keyword1">array</span>(<span class="php-var">$tag01</span>));
</span><span id="72" class="l"><a class="l" href="#72">72: </a> <span class="php-keyword1">echo</span> (<span class="php-var">$cache</span>-&gt;tester(<span class="php-var">$id02</span>) ? <span class="php-quote">&quot;OK : le cache '</span><span class="php-var">$id02</span><span class="php-quote">' n'a pas été supprimé&quot;</span> : <span class="php-quote">&quot;KO : le cache '</span><span class="php-var">$id02</span><span class="php-quote">' a été supprimé&quot;</span>).<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="73" class="l"><a class="l" href="#73">73: </a> <span class="php-var">$cache</span>-&gt;nettoyer(Cache::NETTOYAGE_MODE_EXPIRATION);
</span><span id="74" class="l"><a class="l" href="#74">74: </a> <span class="php-keyword1">echo</span> (<span class="php-var">$cache</span>-&gt;tester(<span class="php-var">$id02</span>) ? <span class="php-quote">&quot;OK : le cache '</span><span class="php-var">$id02</span><span class="php-quote">' n'a pas été supprimé&quot;</span> : <span class="php-quote">&quot;KO : le cache '</span><span class="php-var">$id02</span><span class="php-quote">' a été supprimé&quot;</span>).<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="75" class="l"><a class="l" href="#75">75: </a> <span class="php-var">$cache</span>-&gt;nettoyer(Cache::NETTOYAGE_MODE_TOUS);
</span><span id="76" class="l"><a class="l" href="#76">76: </a> <span class="php-keyword1">echo</span> (!<span class="php-var">$cache</span>-&gt;tester(<span class="php-var">$id01</span>) ? <span class="php-quote">&quot;OK : le cache '</span><span class="php-var">$id02</span><span class="php-quote">' a été supprimé&quot;</span> : <span class="php-quote">&quot;KO : le cache '</span><span class="php-var">$id02</span><span class="php-quote">' n'a pas été supprimé&quot;</span>).<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="77" class="l"><a class="l" href="#77">77: </a> } <span class="php-keyword1">else</span> <span class="php-keyword1">if</span> ((<span class="php-keyword2">time</span>() - <span class="php-var">$meta01</span>[<span class="php-quote">'expiration'</span>]) &lt; -<span class="php-num">60</span>) {
</span><span id="78" class="l"><a class="l" href="#78">78: </a> <span class="php-comment">// Test ajout d'une durée de vie supplémentaire</span>
</span><span id="79" class="l"><a class="l" href="#79">79: </a> <span class="php-var">$meta01</span> = <span class="php-var">$cache</span>-&gt;getMetadonnees(<span class="php-var">$id_test</span>);
</span><span id="80" class="l"><a class="l" href="#80">80: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;Durée de vie du cache '</span><span class="php-var">$id_test</span><span class="php-quote">' : &quot;</span>.<span class="php-var">$meta01</span>[<span class="php-quote">'expiration'</span>].<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="81" class="l"><a class="l" href="#81">81: </a> <span class="php-var">$cache</span>-&gt;ajouterSupplementDureeDeVie(<span class="php-var">$id_test</span>, -<span class="php-num">3540</span>);
</span><span id="82" class="l"><a class="l" href="#82">82: </a> <span class="php-var">$meta02</span> = <span class="php-var">$cache</span>-&gt;getMetadonnees(<span class="php-var">$id_test</span>);
</span><span id="83" class="l"><a class="l" href="#83">83: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;Durée de vie du cache '</span><span class="php-var">$id_test</span><span class="php-quote">' après ajout supplément de -3540s : &quot;</span>.<span class="php-var">$meta02</span>[<span class="php-quote">'expiration'</span>].
</span><span id="84" class="l"><a class="l" href="#84">84: </a> <span class="php-quote">' - diff. : '</span>.(<span class="php-var">$meta02</span>[<span class="php-quote">'expiration'</span>] - <span class="php-var">$meta01</span>[<span class="php-quote">'expiration'</span>]).<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="85" class="l"><a class="l" href="#85">85: </a> }
</span><span id="86" class="l"><a class="l" href="#86">86: </a> }
</span><span id="87" class="l"><a class="l" href="#87">87: </a>}
</span><span id="88" class="l"><a class="l" href="#88">88: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>
/trunk/doc/ApiGen/class-Script.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Script</title>
<title>Class Script | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li class="active"><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
117,6 → 121,10
 
 
 
<div>
<h4>Direct known subclasses</h4>
<a href="class-MonScript.html">MonScript</a>
</div>
 
 
 
150,7 → 158,7
0.3<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-Script.html#4-288" title="Go to source code">Script.php</a><br>
<b>Located at</b> <a href="source-class-Script.html#4-288" title="Go to source code">framework/Script.php</a><br>
</div>
 
 
770,7 → 778,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-GestionnaireException.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class GestionnaireException</title>
<title>Class GestionnaireException | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li class="active"><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
147,7 → 151,7
$Id: GestionnaireException.php 369 2011-10-03 12:47:17Z jpm $$<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-GestionnaireException.html#3-249" title="Go to source code">GestionnaireException.php</a><br>
<b>Located at</b> <a href="source-class-GestionnaireException.html#3-249" title="Go to source code">framework/GestionnaireException.php</a><br>
</div>
 
 
790,7 → 794,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-Fichier.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Fichier</title>
<title>Class Fichier | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
130,7 → 130,7
$Id: Fichier.php 352 2011-07-21 10:25:56Z jpm $<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-Fichier.html#3-201" title="Go to source code">utilitaires/Fichier.php</a><br>
<b>Located at</b> <a href="source-class-Fichier.html#3-201" title="Go to source code">framework/utilitaires/Fichier.php</a><br>
</div>
 
 
414,7 → 414,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-MonService.html
New file
0,0 → 1,280
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class MonService | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
 
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
 
 
<div id="groups">
<h3>Packages</h3>
<ul>
<li class="active"><a href="package-Framework.html">Framework</a>
</li>
<li><a href="package-None.html">None</a>
</li>
<li><a href="package-PHP.html">PHP</a>
</li>
<li><a href="package-Utilitaire.html">Utilitaire</a>
</li>
</ul>
</div>
 
<hr>
 
 
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-Bdd.html">Bdd</a></li>
<li><a href="class-Cache.html">Cache</a></li>
<li><a href="class-CacheSimple.html">CacheSimple</a></li>
<li><a href="class-Chronometre.html">Chronometre</a></li>
<li><a href="class-Cli.html">Cli</a></li>
<li><a href="class-Config.html">Config</a></li>
<li><a href="class-Controleur.html">Controleur</a></li>
<li><a href="class-Debug.html">Debug</a></li>
<li><a href="class-Framework.html">Framework</a></li>
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li class="active"><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
 
 
 
 
 
</div>
</div>
</div>
 
<div id="splitter"></div>
 
<div id="right">
<div id="rightInner">
<form id="search">
<input type="hidden" name="cx" value="">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" class="text">
<input type="submit" value="Search">
</form>
 
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="package-Framework.html" title="Summary of Framework"><span>Package</span></a>
</li>
<li class="active">
<span>Class</span> </li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
<li>
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
</li>
<li>
<a href="todo.html" title="Todo list"><span>Todo</span></a>
</li>
</ul>
<ul>
</ul>
</div>
 
<div id="content" class="class">
<h1>Class MonService</h1>
 
 
<div class="description">
<p>Classe principale gérant les services. Paramètres liés dans config.ini : -
serveur.baseURL</p>
 
<p>Encodage en entrée : utf8 Encodage en sortie : utf8</p>
 
</div>
 
<dl class="tree">
<dd style="padding-left:0px">
<a href="class-RestService.html"><span>RestService</span></a>
</dd>
<dd style="padding-left:30px">
<img src="resources/inherit.png" alt="Extended by">
<b><span>MonService</span></b>
</dd>
</dl>
 
 
 
 
 
 
 
 
<div class="info">
<b>Package:</b> <a href="package-Framework.html">Framework</a><br>
 
<b>Category:</b>
Php 5.2<br>
<b>Copyright:</b>
Copyright (c) 2010, Tela Botanica (<a
href="mailto:accueil&#64;tela-botanica.org">accueil&#64;<!-- -->tela-botanica.org</a>)<br>
<b>License:</b>
<a href="GPL">v3 &lt;http://www.gnu.org/licenses/gpl.txt&gt;</a><br>
<b>License:</b>
<a href="CECILL">v2 &lt;http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt&gt;</a><br>
<b>Author:</b>
Jean-Pascal MILCENT &lt;<a
href="mailto:jpm&#64;tela-botanica.org">jpm&#64;<!-- -->tela-botanica.org</a>&gt;<br>
<b>Version:</b>
$Id: RestService.php 417 2012-05-15 09:24:12Z jpm $<br>
<b>Since:</b>
0.3<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-MonService.html#2-7" title="Go to source code">exemples/services/modules/0.1/MonService.php</a><br>
</div>
 
 
 
<table class="summary" id="methods">
<caption>Methods summary</caption>
<tr data-order="consulter" id="_consulter">
 
<td class="attributes"><code>
public
string
</code>
</td>
 
<td class="name"><div>
<a class="anchor" href="#_consulter">#</a>
<code><a href="source-class-MonService.html#4-6" title="Go to source code">consulter</a>( <span>array <var>$ressources</var></span>, <span>array <var>$parametres</var></span> )</code>
 
<div class="description short">
<p>Méthode appelée lors d'une requête HTTP de type GET.</p>
 
</div>
 
<div class="description detailed hidden">
<p>Méthode appelée lors d'une requête HTTP de type GET.</p>
 
<p>Si la consultation est un succès, le code statut HTTP retourné sera 200.
Dans tous les autres cas, la méthode devra retourner le code statut HTTP
adéquate.</p>
 
 
 
<h4>Parameters</h4>
<div class="list"><dl>
<dt><var>$ressources</var></dt>
<dd><code>array</code><br>Morceaux de l'url servant à préciser la ressource concerné pour le service
demandé.</dd>
<dt><var>$parametres</var></dt>
<dd><code>array</code><br>Partie de l'url situé après le '?' servant à paramétrer le service demandé.</dd>
</dl></div>
 
<h4>Returns</h4>
<div class="list">
<code>string</code><br>une chaine indiquant le succès de l'opération et les données demandées.<br>
</div>
 
 
 
<h4>Overrides</h4>
<div class="list"><code><a href="class-RestService.html#_consulter">RestService::consulter()</a></code></div>
 
</div>
</div></td>
</tr>
</table>
 
<table class="summary inherited">
<caption>Methods inherited from <a href="class-RestService.html#methods">RestService</a></caption>
<tr>
<td><code>
<a href="class-RestService.html#___construct">__construct()</a>,
<a href="class-RestService.html#_ajouter">ajouter()</a>,
<a href="class-RestService.html#_ajouterMessage">ajouterMessage()</a>,
<a href="class-RestService.html#_getBdd">getBdd()</a>,
<a href="class-RestService.html#_getRestClient">getRestClient()</a>,
<a href="class-RestService.html#_initialiser">initialiser()</a>,
<a href="class-RestService.html#_modifier">modifier()</a>,
<a href="class-RestService.html#_supprimer">supprimer()</a>,
<a href="class-RestService.html#_utiliserParametresBruts">utiliserParametresBruts()</a>
</code></td>
</tr>
</table>
 
 
 
 
 
 
 
 
 
 
 
 
<table class="summary inherited">
<caption>Properties inherited from <a href="class-RestService.html#properties">RestService</a></caption>
<tr>
<td><code>
<a href="class-RestService.html#$bdd"><var><span class="deprecated">$bdd</span></var></a>,
<a href="class-RestService.html#$utilisationParametresBruts"><var>$utilisationParametresBruts</var></a>
</code></td>
</tr>
</table>
 
 
 
 
 
</div>
 
<div id="footer">
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>
/trunk/doc/ApiGen/source-class-ServiceCacheFichier.html
New file
0,0 → 1,219
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File exemples/services/modules/0.1/ServiceCacheFichier.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
 
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
 
 
<div id="groups">
<h3>Packages</h3>
<ul>
<li class="active"><a href="package-Framework.html">Framework</a>
</li>
<li><a href="package-None.html">None</a>
</li>
<li><a href="package-PHP.html">PHP</a>
</li>
<li><a href="package-Utilitaire.html">Utilitaire</a>
</li>
</ul>
</div>
 
<hr>
 
 
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-Bdd.html">Bdd</a></li>
<li><a href="class-Cache.html">Cache</a></li>
<li><a href="class-CacheSimple.html">CacheSimple</a></li>
<li><a href="class-Chronometre.html">Chronometre</a></li>
<li><a href="class-Cli.html">Cli</a></li>
<li><a href="class-Config.html">Config</a></li>
<li><a href="class-Controleur.html">Controleur</a></li>
<li><a href="class-Debug.html">Debug</a></li>
<li><a href="class-Framework.html">Framework</a></li>
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li class="active"><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
 
 
 
 
 
</div>
</div>
</div>
 
<div id="splitter"></div>
 
<div id="right">
<div id="rightInner">
<form id="search">
<input type="hidden" name="cx" value="">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" class="text">
<input type="submit" value="Search">
</form>
 
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="package-Framework.html" title="Summary of Framework"><span>Package</span></a>
</li>
<li>
<a href="class-ServiceCacheFichier.html" title="Summary of ServiceCacheFichier"><span>Class</span></a>
</li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
<li>
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
</li>
<li>
<a href="todo.html" title="Todo list"><span>Todo</span></a>
</li>
</ul>
<ul>
</ul>
</div>
 
<pre><code><span id="1" class="l"><a class="l" href="#1"> 1: </a><span class="xlang">&lt;?php</span>
</span><span id="2" class="l"><a class="l" href="#2"> 2: </a><span class="php-keyword1">class</span> <a id="ServiceCacheFichier" href="#ServiceCacheFichier">ServiceCacheFichier</a> <span class="php-keyword1">extends</span> RestService {
</span><span id="3" class="l"><a class="l" href="#3"> 3: </a>
</span><span id="4" class="l"><a class="l" href="#4"> 4: </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_consulter" href="#_consulter">consulter</a>(<span class="php-var">$ressources</span>, <span class="php-var">$parametres</span>) {
</span><span id="5" class="l"><a class="l" href="#5"> 5: </a> <span class="php-comment">// Redéfinition ici mais peut être configuré depuis le fichier config.ini</span>
</span><span id="6" class="l"><a class="l" href="#6"> 6: </a> <span class="php-var">$options</span> = <span class="php-keyword1">array</span>(
</span><span id="7" class="l"><a class="l" href="#7"> 7: </a> <span class="php-quote">'stockage_mode'</span> =&gt; Cache::STOCKAGE_MODE_FICHIER,
</span><span id="8" class="l"><a class="l" href="#8"> 8: </a> <span class="php-quote">'stockage_chemin'</span> =&gt; Fichier::getDossierTmp(),
</span><span id="9" class="l"><a class="l" href="#9"> 9: </a> <span class="php-quote">'controle_ecriture'</span> =&gt; <span class="php-keyword1">false</span>,
</span><span id="10" class="l"><a class="l" href="#10">10: </a> <span class="php-quote">'mise_en_cache'</span> =&gt; <span class="php-keyword1">true</span>,
</span><span id="11" class="l"><a class="l" href="#11">11: </a> <span class="php-quote">'cache_id_prefixe'</span> =&gt; <span class="php-keyword1">null</span>,
</span><span id="12" class="l"><a class="l" href="#12">12: </a> <span class="php-quote">'serialisation_auto'</span> =&gt; <span class="php-keyword1">false</span>,
</span><span id="13" class="l"><a class="l" href="#13">13: </a> <span class="php-quote">'nettoyage_auto'</span> =&gt; <span class="php-num">10</span>,
</span><span id="14" class="l"><a class="l" href="#14">14: </a> <span class="php-quote">'duree_de_vie'</span> =&gt; <span class="php-num">3600</span>,
</span><span id="15" class="l"><a class="l" href="#15">15: </a> );
</span><span id="16" class="l"><a class="l" href="#16">16: </a> <span class="php-comment">// Redéfinition ici mais peut être configuré depuis le fichier config.ini</span>
</span><span id="17" class="l"><a class="l" href="#17">17: </a> <span class="php-var">$options_stockage</span> = <span class="php-keyword1">array</span>(
</span><span id="18" class="l"><a class="l" href="#18">18: </a> <span class="php-quote">'fichier_verrou'</span> =&gt; <span class="php-keyword1">false</span>,
</span><span id="19" class="l"><a class="l" href="#19">19: </a> <span class="php-quote">'controle_lecture'</span> =&gt; <span class="php-keyword1">false</span>,
</span><span id="20" class="l"><a class="l" href="#20">20: </a> <span class="php-quote">'controle_lecture_type'</span> =&gt; <span class="php-quote">'crc32'</span>,
</span><span id="21" class="l"><a class="l" href="#21">21: </a> <span class="php-quote">'dossier_niveau'</span> =&gt; <span class="php-num">2</span>,
</span><span id="22" class="l"><a class="l" href="#22">22: </a> <span class="php-quote">'dossier_umask'</span> =&gt; <span class="php-num">0707</span>,
</span><span id="23" class="l"><a class="l" href="#23">23: </a> <span class="php-quote">'fichier_prefixe'</span> =&gt; <span class="php-quote">'tbf'</span>,
</span><span id="24" class="l"><a class="l" href="#24">24: </a> <span class="php-quote">'fichier_umask'</span> =&gt; <span class="php-num">0606</span>,
</span><span id="25" class="l"><a class="l" href="#25">25: </a> <span class="php-quote">'metadonnees_max_taille'</span> =&gt; <span class="php-num">100</span>
</span><span id="26" class="l"><a class="l" href="#26">26: </a> );
</span><span id="27" class="l"><a class="l" href="#27">27: </a> <span class="php-var">$cache</span> = <span class="php-keyword1">new</span> Cache(<span class="php-var">$options</span>, <span class="php-var">$options_stockage</span>);
</span><span id="28" class="l"><a class="l" href="#28">28: </a>
</span><span id="29" class="l"><a class="l" href="#29">29: </a> <span class="php-var">$id</span> = <span class="php-quote">'monCache'</span>; <span class="php-comment">// id de cache de &quot;ce que l'on veut cacher&quot;</span>
</span><span id="30" class="l"><a class="l" href="#30">30: </a> <span class="php-var">$id01</span> = <span class="php-var">$id</span>.<span class="php-quote">'01'</span>;
</span><span id="31" class="l"><a class="l" href="#31">31: </a> <span class="php-var">$id02</span> = <span class="php-var">$id</span>.<span class="php-quote">'02'</span>;
</span><span id="32" class="l"><a class="l" href="#32">32: </a> <span class="php-var">$id03</span> = <span class="php-var">$id</span>.<span class="php-quote">'03'</span>;
</span><span id="33" class="l"><a class="l" href="#33">33: </a> <span class="php-keyword1">if</span> (!(<span class="php-var">$donnees</span> = <span class="php-var">$cache</span>-&gt;charger(<span class="php-var">$id01</span>))) {
</span><span id="34" class="l"><a class="l" href="#34">34: </a> <span class="php-var">$donnees</span> = <span class="php-quote">'Mise en cache à : '</span>.<span class="php-keyword2">strftime</span>(<span class="php-quote">'%A %d %B %Y à %H:%M:%S'</span>, <span class="php-keyword2">time</span>()).<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="35" class="l"><a class="l" href="#35">35: </a> <span class="php-keyword1">for</span> (<span class="php-var">$i</span> = <span class="php-num">0</span>; <span class="php-var">$i</span> &lt; <span class="php-num">100000</span>; <span class="php-var">$i</span>++) {
</span><span id="36" class="l"><a class="l" href="#36">36: </a> <span class="php-var">$donnees</span> .= <span class="php-var">$i</span>;
</span><span id="37" class="l"><a class="l" href="#37">37: </a> }
</span><span id="38" class="l"><a class="l" href="#38">38: </a> <span class="php-var">$cache</span>-&gt;sauver(<span class="php-var">$donnees</span>, <span class="php-var">$id01</span>);
</span><span id="39" class="l"><a class="l" href="#39">39: </a> <span class="php-var">$cache</span>-&gt;sauver(<span class="php-var">$donnees</span>, <span class="php-var">$id02</span>, <span class="php-keyword1">array</span>(<span class="php-quote">'tagTest01'</span>));
</span><span id="40" class="l"><a class="l" href="#40">40: </a> <span class="php-var">$cache</span>-&gt;sauver(<span class="php-var">$donnees</span>, <span class="php-var">$id03</span>, <span class="php-keyword1">array</span>(<span class="php-quote">'tagTest01'</span>,<span class="php-quote">'tagTest02'</span>, <span class="php-quote">'tagTest03'</span>));
</span><span id="41" class="l"><a class="l" href="#41">41: </a> }
</span><span id="42" class="l"><a class="l" href="#42">42: </a> <span class="php-comment">// Affichage des données</span>
</span><span id="43" class="l"><a class="l" href="#43">43: </a> <span class="php-keyword1">echo</span> <span class="php-var">$donnees</span>.<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="44" class="l"><a class="l" href="#44">44: </a>
</span><span id="45" class="l"><a class="l" href="#45">45: </a> <span class="php-comment">// Affichage des ids du cache</span>
</span><span id="46" class="l"><a class="l" href="#46">46: </a> <span class="php-keyword1">echo</span> <span class="php-quote">'Ids des enregistrements en cache : &lt;pre&gt;'</span>.<span class="php-keyword2">print_r</span>(<span class="php-var">$cache</span>-&gt;getIds(), <span class="php-keyword1">true</span>).<span class="php-quote">'&lt;/pre&gt;'</span>;
</span><span id="47" class="l"><a class="l" href="#47">47: </a>
</span><span id="48" class="l"><a class="l" href="#48">48: </a> <span class="php-comment">// Affichage des ids du cache</span>
</span><span id="49" class="l"><a class="l" href="#49">49: </a> <span class="php-keyword1">echo</span> <span class="php-quote">'Tags des enregistrements en cache : &lt;pre&gt;'</span>.<span class="php-keyword2">print_r</span>(<span class="php-var">$cache</span>-&gt;getTags(), <span class="php-keyword1">true</span>).<span class="php-quote">'&lt;/pre&gt;'</span>;
</span><span id="50" class="l"><a class="l" href="#50">50: </a>
</span><span id="51" class="l"><a class="l" href="#51">51: </a> <span class="php-comment">// Affichage des ids du cache pour un tag donnée</span>
</span><span id="52" class="l"><a class="l" href="#52">52: </a> <span class="php-var">$tag01</span> = <span class="php-quote">'tagTest01'</span>;
</span><span id="53" class="l"><a class="l" href="#53">53: </a> <span class="php-var">$tag02</span> = <span class="php-quote">'tagTest02'</span>;
</span><span id="54" class="l"><a class="l" href="#54">54: </a> <span class="php-var">$tag03</span> = <span class="php-quote">'tagTest03'</span>;
</span><span id="55" class="l"><a class="l" href="#55">55: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;Ids avec les tag '</span><span class="php-var">$tag02</span><span class="php-quote">, </span><span class="php-var">$tag03</span><span class="php-quote">' : &quot;</span>.<span class="php-quote">'&lt;pre&gt;'</span>.<span class="php-keyword2">print_r</span>(<span class="php-var">$cache</span>-&gt;getIdsAvecLesTags(<span class="php-keyword1">array</span>(<span class="php-var">$tag02</span>, <span class="php-var">$tag03</span>)), <span class="php-keyword1">true</span>).<span class="php-quote">'&lt;/pre&gt;'</span>;
</span><span id="56" class="l"><a class="l" href="#56">56: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;Ids possédant le tag '</span><span class="php-var">$tag01</span><span class="php-quote">' : &quot;</span>.<span class="php-quote">'&lt;pre&gt;'</span>.<span class="php-keyword2">print_r</span>(<span class="php-var">$cache</span>-&gt;getIdsAvecUnTag(<span class="php-keyword1">array</span>(<span class="php-var">$tag01</span>)), <span class="php-keyword1">true</span>).<span class="php-quote">'&lt;/pre&gt;'</span>;
</span><span id="57" class="l"><a class="l" href="#57">57: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;Ids sans les tag '</span><span class="php-var">$tag01</span><span class="php-quote">, </span><span class="php-var">$tag02</span><span class="php-quote">' : &quot;</span>.<span class="php-quote">'&lt;pre&gt;'</span>.<span class="php-keyword2">print_r</span>(<span class="php-var">$cache</span>-&gt;getIdsSansLesTags(<span class="php-keyword1">array</span>(<span class="php-var">$tag01</span>, <span class="php-var">$tag02</span>)), <span class="php-keyword1">true</span>).<span class="php-quote">'&lt;/pre&gt;'</span>;
</span><span id="58" class="l"><a class="l" href="#58">58: </a>
</span><span id="59" class="l"><a class="l" href="#59">59: </a> <span class="php-comment">// Test du test de l'existence du cache</span>
</span><span id="60" class="l"><a class="l" href="#60">60: </a> <span class="php-var">$id_test</span> = <span class="php-var">$id01</span>;
</span><span id="61" class="l"><a class="l" href="#61">61: </a> <span class="php-keyword1">echo</span> (<span class="php-var">$cache</span>-&gt;tester(<span class="php-var">$id_test</span>) ? <span class="php-quote">&quot;OK : le cache '</span><span class="php-var">$id_test</span><span class="php-quote">' existe&quot;</span> : <span class="php-quote">&quot;KO : le cache '</span><span class="php-var">$id_test</span><span class="php-quote">' devrait exister&quot;</span>).<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="62" class="l"><a class="l" href="#62">62: </a>
</span><span id="63" class="l"><a class="l" href="#63">63: </a> <span class="php-comment">// Affichage du pourcentage de remplissage</span>
</span><span id="64" class="l"><a class="l" href="#64">64: </a> <span class="php-keyword1">echo</span> <span class="php-quote">'Pourcentage de remplissage : '</span>.<span class="php-var">$cache</span>-&gt;getPourcentageRemplissage().<span class="php-quote">'%&lt;br/&gt;'</span>;
</span><span id="65" class="l"><a class="l" href="#65">65: </a>
</span><span id="66" class="l"><a class="l" href="#66">66: </a> <span class="php-comment">// Affichage des métadonnées</span>
</span><span id="67" class="l"><a class="l" href="#67">67: </a> <span class="php-var">$meta03</span> = <span class="php-var">$cache</span>-&gt;getMetadonnees(<span class="php-var">$id03</span>);
</span><span id="68" class="l"><a class="l" href="#68">68: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;Métadonnées du cache '</span><span class="php-var">$id03</span><span class="php-quote">' : &lt;pre&gt;&quot;</span>.<span class="php-keyword2">print_r</span>(<span class="php-var">$meta03</span>, <span class="php-keyword1">true</span>).<span class="php-quote">'&lt;/pre&gt;'</span>;
</span><span id="69" class="l"><a class="l" href="#69">69: </a> <span class="php-var">$meta01</span> = <span class="php-var">$cache</span>-&gt;getMetadonnees(<span class="php-var">$id_test</span>);
</span><span id="70" class="l"><a class="l" href="#70">70: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;Métadonnées du cache '</span><span class="php-var">$id_test</span><span class="php-quote">' : &lt;pre&gt;&quot;</span>.<span class="php-keyword2">print_r</span>(<span class="php-var">$meta01</span>, <span class="php-keyword1">true</span>).<span class="php-quote">'&lt;/pre&gt;'</span>;
</span><span id="71" class="l"><a class="l" href="#71">71: </a>
</span><span id="72" class="l"><a class="l" href="#72">72: </a> <span class="php-comment">// Nettoyage &amp; suppression</span>
</span><span id="73" class="l"><a class="l" href="#73">73: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;Temps avant suppression du cache : &quot;</span>.(<span class="php-keyword2">time</span>() - <span class="php-var">$meta01</span>[<span class="php-quote">'expiration'</span>]).<span class="php-quote">'s&lt;br/&gt;'</span>;
</span><span id="74" class="l"><a class="l" href="#74">74: </a> <span class="php-keyword1">if</span> ((<span class="php-keyword2">time</span>() - <span class="php-var">$meta01</span>[<span class="php-quote">'expiration'</span>]) &gt;= -<span class="php-num">30</span>) {
</span><span id="75" class="l"><a class="l" href="#75">75: </a> <span class="php-comment">// Suppressions</span>
</span><span id="76" class="l"><a class="l" href="#76">76: </a> <span class="php-var">$cache</span>-&gt;supprimer(<span class="php-var">$id_test</span>);
</span><span id="77" class="l"><a class="l" href="#77">77: </a> <span class="php-keyword1">echo</span> (!<span class="php-var">$cache</span>-&gt;tester(<span class="php-var">$id_test</span>) ? <span class="php-quote">&quot;OK : le cache '</span><span class="php-var">$id_test</span><span class="php-quote">' a bien été supprimé&quot;</span> : <span class="php-quote">&quot;KO : le cache '</span><span class="php-var">$id_test</span><span class="php-quote">' n'a pas été supprimé&quot;</span>).<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="78" class="l"><a class="l" href="#78">78: </a>
</span><span id="79" class="l"><a class="l" href="#79">79: </a> <span class="php-comment">// Nettoyage</span>
</span><span id="80" class="l"><a class="l" href="#80">80: </a> <span class="php-var">$cache</span>-&gt;nettoyer(Cache::NETTOYAGE_MODE_AVEC_LES_TAGS, <span class="php-keyword1">array</span>(<span class="php-var">$tag02</span>, <span class="php-var">$tag03</span>));
</span><span id="81" class="l"><a class="l" href="#81">81: </a> <span class="php-keyword1">echo</span> (!<span class="php-var">$cache</span>-&gt;tester(<span class="php-var">$id03</span>) ? <span class="php-quote">&quot;OK : le cache '</span><span class="php-var">$id03</span><span class="php-quote">' a bien été supprimé&quot;</span> : <span class="php-quote">&quot;KO : le cache '</span><span class="php-var">$id03</span><span class="php-quote">' n'a pas été supprimé&quot;</span>).<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="82" class="l"><a class="l" href="#82">82: </a> <span class="php-var">$cache</span>-&gt;nettoyer(Cache::NETTOYAGE_MODE_SANS_LES_TAGS, <span class="php-keyword1">array</span>(<span class="php-var">$tag01</span>));
</span><span id="83" class="l"><a class="l" href="#83">83: </a> <span class="php-keyword1">echo</span> (<span class="php-var">$cache</span>-&gt;tester(<span class="php-var">$id02</span>) ? <span class="php-quote">&quot;OK : le cache '</span><span class="php-var">$id02</span><span class="php-quote">' n'a pas été supprimé&quot;</span> : <span class="php-quote">&quot;KO : le cache '</span><span class="php-var">$id02</span><span class="php-quote">' a été supprimé&quot;</span>).<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="84" class="l"><a class="l" href="#84">84: </a> <span class="php-var">$cache</span>-&gt;nettoyer(Cache::NETTOYAGE_MODE_EXPIRATION);
</span><span id="85" class="l"><a class="l" href="#85">85: </a> <span class="php-keyword1">echo</span> (<span class="php-var">$cache</span>-&gt;tester(<span class="php-var">$id02</span>) ? <span class="php-quote">&quot;OK : le cache '</span><span class="php-var">$id02</span><span class="php-quote">' n'a pas été supprimé&quot;</span> : <span class="php-quote">&quot;KO : le cache '</span><span class="php-var">$id02</span><span class="php-quote">' a été supprimé&quot;</span>).<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="86" class="l"><a class="l" href="#86">86: </a> <span class="php-var">$cache</span>-&gt;nettoyer(Cache::NETTOYAGE_MODE_TOUS);
</span><span id="87" class="l"><a class="l" href="#87">87: </a> <span class="php-keyword1">echo</span> (!<span class="php-var">$cache</span>-&gt;tester(<span class="php-var">$id01</span>) ? <span class="php-quote">&quot;OK : le cache '</span><span class="php-var">$id02</span><span class="php-quote">' a été supprimé&quot;</span> : <span class="php-quote">&quot;KO : le cache '</span><span class="php-var">$id02</span><span class="php-quote">' n'a pas été supprimé&quot;</span>).<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="88" class="l"><a class="l" href="#88">88: </a> } <span class="php-keyword1">else</span> <span class="php-keyword1">if</span> ((<span class="php-keyword2">time</span>() - <span class="php-var">$meta01</span>[<span class="php-quote">'expiration'</span>]) &lt; -<span class="php-num">60</span>) {
</span><span id="89" class="l"><a class="l" href="#89">89: </a> <span class="php-comment">// Test ajout d'une durée de vie supplémentaire</span>
</span><span id="90" class="l"><a class="l" href="#90">90: </a> <span class="php-var">$meta01</span> = <span class="php-var">$cache</span>-&gt;getMetadonnees(<span class="php-var">$id_test</span>);
</span><span id="91" class="l"><a class="l" href="#91">91: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;Durée de vie du cache '</span><span class="php-var">$id_test</span><span class="php-quote">' : &quot;</span>.<span class="php-var">$meta01</span>[<span class="php-quote">'expiration'</span>].<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="92" class="l"><a class="l" href="#92">92: </a> <span class="php-var">$cache</span>-&gt;ajouterSupplementDureeDeVie(<span class="php-var">$id_test</span>, -<span class="php-num">3540</span>);
</span><span id="93" class="l"><a class="l" href="#93">93: </a> <span class="php-var">$meta02</span> = <span class="php-var">$cache</span>-&gt;getMetadonnees(<span class="php-var">$id_test</span>);
</span><span id="94" class="l"><a class="l" href="#94">94: </a> <span class="php-keyword1">echo</span> <span class="php-quote">&quot;Durée de vie du cache '</span><span class="php-var">$id_test</span><span class="php-quote">' après ajout supplément de -3540s : &quot;</span>.<span class="php-var">$meta02</span>[<span class="php-quote">'expiration'</span>].
</span><span id="95" class="l"><a class="l" href="#95">95: </a> <span class="php-quote">' - diff. : '</span>.(<span class="php-var">$meta02</span>[<span class="php-quote">'expiration'</span>] - <span class="php-var">$meta01</span>[<span class="php-quote">'expiration'</span>]).<span class="php-quote">'&lt;br/&gt;'</span>;
</span><span id="96" class="l"><a class="l" href="#96">96: </a> }
</span><span id="97" class="l"><a class="l" href="#97">97: </a> }
</span><span id="98" class="l"><a class="l" href="#98">98: </a>}
</span><span id="99" class="l"><a class="l" href="#99">99: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>
/trunk/doc/ApiGen/class-Tableau.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Tableau</title>
<title>Class Tableau | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
119,7 → 119,7
<b>Author:</b>
Jean-Pascal MILCENT &lt;<a
href="mailto:jpm&#64;tela-botanica.org">jpm&#64;<!-- -->tela-botanica.org</a>&gt;<br>
<b>Located at</b> <a href="source-class-Tableau.html#16-150" title="Go to source code">utilitaires/Tableau.php</a><br>
<b>Located at</b> <a href="source-class-Tableau.html#16-150" title="Go to source code">framework/utilitaires/Tableau.php</a><br>
</div>
 
 
416,7 → 416,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-MonScript.html
New file
0,0 → 1,306
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class MonScript | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
 
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
 
 
<div id="groups">
<h3>Packages</h3>
<ul>
<li><a href="package-Framework.html">Framework</a>
</li>
<li class="active"><a href="package-None.html">None</a>
</li>
<li><a href="package-PHP.html">PHP</a>
</li>
<li><a href="package-Utilitaire.html">Utilitaire</a>
</li>
</ul>
</div>
 
<hr>
 
 
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-CacheFichier.html">CacheFichier</a></li>
<li><a href="class-CacheSqlite.html">CacheSqlite</a></li>
<li class="active"><a href="class-MonScript.html">MonScript</a></li>
</ul>
 
 
 
 
 
</div>
</div>
</div>
 
<div id="splitter"></div>
 
<div id="right">
<div id="rightInner">
<form id="search">
<input type="hidden" name="cx" value="">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" class="text">
<input type="submit" value="Search">
</form>
 
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="package-None.html" title="Summary of None"><span>Package</span></a>
</li>
<li class="active">
<span>Class</span> </li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
<li>
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
</li>
<li>
<a href="todo.html" title="Todo list"><span>Todo</span></a>
</li>
</ul>
<ul>
</ul>
</div>
 
<div id="content" class="class">
<h1>Class MonScript</h1>
 
 
<div class="description">
<p>Exemple de script utilisable avec le TBFramework. Pour le lancer, taper en
ligne de commande, en vous plaçant dans le dossier /framework/exemple/scripts/
: <code>/opt/lampp/bin/php cli.php mon_script -a test</code></p>
 
</div>
 
<dl class="tree">
<dd style="padding-left:0px">
<a href="class-Script.html"><span>Script</span></a>
</dd>
<dd style="padding-left:30px">
<img src="resources/inherit.png" alt="Extended by">
<b><span>MonScript</span></b>
</dd>
</dl>
 
 
 
 
 
 
 
 
<div class="info">
 
<b>Copyright:</b>
Copyright (c) 2010, Tela Botanica (<a
href="mailto:accueil&#64;tela-botanica.org">accueil&#64;<!-- -->tela-botanica.org</a>)<br>
<b>License:</b>
<a href="http://www.gnu.org/licenses/gpl.html">Licence GNU-GPL-v3</a><br>
<b>License:</b>
<a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL-v2</a><br>
<b>Author:</b>
Jean-Pascal MILCENT &lt;<a
href="mailto:jpm&#64;tela-botanica.org">jpm&#64;<!-- -->tela-botanica.org</a>&gt;<br>
<b>Version:</b>
$Id$<br>
<b>Located at</b> <a href="source-class-MonScript.html#3-65" title="Go to source code">exemples/scripts/modules/mon_script/MonScript.php</a><br>
</div>
 
 
 
<table class="summary" id="methods">
<caption>Methods summary</caption>
<tr data-order="executer" id="_executer">
 
<td class="attributes"><code>
public
</code>
</td>
 
<td class="name"><div>
<a class="anchor" href="#_executer">#</a>
<code><a href="source-class-MonScript.html#19-31" title="Go to source code">executer</a>( )</code>
 
<div class="description short">
</div>
 
<div class="description detailed hidden">
 
 
 
 
 
 
 
</div>
</div></td>
</tr>
</table>
 
<table class="summary inherited">
<caption>Methods inherited from <a href="class-Script.html#methods">Script</a></caption>
<tr>
<td><code>
<a href="class-Script.html#___construct">__construct()</a>,
<a href="class-Script.html#_afficherAvancement">afficherAvancement()</a>,
<a href="class-Script.html#_formaterMsg">formaterMsg()</a>,
<a href="class-Script.html#_getParametre">getParametre()</a>,
<a href="class-Script.html#_getScriptChemin">getScriptChemin()</a>,
<a href="class-Script.html#_getScriptNom">getScriptNom()</a>,
<a href="class-Script.html#_traiterAvertissement">traiterAvertissement()</a>,
<a href="class-Script.html#_traiterErreur">traiterErreur()</a>,
<a href="class-Script.html#_traiterInfo">traiterInfo()</a>
</code></td>
</tr>
</table>
 
 
 
 
 
 
 
 
<table class="summary inherited">
<caption>Constants inherited from <a href="class-Script.html#constants">Script</a></caption>
<tr>
<td><code>
<a href="class-Script.html#MSG_AVERTISSEMENT"><b>MSG_AVERTISSEMENT</b></a>,
<a href="class-Script.html#MSG_ERREUR"><b>MSG_ERREUR</b></a>,
<a href="class-Script.html#MSG_INFO"><b>MSG_INFO</b></a>,
<a href="class-Script.html#MSG_LOG"><b>MSG_LOG</b></a>
</code></td>
</tr>
</table>
 
 
 
<table class="summary" id="properties">
<caption>Properties summary</caption>
<tr data-order="parametres_autorises" id="$parametres_autorises">
<td class="attributes"><code>
protected
array
</code></td>
 
<td class="name">
<a href="source-class-MonScript.html#16-17" title="Go to source code"><var>$parametres_autorises</var></a>
</td>
<td class="value"><code><span class="php-keyword1">array</span>(
<span class="php-quote">'-y'</span> =&gt; <span class="php-keyword1">array</span>(<span class="php-keyword1">false</span>, <span class="php-quote">'exemple de valeur par défaut'</span>, <span class="php-quote">'Un parametre supplémentaire de test'</span>))</code></td>
<td class="description"><div>
<a href="#$parametres_autorises" class="anchor">#</a>
 
<div class="description short">
<p>Paramêtres autorisés par le script. le tableau est de la forme suivante
:</p>
 
<ul>
<li>clé = nom du paramêtre '-foo'</li>
 
<li>value = contient un nouveau tableau composé de cette façon :
<ul>
<li>booléen: true si le paramêtre est obligatoire</li>
 
<li>booléen ou var : true si le paramêtre nécessite un valeur à sa suite ou
la valeur par défaut</li>
 
<li>string: description du contenu du paramêtre</li>
</ul>
</li>
</ul>
 
<p>Les paramêtres optionels devraient être déclaré à la fin du tableau. Le
dernier parametre du tableau peut avoir la valeur '...', il contiendra alors
l'ensemble des paramêtres suivant trouvés sur la ligne de commande.</p>
 
</div>
 
<div class="description detailed hidden">
<p>Paramêtres autorisés par le script. le tableau est de la forme suivante
:</p>
 
<ul>
<li>clé = nom du paramêtre '-foo'</li>
 
<li>value = contient un nouveau tableau composé de cette façon : - booléen:
true si le paramêtre est obligatoire - booléen ou var : true si le paramêtre
nécessite un valeur à sa suite ou la valeur par défaut - string: description
du contenu du paramêtre</li>
</ul>
 
<p>Les paramêtres optionels devraient être déclaré à la fin du tableau. Le
dernier parametre du tableau peut avoir la valeur '...', il contiendra alors
l'ensemble des paramêtres suivant trouvés sur la ligne de commande.</p>
 
 
</div>
</div></td>
</tr>
</table>
 
<table class="summary inherited">
<caption>Properties inherited from <a href="class-Script.html#properties">Script</a></caption>
<tr>
<td><code>
<a href="class-Script.html#$parametres"><var>$parametres</var></a>
</code></td>
</tr>
</table>
 
 
 
 
 
</div>
 
<div id="footer">
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>
/trunk/doc/ApiGen/class-SquelettePhp.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class SquelettePhp</title>
<title>Class SquelettePhp | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
50,11 → 50,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li class="active"><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
145,7 → 149,7
$Id: SquelettePhp.php 446 2013-10-28 14:21:50Z raphael $<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-SquelettePhp.html#3-74" title="Go to source code">SquelettePhp.php</a><br>
<b>Located at</b> <a href="source-class-SquelettePhp.html#3-74" title="Go to source code">framework/SquelettePhp.php</a><br>
</div>
 
 
223,7 → 227,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-Chronometre.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File Chronometre.php</title>
<title>File framework/Chronometre.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
246,7 → 250,7
</span><span id="138" class="l"><a class="l" href="#138">138: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/package-None.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>No package</title>
<title>No package | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
40,6 → 40,7
<ul>
<li><a href="class-CacheFichier.html">CacheFichier</a></li>
<li><a href="class-CacheSqlite.html">CacheSqlite</a></li>
<li><a href="class-MonScript.html">MonScript</a></li>
</ul>
 
 
101,6 → 102,12
<td class="name"><a href="class-CacheSqlite.html">CacheSqlite</a></td>
<td></td>
</tr>
<tr>
<td class="name"><a href="class-MonScript.html">MonScript</a></td>
<td>Exemple de script utilisable avec le TBFramework. Pour le lancer, taper en ligne
de commande, en vous plaçant dans le dossier /framework/exemple/scripts/ :
<code>/opt/lampp/bin/php cli.php mon_script -a test</code></td>
</tr>
</table>
 
 
110,7 → 117,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/class-Chaine.html
4,10 → 4,10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
 
<title>Class Chaine</title>
<title>Class Chaine | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
131,7 → 131,7
$Id: Chaine.php 343 2011-06-09 14:59:36Z jpm $<br>
<b>Link:</b>
/doc/framework/<br>
<b>Located at</b> <a href="source-class-Chaine.html#3-67" title="Go to source code">utilitaires/Chaine.php</a><br>
<b>Located at</b> <a href="source-class-Chaine.html#3-67" title="Go to source code">framework/utilitaires/Chaine.php</a><br>
</div>
 
 
212,7 → 212,7
</div>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-CacheFichier.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File CacheFichier.php</title>
<title>File framework/CacheFichier.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
41,6 → 41,7
<ul>
<li class="active"><a href="class-CacheFichier.html">CacheFichier</a></li>
<li><a href="class-CacheSqlite.html">CacheSqlite</a></li>
<li><a href="class-MonScript.html">MonScript</a></li>
</ul>
 
 
962,7 → 963,7
</span><span id="871" class="l"><a class="l" href="#871">871: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc/ApiGen/source-class-Framework.html
5,10 → 5,10
<meta name="generator" content="ApiGen 2.8.0">
<meta name="robots" content="noindex">
 
<title>File Framework.php</title>
<title>File framework/Framework.php | TBFramework - v0.4</title>
 
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<script type="text/javascript" src="elementlist.js?1964084359"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
 
</head>
51,11 → 51,15
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-MonService.html">MonService</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-ServiceCacheFichier.html">ServiceCacheFichier</a></li>
<li><a href="class-ServiceCacheSimple.html">ServiceCacheSimple</a></li>
<li><a href="class-ServiceCacheSqlite.html">ServiceCacheSqlite</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
361,7 → 365,7
</span><span id="253" class="l"><a class="l" href="#253">253: </a></span><span class="xlang">?&gt;</span></code></pre>
 
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
/trunk/doc
Property changes:
Deleted: svn:ignore
-.genererApiGen.sh.swp