464 |
jpm |
1 |
<!DOCTYPE html>
|
|
|
2 |
<html lang="en">
|
|
|
3 |
<head>
|
|
|
4 |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
|
|
5 |
<meta charset="utf-8"/>
|
|
|
6 |
<title>TBFramework - v0.4</title>
|
|
|
7 |
<meta name="author" content=""/>
|
|
|
8 |
<meta name="description" content=""/>
|
|
|
9 |
|
|
|
10 |
<link href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
|
|
11 |
<link href="https://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css" rel="stylesheet">
|
|
|
12 |
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
|
|
13 |
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
|
|
14 |
|
|
|
15 |
<!--[if lt IE 9]>
|
|
|
16 |
<script src="https://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
|
|
|
17 |
<![endif]-->
|
|
|
18 |
<script src="https://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
|
|
|
19 |
<script src="https://code.jquery.com/ui/1.10.3/jquery-ui.min.js" type="text/javascript"></script>
|
|
|
20 |
<script src="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>
|
|
|
21 |
<script src="../js/jquery.smooth-scroll.js"></script>
|
|
|
22 |
<script src="../js/prism.min.js"></script>
|
|
|
23 |
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
|
|
24 |
<script type="text/javascript">
|
|
|
25 |
function loadExternalCodeSnippets() {
|
|
|
26 |
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
|
|
27 |
var src = pre.getAttribute('data-src');
|
|
|
28 |
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
|
|
29 |
var language = 'php';
|
|
|
30 |
|
|
|
31 |
var code = document.createElement('code');
|
|
|
32 |
code.className = 'language-' + language;
|
|
|
33 |
|
|
|
34 |
pre.textContent = '';
|
|
|
35 |
|
|
|
36 |
code.textContent = 'Loading…';
|
|
|
37 |
|
|
|
38 |
pre.appendChild(code);
|
|
|
39 |
|
|
|
40 |
var xhr = new XMLHttpRequest();
|
|
|
41 |
|
|
|
42 |
xhr.open('GET', src, true);
|
|
|
43 |
|
|
|
44 |
xhr.onreadystatechange = function () {
|
|
|
45 |
if (xhr.readyState == 4) {
|
|
|
46 |
|
|
|
47 |
if (xhr.status < 400 && xhr.responseText) {
|
|
|
48 |
code.textContent = xhr.responseText;
|
|
|
49 |
|
|
|
50 |
Prism.highlightElement(code);
|
|
|
51 |
}
|
|
|
52 |
else if (xhr.status >= 400) {
|
|
|
53 |
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
|
|
54 |
}
|
|
|
55 |
else {
|
|
|
56 |
code.textContent = '✖ Error: File does not exist or is empty';
|
|
|
57 |
}
|
|
|
58 |
}
|
|
|
59 |
};
|
|
|
60 |
|
|
|
61 |
xhr.send(null);
|
|
|
62 |
});
|
|
|
63 |
}
|
|
|
64 |
|
|
|
65 |
$(document).ready(function(){
|
|
|
66 |
loadExternalCodeSnippets();
|
|
|
67 |
});
|
|
|
68 |
$('#source-view').on('shown', function () {
|
|
|
69 |
loadExternalCodeSnippets();
|
|
|
70 |
})
|
|
|
71 |
</script>
|
|
|
72 |
|
|
|
73 |
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
|
|
74 |
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
|
|
75 |
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
|
|
76 |
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
|
|
77 |
</head>
|
|
|
78 |
<body>
|
|
|
79 |
|
|
|
80 |
<div class="navbar navbar-fixed-top">
|
|
|
81 |
<div class="navbar-inner">
|
|
|
82 |
<div class="container">
|
|
|
83 |
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
|
|
84 |
<i class="icon-ellipsis-vertical"></i>
|
|
|
85 |
</a>
|
|
|
86 |
<a class="brand" href="../index.html">TBFramework - v0.4</a>
|
|
|
87 |
|
|
|
88 |
<div class="nav-collapse">
|
|
|
89 |
<ul class="nav pull-right">
|
|
|
90 |
<li class="dropdown">
|
|
|
91 |
<a href="../index.html" class="dropdown-toggle" data-toggle="dropdown">
|
|
|
92 |
API Documentation <b class="caret"></b>
|
|
|
93 |
</a>
|
|
|
94 |
<ul class="dropdown-menu">
|
|
|
95 |
</ul>
|
|
|
96 |
</li>
|
|
|
97 |
<li class="dropdown" id="charts-menu">
|
|
|
98 |
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
|
|
99 |
Charts <b class="caret"></b>
|
|
|
100 |
</a>
|
|
|
101 |
<ul class="dropdown-menu">
|
|
|
102 |
<li>
|
|
|
103 |
<a href="../graphs/class.html">
|
|
|
104 |
<i class="icon-list-alt"></i> Class hierarchy diagram
|
|
|
105 |
</a>
|
|
|
106 |
</li>
|
|
|
107 |
</ul>
|
|
|
108 |
</li>
|
|
|
109 |
<li class="dropdown" id="reports-menu">
|
|
|
110 |
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
|
|
111 |
Reports <b class="caret"></b>
|
|
|
112 |
</a>
|
|
|
113 |
<ul class="dropdown-menu">
|
|
|
114 |
<li>
|
|
|
115 |
<a href="../reports/errors.html">
|
|
|
116 |
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">281</span>
|
|
|
117 |
</a>
|
|
|
118 |
</li>
|
|
|
119 |
<li>
|
|
|
120 |
<a href="../reports/markers.html">
|
|
|
121 |
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">12</span>
|
|
|
122 |
</a>
|
|
|
123 |
</li>
|
|
|
124 |
</ul>
|
|
|
125 |
</li>
|
|
|
126 |
</ul>
|
|
|
127 |
</div>
|
|
|
128 |
</div>
|
|
|
129 |
</div>
|
|
|
130 |
<!--<div class="go_to_top">-->
|
|
|
131 |
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
|
|
132 |
<!--</div>-->
|
|
|
133 |
</div>
|
|
|
134 |
|
|
|
135 |
<div id="___" class="container-fluid">
|
|
|
136 |
<section class="row-fluid">
|
|
|
137 |
<div class="span2 sidebar">
|
|
|
138 |
<div class="accordion" style="margin-bottom: 0">
|
|
|
139 |
<div class="accordion-group">
|
|
|
140 |
<div class="accordion-heading">
|
|
|
141 |
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1522024118"></a>
|
|
|
142 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
|
|
143 |
</div>
|
|
|
144 |
<div id="namespace-1522024118" class="accordion-body collapse in">
|
|
|
145 |
<div class="accordion-inner">
|
|
|
146 |
|
|
|
147 |
|
|
|
148 |
<ul>
|
|
|
149 |
<li class="class"><a href="../classes/Url.html">Url</a></li>
|
|
|
150 |
<li class="class"><a href="../classes/Debug.html">Debug</a></li>
|
|
|
151 |
<li class="class"><a href="../classes/Chronometre.html">Chronometre</a></li>
|
|
|
152 |
<li class="class"><a href="../classes/RestServeur.html">RestServeur</a></li>
|
|
|
153 |
<li class="class"><a href="../classes/SquelettePhp.html">SquelettePhp</a></li>
|
|
|
154 |
<li class="class"><a href="../classes/Controleur.html">Controleur</a></li>
|
|
|
155 |
<li class="class"><a href="../classes/Cache.html">Cache</a></li>
|
|
|
156 |
<li class="class"><a href="../classes/RestClient.html">RestClient</a></li>
|
|
|
157 |
<li class="class"><a href="../classes/GestionnaireException.html">GestionnaireException</a></li>
|
|
|
158 |
<li class="class"><a href="../classes/Script.html">Script</a></li>
|
|
|
159 |
<li class="class"><a href="../classes/Registre.html">Registre</a></li>
|
|
|
160 |
<li class="class"><a href="../classes/RestService.html">RestService</a></li>
|
|
|
161 |
<li class="class"><a href="../classes/Cli.html">Cli</a></li>
|
|
|
162 |
<li class="class"><a href="../classes/Encodage.html">Encodage</a></li>
|
|
|
163 |
<li class="class"><a href="../classes/Tableau.html">Tableau</a></li>
|
|
|
164 |
<li class="class"><a href="../classes/Pattern.html">Pattern</a></li>
|
|
|
165 |
<li class="class"><a href="../classes/Chaine.html">Chaine</a></li>
|
|
|
166 |
<li class="class"><a href="../classes/Fichier.html">Fichier</a></li>
|
|
|
167 |
<li class="class"><a href="../classes/I18n.html">I18n</a></li>
|
|
|
168 |
<li class="class"><a href="../classes/Config.html">Config</a></li>
|
|
|
169 |
<li class="class"><a href="../classes/CacheSqlite.html">CacheSqlite</a></li>
|
|
|
170 |
<li class="class"><a href="../classes/Bdd.html">Bdd</a></li>
|
|
|
171 |
<li class="class"><a href="../classes/Log.html">Log</a></li>
|
|
|
172 |
<li class="class"><a href="../classes/CacheFichier.html">CacheFichier</a></li>
|
|
|
173 |
<li class="class"><a href="../classes/Framework.html">Framework</a></li>
|
|
|
174 |
<li class="class"><a href="../classes/CacheSimple.html">CacheSimple</a></li>
|
|
|
175 |
</ul>
|
|
|
176 |
</div>
|
|
|
177 |
</div>
|
|
|
178 |
</div>
|
|
|
179 |
</div>
|
|
|
180 |
|
|
|
181 |
</div>
|
|
|
182 |
</section>
|
|
|
183 |
<section class="row-fluid">
|
|
|
184 |
<div class="span10 offset2">
|
|
|
185 |
<div class="row-fluid">
|
|
|
186 |
<div class="span8 content class">
|
|
|
187 |
<nav>
|
|
|
188 |
<a href="../namespaces/default.html">\</a> <i class="icon-level-up"></i>
|
|
|
189 |
</nav>
|
|
|
190 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
|
|
191 |
|
|
|
192 |
<h1><small>\</small>Cache</h1>
|
|
|
193 |
<p><em>Classe Cache permettant de mettre en cache des données.</em></p>
|
|
|
194 |
<p>Basée sur les principes de Zend_Cache (Copyright (c) 2005-2010, Zend Technologies USA, Inc. All rights reserved.)</p>
|
|
|
195 |
|
|
|
196 |
<section id="summary">
|
|
|
197 |
<h2>Summary</h2>
|
|
|
198 |
<section class="row-fluid heading">
|
|
|
199 |
<section class="span4">
|
|
|
200 |
<a href="#methods">Methods</a>
|
|
|
201 |
</section>
|
|
|
202 |
<section class="span4">
|
|
|
203 |
<a href="#properties">Properties</a>
|
|
|
204 |
</section>
|
|
|
205 |
<section class="span4">
|
|
|
206 |
<a href="#constants">Constants</a>
|
|
|
207 |
</section>
|
|
|
208 |
</section>
|
|
|
209 |
<section class="row-fluid public">
|
|
|
210 |
<section class="span4">
|
|
|
211 |
<a href="../classes/Cache.html#method___construct" class="">__construct()</a><br />
|
|
|
212 |
<a href="../classes/Cache.html#method_setEmplacement" class="">setEmplacement()</a><br />
|
|
|
213 |
<a href="../classes/Cache.html#method_fabriquer" class="">fabriquer()</a><br />
|
|
|
214 |
<a href="../classes/Cache.html#method_charger" class="">charger()</a><br />
|
|
|
215 |
<a href="../classes/Cache.html#method_tester" class="">tester()</a><br />
|
|
|
216 |
<a href="../classes/Cache.html#method_sauver" class="">sauver()</a><br />
|
|
|
217 |
<a href="../classes/Cache.html#method_supprimer" class="">supprimer()</a><br />
|
|
|
218 |
<a href="../classes/Cache.html#method_nettoyer" class="">nettoyer()</a><br />
|
|
|
219 |
<a href="../classes/Cache.html#method_getIds" class="">getIds()</a><br />
|
|
|
220 |
<a href="../classes/Cache.html#method_getTags" class="">getTags()</a><br />
|
|
|
221 |
<a href="../classes/Cache.html#method_getIdsAvecLesTags" class="">getIdsAvecLesTags()</a><br />
|
|
|
222 |
<a href="../classes/Cache.html#method_getIdsSansLesTags" class="">getIdsSansLesTags()</a><br />
|
|
|
223 |
<a href="../classes/Cache.html#method_getIdsAvecUnTag" class="">getIdsAvecUnTag()</a><br />
|
|
|
224 |
<a href="../classes/Cache.html#method_getPourcentageRemplissage" class="">getPourcentageRemplissage()</a><br />
|
|
|
225 |
<a href="../classes/Cache.html#method_getMetadonnees" class="">getMetadonnees()</a><br />
|
|
|
226 |
<a href="../classes/Cache.html#method_ajouterSupplementDureeDeVie" class="">ajouterSupplementDureeDeVie()</a><br />
|
|
|
227 |
<a href="../classes/Cache.html#method_getTimestampExpiration" class="">getTimestampExpiration()</a><br />
|
|
|
228 |
</section>
|
|
|
229 |
<section class="span4">
|
|
|
230 |
<em>No public properties found</em>
|
|
|
231 |
</section>
|
|
|
232 |
<section class="span4">
|
|
|
233 |
<a href="../classes/Cache.html#constant_STOCKAGE_MODE_SIMPLE" class="">STOCKAGE_MODE_SIMPLE</a><br />
|
|
|
234 |
<a href="../classes/Cache.html#constant_STOCKAGE_MODE_FICHIER" class="">STOCKAGE_MODE_FICHIER</a><br />
|
|
|
235 |
<a href="../classes/Cache.html#constant_STOCKAGE_MODE_SQLITE" class="">STOCKAGE_MODE_SQLITE</a><br />
|
|
|
236 |
<a href="../classes/Cache.html#constant_NETTOYAGE_MODE_TOUS" class="">NETTOYAGE_MODE_TOUS</a><br />
|
|
|
237 |
<a href="../classes/Cache.html#constant_NETTOYAGE_MODE_EXPIRATION" class="">NETTOYAGE_MODE_EXPIRATION</a><br />
|
|
|
238 |
<a href="../classes/Cache.html#constant_NETTOYAGE_MODE_AVEC_LES_TAGS" class="">NETTOYAGE_MODE_AVEC_LES_TAGS</a><br />
|
|
|
239 |
<a href="../classes/Cache.html#constant_NETTOYAGE_MODE_SANS_LES_TAGS" class="">NETTOYAGE_MODE_SANS_LES_TAGS</a><br />
|
|
|
240 |
<a href="../classes/Cache.html#constant_NETTOYAGE_MODE_AVEC_UN_TAG" class="">NETTOYAGE_MODE_AVEC_UN_TAG</a><br />
|
|
|
241 |
</section>
|
|
|
242 |
</section>
|
|
|
243 |
<section class="row-fluid protected">
|
|
|
244 |
<section class="span4">
|
|
|
245 |
<a href="../classes/Cache.html#method_validerIdOuTag" class="">validerIdOuTag()</a><br />
|
|
|
246 |
<a href="../classes/Cache.html#method_validerTableauDeTags" class="">validerTableauDeTags()</a><br />
|
|
|
247 |
</section>
|
|
|
248 |
<section class="span4">
|
|
|
249 |
<a href="../classes/Cache.html#property_options" class="">$options</a><br />
|
|
|
250 |
<a href="../classes/Cache.html#property_stockage" class="">$stockage</a><br />
|
|
|
251 |
</section>
|
|
|
252 |
<section class="span4">
|
|
|
253 |
<em>N/A</em>
|
|
|
254 |
</section>
|
|
|
255 |
</section>
|
|
|
256 |
<section class="row-fluid private">
|
|
|
257 |
<section class="span4">
|
|
|
258 |
<a href="../classes/Cache.html#method_initialiserOptionsParConfig" class="">initialiserOptionsParConfig()</a><br />
|
|
|
259 |
<a href="../classes/Cache.html#method_setOptions" class="">setOptions()</a><br />
|
|
|
260 |
<a href="../classes/Cache.html#method_prefixerId" class="">prefixerId()</a><br />
|
|
|
261 |
<a href="../classes/Cache.html#method_executerMethodeStockage" class="">executerMethodeStockage()</a><br />
|
|
|
262 |
<a href="../classes/Cache.html#method_supprimerPrefixe" class="">supprimerPrefixe()</a><br />
|
|
|
263 |
<a href="../classes/Cache.html#method_controlerEcriture" class="">controlerEcriture()</a><br />
|
|
|
264 |
<a href="../classes/Cache.html#method_deserialiserAutomatiquement" class="">deserialiserAutomatiquement()</a><br />
|
|
|
265 |
<a href="../classes/Cache.html#method_serialiserAutomatiquement" class="">serialiserAutomatiquement()</a><br />
|
|
|
266 |
<a href="../classes/Cache.html#method_nettoyerAutomatiquement" class="">nettoyerAutomatiquement()</a><br />
|
|
|
267 |
</section>
|
|
|
268 |
<section class="span4">
|
|
|
269 |
<a href="../classes/Cache.html#property_dernier_id" class="">$dernier_id</a><br />
|
|
|
270 |
</section>
|
|
|
271 |
<section class="span4">
|
|
|
272 |
<em>N/A</em>
|
|
|
273 |
</section>
|
|
|
274 |
</section>
|
|
|
275 |
</section>
|
|
|
276 |
</div>
|
|
|
277 |
<aside class="span4 detailsbar">
|
|
|
278 |
|
|
|
279 |
|
|
|
280 |
<dl>
|
|
|
281 |
<dt>File</dt>
|
|
|
282 |
<dd><a href="../files/Cache.php.html"><div class="path-wrapper">Cache.php</div></a></dd>
|
|
|
283 |
<dt>Package</dt>
|
|
|
284 |
<dd><div class="namespace-wrapper">\Framework</div></dd>
|
|
|
285 |
<dt>Class hierarchy</dt>
|
|
|
286 |
<dd class="hierarchy">
|
|
|
287 |
<div class="namespace-wrapper">\Cache</div>
|
|
|
288 |
</dd>
|
|
|
289 |
|
|
|
290 |
|
|
|
291 |
|
|
|
292 |
|
|
|
293 |
<dt>See also</dt>
|
|
|
294 |
<dd><a href="/doc/framework/"><div class="namespace-wrapper">/doc/framework/</div></a></dd>
|
|
|
295 |
|
|
|
296 |
</dl>
|
|
|
297 |
<h2>Tags</h2>
|
|
|
298 |
<table class="table table-condensed">
|
|
|
299 |
<tr>
|
|
|
300 |
<th>
|
|
|
301 |
category
|
|
|
302 |
</th>
|
|
|
303 |
<td>
|
|
|
304 |
<p>php 5.2</p>
|
|
|
305 |
</td>
|
|
|
306 |
</tr>
|
|
|
307 |
<tr>
|
|
|
308 |
<th>
|
|
|
309 |
author
|
|
|
310 |
</th>
|
|
|
311 |
<td>
|
|
|
312 |
<p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p>
|
|
|
313 |
</td>
|
|
|
314 |
</tr>
|
|
|
315 |
<tr>
|
|
|
316 |
<th>
|
|
|
317 |
copyright
|
|
|
318 |
</th>
|
|
|
319 |
<td>
|
|
|
320 |
<p>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</p>
|
|
|
321 |
</td>
|
|
|
322 |
</tr>
|
|
|
323 |
<tr>
|
|
|
324 |
<th>
|
|
|
325 |
license
|
|
|
326 |
</th>
|
|
|
327 |
<td>
|
|
|
328 |
<p><a href="http://framework.zend.com/license/new-bsd">http://framework.zend.com/license/new-bsd</a> Licence New BSD</p>
|
|
|
329 |
<p><a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt</a> Licence CECILL</p>
|
|
|
330 |
<p><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL</p>
|
|
|
331 |
</td>
|
|
|
332 |
</tr>
|
|
|
333 |
<tr>
|
|
|
334 |
<th>
|
|
|
335 |
version
|
|
|
336 |
</th>
|
|
|
337 |
<td>
|
|
|
338 |
<p>$Id: Cache.php 299 2011-01-18 14:03:46Z jpm $</p>
|
|
|
339 |
</td>
|
|
|
340 |
</tr>
|
|
|
341 |
<tr>
|
|
|
342 |
<th>
|
|
|
343 |
todo
|
|
|
344 |
</th>
|
|
|
345 |
<td>
|
|
|
346 |
</td>
|
|
|
347 |
</tr>
|
|
|
348 |
</table>
|
|
|
349 |
</aside>
|
|
|
350 |
</div>
|
|
|
351 |
|
|
|
352 |
<a id="constants" name="constants"></a>
|
|
|
353 |
<div class="row-fluid">
|
|
|
354 |
<div class="span8 content class">
|
|
|
355 |
<h2>Constants</h2>
|
|
|
356 |
</div>
|
|
|
357 |
<aside class="span4 detailsbar"></aside>
|
|
|
358 |
</div>
|
|
|
359 |
|
|
|
360 |
<div class="row-fluid">
|
|
|
361 |
<div class="span8 content class">
|
|
|
362 |
<a id="constant_STOCKAGE_MODE_SIMPLE" name="constant_STOCKAGE_MODE_SIMPLE" class="anchor"></a>
|
|
|
363 |
<article id="constant_STOCKAGE_MODE_SIMPLE" class="constant">
|
|
|
364 |
<h3 class="">STOCKAGE_MODE_SIMPLE</h3>
|
|
|
365 |
<pre class="signature">STOCKAGE_MODE_SIMPLE</pre>
|
|
|
366 |
<p><em>Socke les enregistrements du cache dans des fichiers textes de façon extremement simple.</em></p>
|
|
|
367 |
|
|
|
368 |
</article>
|
|
|
369 |
</div>
|
|
|
370 |
<aside class="span4 detailsbar">
|
|
|
371 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
372 |
<dl>
|
|
|
373 |
</dl>
|
|
|
374 |
<h2>Tags</h2>
|
|
|
375 |
<table class="table table-condensed">
|
|
|
376 |
<tr>
|
|
|
377 |
<th>
|
|
|
378 |
todo
|
|
|
379 |
</th>
|
|
|
380 |
<td>
|
|
|
381 |
</td>
|
|
|
382 |
</tr>
|
|
|
383 |
</table>
|
|
|
384 |
</aside>
|
|
|
385 |
</div>
|
|
|
386 |
|
|
|
387 |
<div class="row-fluid">
|
|
|
388 |
<div class="span8 content class">
|
|
|
389 |
<a id="constant_STOCKAGE_MODE_FICHIER" name="constant_STOCKAGE_MODE_FICHIER" class="anchor"></a>
|
|
|
390 |
<article id="constant_STOCKAGE_MODE_FICHIER" class="constant">
|
|
|
391 |
<h3 class="">STOCKAGE_MODE_FICHIER</h3>
|
|
|
392 |
<pre class="signature">STOCKAGE_MODE_FICHIER</pre>
|
|
|
393 |
<p><em>Socke les enregistrements du cache dans des fichiers textes.</em></p>
|
|
|
394 |
|
|
|
395 |
</article>
|
|
|
396 |
</div>
|
|
|
397 |
<aside class="span4 detailsbar">
|
|
|
398 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
399 |
<dl>
|
|
|
400 |
</dl>
|
|
|
401 |
<h2>Tags</h2>
|
|
|
402 |
<table class="table table-condensed">
|
|
|
403 |
<tr>
|
|
|
404 |
<th>
|
|
|
405 |
todo
|
|
|
406 |
</th>
|
|
|
407 |
<td>
|
|
|
408 |
</td>
|
|
|
409 |
</tr>
|
|
|
410 |
</table>
|
|
|
411 |
</aside>
|
|
|
412 |
</div>
|
|
|
413 |
|
|
|
414 |
<div class="row-fluid">
|
|
|
415 |
<div class="span8 content class">
|
|
|
416 |
<a id="constant_STOCKAGE_MODE_SQLITE" name="constant_STOCKAGE_MODE_SQLITE" class="anchor"></a>
|
|
|
417 |
<article id="constant_STOCKAGE_MODE_SQLITE" class="constant">
|
|
|
418 |
<h3 class="">STOCKAGE_MODE_SQLITE</h3>
|
|
|
419 |
<pre class="signature">STOCKAGE_MODE_SQLITE</pre>
|
|
|
420 |
<p><em>Socke les enregistrements du cache dans une base de données SQLite.</em></p>
|
|
|
421 |
|
|
|
422 |
</article>
|
|
|
423 |
</div>
|
|
|
424 |
<aside class="span4 detailsbar">
|
|
|
425 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
426 |
<dl>
|
|
|
427 |
</dl>
|
|
|
428 |
<h2>Tags</h2>
|
|
|
429 |
<table class="table table-condensed">
|
|
|
430 |
<tr>
|
|
|
431 |
<th>
|
|
|
432 |
todo
|
|
|
433 |
</th>
|
|
|
434 |
<td>
|
|
|
435 |
</td>
|
|
|
436 |
</tr>
|
|
|
437 |
</table>
|
|
|
438 |
</aside>
|
|
|
439 |
</div>
|
|
|
440 |
|
|
|
441 |
<div class="row-fluid">
|
|
|
442 |
<div class="span8 content class">
|
|
|
443 |
<a id="constant_NETTOYAGE_MODE_TOUS" name="constant_NETTOYAGE_MODE_TOUS" class="anchor"></a>
|
|
|
444 |
<article id="constant_NETTOYAGE_MODE_TOUS" class="constant">
|
|
|
445 |
<h3 class="">NETTOYAGE_MODE_TOUS</h3>
|
|
|
446 |
<pre class="signature">NETTOYAGE_MODE_TOUS</pre>
|
|
|
447 |
<p><em>'tous' (par défaut) : supprime tous les enregistrements.</em></p>
|
|
|
448 |
|
|
|
449 |
</article>
|
|
|
450 |
</div>
|
|
|
451 |
<aside class="span4 detailsbar">
|
|
|
452 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
453 |
<dl>
|
|
|
454 |
</dl>
|
|
|
455 |
<h2>Tags</h2>
|
|
|
456 |
<table class="table table-condensed">
|
|
|
457 |
<tr>
|
|
|
458 |
<th>
|
|
|
459 |
todo
|
|
|
460 |
</th>
|
|
|
461 |
<td>
|
|
|
462 |
</td>
|
|
|
463 |
</tr>
|
|
|
464 |
</table>
|
|
|
465 |
</aside>
|
|
|
466 |
</div>
|
|
|
467 |
|
|
|
468 |
<div class="row-fluid">
|
|
|
469 |
<div class="span8 content class">
|
|
|
470 |
<a id="constant_NETTOYAGE_MODE_EXPIRATION" name="constant_NETTOYAGE_MODE_EXPIRATION" class="anchor"></a>
|
|
|
471 |
<article id="constant_NETTOYAGE_MODE_EXPIRATION" class="constant">
|
|
|
472 |
<h3 class="">NETTOYAGE_MODE_EXPIRATION</h3>
|
|
|
473 |
<pre class="signature">NETTOYAGE_MODE_EXPIRATION</pre>
|
|
|
474 |
<p><em>'expiration' : supprime tous les enregistrements dont la date d'expériration est dépassée.</em></p>
|
|
|
475 |
|
|
|
476 |
</article>
|
|
|
477 |
</div>
|
|
|
478 |
<aside class="span4 detailsbar">
|
|
|
479 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
480 |
<dl>
|
|
|
481 |
</dl>
|
|
|
482 |
<h2>Tags</h2>
|
|
|
483 |
<table class="table table-condensed">
|
|
|
484 |
<tr>
|
|
|
485 |
<th>
|
|
|
486 |
todo
|
|
|
487 |
</th>
|
|
|
488 |
<td>
|
|
|
489 |
</td>
|
|
|
490 |
</tr>
|
|
|
491 |
</table>
|
|
|
492 |
</aside>
|
|
|
493 |
</div>
|
|
|
494 |
|
|
|
495 |
<div class="row-fluid">
|
|
|
496 |
<div class="span8 content class">
|
|
|
497 |
<a id="constant_NETTOYAGE_MODE_AVEC_LES_TAGS" name="constant_NETTOYAGE_MODE_AVEC_LES_TAGS" class="anchor"></a>
|
|
|
498 |
<article id="constant_NETTOYAGE_MODE_AVEC_LES_TAGS" class="constant">
|
|
|
499 |
<h3 class="">NETTOYAGE_MODE_AVEC_LES_TAGS</h3>
|
|
|
500 |
<pre class="signature">NETTOYAGE_MODE_AVEC_LES_TAGS</pre>
|
|
|
501 |
<p><em>'avecLesTags' : supprime tous les enregistrements contenant tous les tags indiqués.</em></p>
|
|
|
502 |
|
|
|
503 |
</article>
|
|
|
504 |
</div>
|
|
|
505 |
<aside class="span4 detailsbar">
|
|
|
506 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
507 |
<dl>
|
|
|
508 |
</dl>
|
|
|
509 |
<h2>Tags</h2>
|
|
|
510 |
<table class="table table-condensed">
|
|
|
511 |
<tr>
|
|
|
512 |
<th>
|
|
|
513 |
todo
|
|
|
514 |
</th>
|
|
|
515 |
<td>
|
|
|
516 |
</td>
|
|
|
517 |
</tr>
|
|
|
518 |
</table>
|
|
|
519 |
</aside>
|
|
|
520 |
</div>
|
|
|
521 |
|
|
|
522 |
<div class="row-fluid">
|
|
|
523 |
<div class="span8 content class">
|
|
|
524 |
<a id="constant_NETTOYAGE_MODE_SANS_LES_TAGS" name="constant_NETTOYAGE_MODE_SANS_LES_TAGS" class="anchor"></a>
|
|
|
525 |
<article id="constant_NETTOYAGE_MODE_SANS_LES_TAGS" class="constant">
|
|
|
526 |
<h3 class="">NETTOYAGE_MODE_SANS_LES_TAGS</h3>
|
|
|
527 |
<pre class="signature">NETTOYAGE_MODE_SANS_LES_TAGS</pre>
|
|
|
528 |
<p><em>'sansLesTags' : supprime tous les enregistrements contenant aucun des tags indiqués.</em></p>
|
|
|
529 |
|
|
|
530 |
</article>
|
|
|
531 |
</div>
|
|
|
532 |
<aside class="span4 detailsbar">
|
|
|
533 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
534 |
<dl>
|
|
|
535 |
</dl>
|
|
|
536 |
<h2>Tags</h2>
|
|
|
537 |
<table class="table table-condensed">
|
|
|
538 |
<tr>
|
|
|
539 |
<th>
|
|
|
540 |
todo
|
|
|
541 |
</th>
|
|
|
542 |
<td>
|
|
|
543 |
</td>
|
|
|
544 |
</tr>
|
|
|
545 |
</table>
|
|
|
546 |
</aside>
|
|
|
547 |
</div>
|
|
|
548 |
|
|
|
549 |
<div class="row-fluid">
|
|
|
550 |
<div class="span8 content class">
|
|
|
551 |
<a id="constant_NETTOYAGE_MODE_AVEC_UN_TAG" name="constant_NETTOYAGE_MODE_AVEC_UN_TAG" class="anchor"></a>
|
|
|
552 |
<article id="constant_NETTOYAGE_MODE_AVEC_UN_TAG" class="constant">
|
|
|
553 |
<h3 class="">NETTOYAGE_MODE_AVEC_UN_TAG</h3>
|
|
|
554 |
<pre class="signature">NETTOYAGE_MODE_AVEC_UN_TAG</pre>
|
|
|
555 |
<p><em>'avecUnTag' : supprime tous les enregistrements contenant au moins un des tags indiqués.</em></p>
|
|
|
556 |
|
|
|
557 |
</article>
|
|
|
558 |
</div>
|
|
|
559 |
<aside class="span4 detailsbar">
|
|
|
560 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
561 |
<dl>
|
|
|
562 |
</dl>
|
|
|
563 |
<h2>Tags</h2>
|
|
|
564 |
<table class="table table-condensed">
|
|
|
565 |
<tr>
|
|
|
566 |
<th>
|
|
|
567 |
todo
|
|
|
568 |
</th>
|
|
|
569 |
<td>
|
|
|
570 |
</td>
|
|
|
571 |
</tr>
|
|
|
572 |
</table>
|
|
|
573 |
</aside>
|
|
|
574 |
</div>
|
|
|
575 |
|
|
|
576 |
|
|
|
577 |
<a id="properties" name="properties"></a>
|
|
|
578 |
<div class="row-fluid">
|
|
|
579 |
<div class="span8 content class">
|
|
|
580 |
<h2>Properties</h2>
|
|
|
581 |
</div>
|
|
|
582 |
<aside class="span4 detailsbar"></aside>
|
|
|
583 |
</div>
|
|
|
584 |
|
|
|
585 |
<div class="row-fluid">
|
|
|
586 |
<div class="span8 content class">
|
|
|
587 |
<a id="property_options" name="property_options" class="anchor"></a>
|
|
|
588 |
<article class="property">
|
|
|
589 |
<h3 class="protected ">$options</h3>
|
|
|
590 |
<pre class="signature">$options : array</pre>
|
|
|
591 |
<p><em>Les options disponibles pour le cache :
|
|
|
592 |
====> (string) stockage_mode :
|
|
|
593 |
Indique le mode de stockage du cache à utiliser parmis :
|
|
|
594 |
- Cache::STOCKAGE_MODE_FICHIER : sous forme d'une arborescence de fichiers et dossier
|
|
|
595 |
- Cache::STOCKAGE_MODE_SQLITE : sous forme d'une base de données SQLite</em></p>
|
|
|
596 |
<p>====> (string) stockage_chemin :
|
|
|
597 |
Chemin vers :</p>
|
|
|
598 |
<ul>
|
|
|
599 |
<li>Cache::STOCKAGE_MODE_FICHIER : le dossier devant contenir l'arborescence.</li>
|
|
|
600 |
<li>Cache::STOCKAGE_MODE_SQLITE : le fichier contenant la base SQLite.</li>
|
|
|
601 |
</ul>
|
|
|
602 |
<p>====> (boolean) controle_ecriture :</p>
|
|
|
603 |
<ul>
|
|
|
604 |
<li>Active / Désactive le controle d'écriture (le cache est lue jute après l'écriture du fichier pour détecter sa corruption)</li>
|
|
|
605 |
<li>Activer le controle d'écriture ralentira légèrement l'écriture du fichier de cache mais pas sa lecture
|
|
|
606 |
Le controle d'écriture peut détecter la corruption de fichier mais ce n'est pas un système de controle parfait.</li>
|
|
|
607 |
</ul>
|
|
|
608 |
<p>====> (boolean) mise_en_cache :</p>
|
|
|
609 |
<ul>
|
|
|
610 |
<li>Active / Désactive la mise en cache
|
|
|
611 |
(peut être très utile pour le débogage des scripts utilisant le cache</li>
|
|
|
612 |
</ul>
|
|
|
613 |
<p>=====> (string) cache_id_prefixe :</p>
|
|
|
614 |
<ul>
|
|
|
615 |
<li>préfixe pour les identifiant de cache ( = espace de nom)</li>
|
|
|
616 |
</ul>
|
|
|
617 |
<p>====> (boolean) serialisation_auto :</p>
|
|
|
618 |
<ul>
|
|
|
619 |
<li>Active / Désactive la sérialisation automatique</li>
|
|
|
620 |
<li>Peut être utilisé pour sauver directement des données qui ne sont pas des chaines (mais c'est plus lent)</li>
|
|
|
621 |
</ul>
|
|
|
622 |
<p>====> (int) nettoyage_auto :</p>
|
|
|
623 |
<ul>
|
|
|
624 |
<li>Désactive / Régler le processus de nettoyage automatique</li>
|
|
|
625 |
<li>Le processus de nettoyage automatiques détruit les fichier trop vieux (pour la durée de vie donnée)
|
|
|
626 |
quand un nouveau fichier de cache est écrit :
|
|
|
627 |
|
|
|
628 |
1 => nettoyage automatique systématique
|
|
|
629 |
x (integer) > 1 => nettoyage automatique toutes les 1 fois (au hasard) sur x écriture de fichier de cache</li>
|
|
|
630 |
</ul>
|
|
|
631 |
<p>====> (int) duree_de_vie :</p>
|
|
|
632 |
<ul>
|
|
|
633 |
<li>Durée de vie du cache (en secondes)</li>
|
|
|
634 |
<li>Si null, le cache est valide indéfiniment.</li>
|
|
|
635 |
</ul>
|
|
|
636 |
|
|
|
637 |
<h4>Type</h4>
|
|
|
638 |
array
|
|
|
639 |
— les options disponibles pour le cache . </article>
|
|
|
640 |
</div>
|
|
|
641 |
<aside class="span4 detailsbar">
|
|
|
642 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
643 |
<dl>
|
|
|
644 |
</dl>
|
|
|
645 |
<h2>Tags</h2>
|
|
|
646 |
<table class="table table-condensed">
|
|
|
647 |
<tr>
|
|
|
648 |
<th>
|
|
|
649 |
todo
|
|
|
650 |
</th>
|
|
|
651 |
<td>
|
|
|
652 |
</td>
|
|
|
653 |
</tr>
|
|
|
654 |
</table>
|
|
|
655 |
</aside>
|
|
|
656 |
</div>
|
|
|
657 |
|
|
|
658 |
<div class="row-fluid">
|
|
|
659 |
<div class="span8 content class">
|
|
|
660 |
<a id="property_stockage" name="property_stockage" class="anchor"></a>
|
|
|
661 |
<article class="property">
|
|
|
662 |
<h3 class="protected ">$stockage</h3>
|
|
|
663 |
<pre class="signature">$stockage</pre>
|
|
|
664 |
<p><em></em></p>
|
|
|
665 |
|
|
|
666 |
|
|
|
667 |
</article>
|
|
|
668 |
</div>
|
|
|
669 |
<aside class="span4 detailsbar">
|
|
|
670 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
671 |
<dl>
|
|
|
672 |
</dl>
|
|
|
673 |
<h2>Tags</h2>
|
|
|
674 |
<table class="table table-condensed">
|
|
|
675 |
<tr>
|
|
|
676 |
<th>
|
|
|
677 |
todo
|
|
|
678 |
</th>
|
|
|
679 |
<td>
|
|
|
680 |
</td>
|
|
|
681 |
</tr>
|
|
|
682 |
</table>
|
|
|
683 |
</aside>
|
|
|
684 |
</div>
|
|
|
685 |
|
|
|
686 |
<div class="row-fluid">
|
|
|
687 |
<div class="span8 content class">
|
|
|
688 |
<a id="property_dernier_id" name="property_dernier_id" class="anchor"></a>
|
|
|
689 |
<article class="property">
|
|
|
690 |
<h3 class="private ">$dernier_id</h3>
|
|
|
691 |
<pre class="signature">$dernier_id : string</pre>
|
|
|
692 |
<p><em>Dernier identifiant de cache utilisé.</em></p>
|
|
|
693 |
|
|
|
694 |
|
|
|
695 |
<h4>Type</h4>
|
|
|
696 |
string
|
|
|
697 |
</article>
|
|
|
698 |
</div>
|
|
|
699 |
<aside class="span4 detailsbar">
|
|
|
700 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
701 |
<dl>
|
|
|
702 |
</dl>
|
|
|
703 |
<h2>Tags</h2>
|
|
|
704 |
<table class="table table-condensed">
|
|
|
705 |
<tr>
|
|
|
706 |
<th>
|
|
|
707 |
todo
|
|
|
708 |
</th>
|
|
|
709 |
<td>
|
|
|
710 |
</td>
|
|
|
711 |
</tr>
|
|
|
712 |
</table>
|
|
|
713 |
</aside>
|
|
|
714 |
</div>
|
|
|
715 |
|
|
|
716 |
|
|
|
717 |
<a id="methods" name="methods"></a>
|
|
|
718 |
<div class="row-fluid">
|
|
|
719 |
<div class="span8 content class"><h2>Methods</h2></div>
|
|
|
720 |
<aside class="span4 detailsbar"></aside>
|
|
|
721 |
</div>
|
|
|
722 |
|
|
|
723 |
<div class="row-fluid">
|
|
|
724 |
<div class="span8 content class">
|
|
|
725 |
<a id="method___construct" name="method___construct" class="anchor"></a>
|
|
|
726 |
<article class="method">
|
|
|
727 |
<h3 class="public ">__construct()</h3>
|
|
|
728 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
729 |
<pre class="signature" style="margin-right: 54px;">__construct( <span class="argument">$options</span>, <span class="argument">$options_stockage</span>)</pre>
|
|
|
730 |
<p><em></em></p>
|
|
|
731 |
|
|
|
732 |
|
|
|
733 |
<h4>Parameters</h4>
|
|
|
734 |
<table class="table table-condensed table-hover">
|
|
|
735 |
<tr>
|
|
|
736 |
<td></td>
|
|
|
737 |
<td>$options</td>
|
|
|
738 |
<td></td>
|
|
|
739 |
</tr>
|
|
|
740 |
<tr>
|
|
|
741 |
<td></td>
|
|
|
742 |
<td>$options_stockage</td>
|
|
|
743 |
<td></td>
|
|
|
744 |
</tr>
|
|
|
745 |
</table>
|
|
|
746 |
|
|
|
747 |
|
|
|
748 |
</article>
|
|
|
749 |
</div>
|
|
|
750 |
<aside class="span4 detailsbar">
|
|
|
751 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
752 |
<dl>
|
|
|
753 |
</dl>
|
|
|
754 |
<h2>Tags</h2>
|
|
|
755 |
<table class="table table-condensed">
|
|
|
756 |
<tr>
|
|
|
757 |
<th>
|
|
|
758 |
todo
|
|
|
759 |
</th>
|
|
|
760 |
<td>
|
|
|
761 |
</td>
|
|
|
762 |
</tr>
|
|
|
763 |
</table>
|
|
|
764 |
</aside>
|
|
|
765 |
</div>
|
|
|
766 |
|
|
|
767 |
<div class="row-fluid">
|
|
|
768 |
<div class="span8 content class">
|
|
|
769 |
<a id="method_setEmplacement" name="method_setEmplacement" class="anchor"></a>
|
|
|
770 |
<article class="method">
|
|
|
771 |
<h3 class="public ">setEmplacement()</h3>
|
|
|
772 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
773 |
<pre class="signature" style="margin-right: 54px;">setEmplacement(string <span class="argument">$emplacement</span>) : void</pre>
|
|
|
774 |
<p><em>Permet de (re-)définir l'emplacement pour le stockage du cache.</em></p>
|
|
|
775 |
<p>En fonction du mode de stockage utilisé , l'emplacement indiqué correspondra au chemin du :</p>
|
|
|
776 |
<ul>
|
|
|
777 |
<li>dossier où stocker les fichiers pour le mode "fichier".</li>
|
|
|
778 |
<li>fichier de la base de données pour le mode "sqlite".</li>
|
|
|
779 |
</ul>
|
|
|
780 |
|
|
|
781 |
<h4>Parameters</h4>
|
|
|
782 |
<table class="table table-condensed table-hover">
|
|
|
783 |
<tr>
|
|
|
784 |
<td>string</td>
|
|
|
785 |
<td>$emplacement</td>
|
|
|
786 |
<td><p>chemin vers dossier (Cache::STOCKAGE_MODE_FICHIER) ou fichier base Sqlite (Cache::STOCKAGE_MODE_SQLITE)</p></td>
|
|
|
787 |
</tr>
|
|
|
788 |
</table>
|
|
|
789 |
|
|
|
790 |
|
|
|
791 |
</article>
|
|
|
792 |
</div>
|
|
|
793 |
<aside class="span4 detailsbar">
|
|
|
794 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
795 |
<dl>
|
|
|
796 |
</dl>
|
|
|
797 |
<h2>Tags</h2>
|
|
|
798 |
<table class="table table-condensed">
|
|
|
799 |
<tr>
|
|
|
800 |
<th>
|
|
|
801 |
todo
|
|
|
802 |
</th>
|
|
|
803 |
<td>
|
|
|
804 |
</td>
|
|
|
805 |
</tr>
|
|
|
806 |
</table>
|
|
|
807 |
</aside>
|
|
|
808 |
</div>
|
|
|
809 |
|
|
|
810 |
<div class="row-fluid">
|
|
|
811 |
<div class="span8 content class">
|
|
|
812 |
<a id="method_fabriquer" name="method_fabriquer" class="anchor"></a>
|
|
|
813 |
<article class="method">
|
|
|
814 |
<h3 class="public ">fabriquer()</h3>
|
|
|
815 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
816 |
<pre class="signature" style="margin-right: 54px;">fabriquer( <span class="argument">$mode</span>, <span class="argument">$options</span>)</pre>
|
|
|
817 |
<p><em></em></p>
|
|
|
818 |
|
|
|
819 |
|
|
|
820 |
<h4>Parameters</h4>
|
|
|
821 |
<table class="table table-condensed table-hover">
|
|
|
822 |
<tr>
|
|
|
823 |
<td></td>
|
|
|
824 |
<td>$mode</td>
|
|
|
825 |
<td></td>
|
|
|
826 |
</tr>
|
|
|
827 |
<tr>
|
|
|
828 |
<td></td>
|
|
|
829 |
<td>$options</td>
|
|
|
830 |
<td></td>
|
|
|
831 |
</tr>
|
|
|
832 |
</table>
|
|
|
833 |
|
|
|
834 |
|
|
|
835 |
</article>
|
|
|
836 |
</div>
|
|
|
837 |
<aside class="span4 detailsbar">
|
|
|
838 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
839 |
<span class="label label-info">static</span>
|
|
|
840 |
<dl>
|
|
|
841 |
</dl>
|
|
|
842 |
<h2>Tags</h2>
|
|
|
843 |
<table class="table table-condensed">
|
|
|
844 |
<tr>
|
|
|
845 |
<th>
|
|
|
846 |
todo
|
|
|
847 |
</th>
|
|
|
848 |
<td>
|
|
|
849 |
</td>
|
|
|
850 |
</tr>
|
|
|
851 |
</table>
|
|
|
852 |
</aside>
|
|
|
853 |
</div>
|
|
|
854 |
|
|
|
855 |
<div class="row-fluid">
|
|
|
856 |
<div class="span8 content class">
|
|
|
857 |
<a id="method_charger" name="method_charger" class="anchor"></a>
|
|
|
858 |
<article class="method">
|
|
|
859 |
<h3 class="public ">charger()</h3>
|
|
|
860 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
861 |
<pre class="signature" style="margin-right: 54px;">charger(string <span class="argument">$id</span>, boolean <span class="argument">$ne_pas_tester_validiter_du_cache</span>) : mixed|false</pre>
|
|
|
862 |
<p><em>Teste si un cache est disponible pour l'identifiant donné et (si oui) le retourne (false dans le cas contraire)</em></p>
|
|
|
863 |
|
|
|
864 |
|
|
|
865 |
<h4>Parameters</h4>
|
|
|
866 |
<table class="table table-condensed table-hover">
|
|
|
867 |
<tr>
|
|
|
868 |
<td>string</td>
|
|
|
869 |
<td>$id</td>
|
|
|
870 |
<td><p>Identifiant de cache.</p></td>
|
|
|
871 |
</tr>
|
|
|
872 |
<tr>
|
|
|
873 |
<td>boolean</td>
|
|
|
874 |
<td>$ne_pas_tester_validiter_du_cache</td>
|
|
|
875 |
<td><p>Si mis à true, la validité du cache n'est pas testée</p></td>
|
|
|
876 |
</tr>
|
|
|
877 |
</table>
|
|
|
878 |
|
|
|
879 |
|
|
|
880 |
<h4>Returns</h4>
|
|
|
881 |
mixed|false
|
|
|
882 |
— <p>Cached datas</p>
|
|
|
883 |
</article>
|
|
|
884 |
</div>
|
|
|
885 |
<aside class="span4 detailsbar">
|
|
|
886 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
887 |
<dl>
|
|
|
888 |
</dl>
|
|
|
889 |
<h2>Tags</h2>
|
|
|
890 |
<table class="table table-condensed">
|
|
|
891 |
<tr>
|
|
|
892 |
<th>
|
|
|
893 |
todo
|
|
|
894 |
</th>
|
|
|
895 |
<td>
|
|
|
896 |
</td>
|
|
|
897 |
</tr>
|
|
|
898 |
</table>
|
|
|
899 |
</aside>
|
|
|
900 |
</div>
|
|
|
901 |
|
|
|
902 |
<div class="row-fluid">
|
|
|
903 |
<div class="span8 content class">
|
|
|
904 |
<a id="method_tester" name="method_tester" class="anchor"></a>
|
|
|
905 |
<article class="method">
|
|
|
906 |
<h3 class="public ">tester()</h3>
|
|
|
907 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
908 |
<pre class="signature" style="margin-right: 54px;">tester(string <span class="argument">$id</span>) : int|false</pre>
|
|
|
909 |
<p><em>Test if a cache is available for the given id</em></p>
|
|
|
910 |
|
|
|
911 |
|
|
|
912 |
<h4>Parameters</h4>
|
|
|
913 |
<table class="table table-condensed table-hover">
|
|
|
914 |
<tr>
|
|
|
915 |
<td>string</td>
|
|
|
916 |
<td>$id</td>
|
|
|
917 |
<td><p>Cache id</p></td>
|
|
|
918 |
</tr>
|
|
|
919 |
</table>
|
|
|
920 |
|
|
|
921 |
|
|
|
922 |
<h4>Returns</h4>
|
|
|
923 |
int|false
|
|
|
924 |
— <p>Last modified time of cache entry if it is available, false otherwise</p>
|
|
|
925 |
</article>
|
|
|
926 |
</div>
|
|
|
927 |
<aside class="span4 detailsbar">
|
|
|
928 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
929 |
<dl>
|
|
|
930 |
</dl>
|
|
|
931 |
<h2>Tags</h2>
|
|
|
932 |
<table class="table table-condensed">
|
|
|
933 |
<tr>
|
|
|
934 |
<th>
|
|
|
935 |
todo
|
|
|
936 |
</th>
|
|
|
937 |
<td>
|
|
|
938 |
</td>
|
|
|
939 |
</tr>
|
|
|
940 |
</table>
|
|
|
941 |
</aside>
|
|
|
942 |
</div>
|
|
|
943 |
|
|
|
944 |
<div class="row-fluid">
|
|
|
945 |
<div class="span8 content class">
|
|
|
946 |
<a id="method_sauver" name="method_sauver" class="anchor"></a>
|
|
|
947 |
<article class="method">
|
|
|
948 |
<h3 class="public ">sauver()</h3>
|
|
|
949 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
950 |
<pre class="signature" style="margin-right: 54px;">sauver(mixed <span class="argument">$donnees</span>, string <span class="argument">$id</span>, array <span class="argument">$tags</span>, int <span class="argument">$duree_de_vie_specifique</span>) : boolean</pre>
|
|
|
951 |
<p><em>Sauvegarde en cache les données passées en paramètre.</em></p>
|
|
|
952 |
|
|
|
953 |
|
|
|
954 |
<h4>Parameters</h4>
|
|
|
955 |
<table class="table table-condensed table-hover">
|
|
|
956 |
<tr>
|
|
|
957 |
<td>mixed</td>
|
|
|
958 |
<td>$donnees</td>
|
|
|
959 |
<td><p>Données à mettre en cache (peut être différent d'une chaine si serialisation_auto vaut true).</p></td>
|
|
|
960 |
</tr>
|
|
|
961 |
<tr>
|
|
|
962 |
<td>string</td>
|
|
|
963 |
<td>$id</td>
|
|
|
964 |
<td><p>Identifiant du cache (s'il n'est pas définit, le dernier identifiant sera utilisé).</p></td>
|
|
|
965 |
</tr>
|
|
|
966 |
<tr>
|
|
|
967 |
<td>array</td>
|
|
|
968 |
<td>$tags</td>
|
|
|
969 |
<td><p>Mots-clés du cache.</p></td>
|
|
|
970 |
</tr>
|
|
|
971 |
<tr>
|
|
|
972 |
<td>int</td>
|
|
|
973 |
<td>$duree_de_vie_specifique</td>
|
|
|
974 |
<td><p>Si != false, indique une durée de vie spécifique pour cet enregistrement en cache (null => durée de vie infinie)</p></td>
|
|
|
975 |
</tr>
|
|
|
976 |
</table>
|
|
|
977 |
|
|
|
978 |
|
|
|
979 |
<h4>Returns</h4>
|
|
|
980 |
boolean
|
|
|
981 |
— <p>True si aucun problème n'est survenu.</p>
|
|
|
982 |
</article>
|
|
|
983 |
</div>
|
|
|
984 |
<aside class="span4 detailsbar">
|
|
|
985 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
986 |
<dl>
|
|
|
987 |
</dl>
|
|
|
988 |
<h2>Tags</h2>
|
|
|
989 |
<table class="table table-condensed">
|
|
|
990 |
<tr>
|
|
|
991 |
<th>
|
|
|
992 |
todo
|
|
|
993 |
</th>
|
|
|
994 |
<td>
|
|
|
995 |
</td>
|
|
|
996 |
</tr>
|
|
|
997 |
</table>
|
|
|
998 |
</aside>
|
|
|
999 |
</div>
|
|
|
1000 |
|
|
|
1001 |
<div class="row-fluid">
|
|
|
1002 |
<div class="span8 content class">
|
|
|
1003 |
<a id="method_supprimer" name="method_supprimer" class="anchor"></a>
|
|
|
1004 |
<article class="method">
|
|
|
1005 |
<h3 class="public ">supprimer()</h3>
|
|
|
1006 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1007 |
<pre class="signature" style="margin-right: 54px;">supprimer(string <span class="argument">$id</span>) : boolean</pre>
|
|
|
1008 |
<p><em>Supprime un enregistrement en cache.</em></p>
|
|
|
1009 |
|
|
|
1010 |
|
|
|
1011 |
<h4>Parameters</h4>
|
|
|
1012 |
<table class="table table-condensed table-hover">
|
|
|
1013 |
<tr>
|
|
|
1014 |
<td>string</td>
|
|
|
1015 |
<td>$id</td>
|
|
|
1016 |
<td><p>Identificant du cache à supprimer.</p></td>
|
|
|
1017 |
</tr>
|
|
|
1018 |
</table>
|
|
|
1019 |
|
|
|
1020 |
|
|
|
1021 |
<h4>Returns</h4>
|
|
|
1022 |
boolean
|
|
|
1023 |
— <p>True si ok</p>
|
|
|
1024 |
</article>
|
|
|
1025 |
</div>
|
|
|
1026 |
<aside class="span4 detailsbar">
|
|
|
1027 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1028 |
<dl>
|
|
|
1029 |
</dl>
|
|
|
1030 |
<h2>Tags</h2>
|
|
|
1031 |
<table class="table table-condensed">
|
|
|
1032 |
<tr>
|
|
|
1033 |
<th>
|
|
|
1034 |
todo
|
|
|
1035 |
</th>
|
|
|
1036 |
<td>
|
|
|
1037 |
</td>
|
|
|
1038 |
</tr>
|
|
|
1039 |
</table>
|
|
|
1040 |
</aside>
|
|
|
1041 |
</div>
|
|
|
1042 |
|
|
|
1043 |
<div class="row-fluid">
|
|
|
1044 |
<div class="span8 content class">
|
|
|
1045 |
<a id="method_nettoyer" name="method_nettoyer" class="anchor"></a>
|
|
|
1046 |
<article class="method">
|
|
|
1047 |
<h3 class="public ">nettoyer()</h3>
|
|
|
1048 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1049 |
<pre class="signature" style="margin-right: 54px;">nettoyer(string <span class="argument">$mode</span>, array|string <span class="argument">$tags</span>) : boolean</pre>
|
|
|
1050 |
<p><em>Nettoyage des enregistrements en cache</em></p>
|
|
|
1051 |
<p>Mode de nettoyage disponibles :
|
|
|
1052 |
'tous' (défaut) => supprime tous les enregistrements ($tags n'est pas utilisé)
|
|
|
1053 |
'expiration' => supprime tous les enregistrements dont la date d'expériration est dépassée ($tags n'est pas utilisé)
|
|
|
1054 |
'avecLesTag' => supprime tous les enregistrements contenant tous les tags indiqués
|
|
|
1055 |
'sansLesTag' => supprime tous les enregistrements contenant aucun des tags indiqués
|
|
|
1056 |
'avecUnTag' => supprime tous les enregistrements contenant au moins un des tags indiqués</p>
|
|
|
1057 |
|
|
|
1058 |
<h4>Parameters</h4>
|
|
|
1059 |
<table class="table table-condensed table-hover">
|
|
|
1060 |
<tr>
|
|
|
1061 |
<td>string</td>
|
|
|
1062 |
<td>$mode</td>
|
|
|
1063 |
<td><p>mode de nettoyage</p></td>
|
|
|
1064 |
</tr>
|
|
|
1065 |
<tr>
|
|
|
1066 |
<td>array|string</td>
|
|
|
1067 |
<td>$tags</td>
|
|
|
1068 |
<td><p>peut être un tableau de chaîne ou une simple chaine.</p></td>
|
|
|
1069 |
</tr>
|
|
|
1070 |
</table>
|
|
|
1071 |
|
|
|
1072 |
|
|
|
1073 |
<h4>Returns</h4>
|
|
|
1074 |
boolean
|
|
|
1075 |
— <p>True si ok</p>
|
|
|
1076 |
</article>
|
|
|
1077 |
</div>
|
|
|
1078 |
<aside class="span4 detailsbar">
|
|
|
1079 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1080 |
<dl>
|
|
|
1081 |
</dl>
|
|
|
1082 |
<h2>Tags</h2>
|
|
|
1083 |
<table class="table table-condensed">
|
|
|
1084 |
<tr>
|
|
|
1085 |
<th>
|
|
|
1086 |
todo
|
|
|
1087 |
</th>
|
|
|
1088 |
<td>
|
|
|
1089 |
</td>
|
|
|
1090 |
</tr>
|
|
|
1091 |
</table>
|
|
|
1092 |
</aside>
|
|
|
1093 |
</div>
|
|
|
1094 |
|
|
|
1095 |
<div class="row-fluid">
|
|
|
1096 |
<div class="span8 content class">
|
|
|
1097 |
<a id="method_getIds" name="method_getIds" class="anchor"></a>
|
|
|
1098 |
<article class="method">
|
|
|
1099 |
<h3 class="public ">getIds()</h3>
|
|
|
1100 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1101 |
<pre class="signature" style="margin-right: 54px;">getIds() : array</pre>
|
|
|
1102 |
<p><em>Return an array of stored cache ids</em></p>
|
|
|
1103 |
|
|
|
1104 |
|
|
|
1105 |
|
|
|
1106 |
|
|
|
1107 |
<h4>Returns</h4>
|
|
|
1108 |
array
|
|
|
1109 |
— <p>array of stored cache ids (string)</p>
|
|
|
1110 |
</article>
|
|
|
1111 |
</div>
|
|
|
1112 |
<aside class="span4 detailsbar">
|
|
|
1113 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1114 |
<dl>
|
|
|
1115 |
</dl>
|
|
|
1116 |
<h2>Tags</h2>
|
|
|
1117 |
<table class="table table-condensed">
|
|
|
1118 |
<tr>
|
|
|
1119 |
<th>
|
|
|
1120 |
todo
|
|
|
1121 |
</th>
|
|
|
1122 |
<td>
|
|
|
1123 |
</td>
|
|
|
1124 |
</tr>
|
|
|
1125 |
</table>
|
|
|
1126 |
</aside>
|
|
|
1127 |
</div>
|
|
|
1128 |
|
|
|
1129 |
<div class="row-fluid">
|
|
|
1130 |
<div class="span8 content class">
|
|
|
1131 |
<a id="method_getTags" name="method_getTags" class="anchor"></a>
|
|
|
1132 |
<article class="method">
|
|
|
1133 |
<h3 class="public ">getTags()</h3>
|
|
|
1134 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1135 |
<pre class="signature" style="margin-right: 54px;">getTags() : array</pre>
|
|
|
1136 |
<p><em>Return an array of stored tags</em></p>
|
|
|
1137 |
|
|
|
1138 |
|
|
|
1139 |
|
|
|
1140 |
|
|
|
1141 |
<h4>Returns</h4>
|
|
|
1142 |
array
|
|
|
1143 |
— <p>array of stored tags (string)</p>
|
|
|
1144 |
</article>
|
|
|
1145 |
</div>
|
|
|
1146 |
<aside class="span4 detailsbar">
|
|
|
1147 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1148 |
<dl>
|
|
|
1149 |
</dl>
|
|
|
1150 |
<h2>Tags</h2>
|
|
|
1151 |
<table class="table table-condensed">
|
|
|
1152 |
<tr>
|
|
|
1153 |
<th>
|
|
|
1154 |
todo
|
|
|
1155 |
</th>
|
|
|
1156 |
<td>
|
|
|
1157 |
</td>
|
|
|
1158 |
</tr>
|
|
|
1159 |
</table>
|
|
|
1160 |
</aside>
|
|
|
1161 |
</div>
|
|
|
1162 |
|
|
|
1163 |
<div class="row-fluid">
|
|
|
1164 |
<div class="span8 content class">
|
|
|
1165 |
<a id="method_getIdsAvecLesTags" name="method_getIdsAvecLesTags" class="anchor"></a>
|
|
|
1166 |
<article class="method">
|
|
|
1167 |
<h3 class="public ">getIdsAvecLesTags()</h3>
|
|
|
1168 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1169 |
<pre class="signature" style="margin-right: 54px;">getIdsAvecLesTags(array <span class="argument">$tags</span>) : array</pre>
|
|
|
1170 |
<p><em>Return an array of stored cache ids which match given tags</em></p>
|
|
|
1171 |
<p>In case of multiple tags, a logical AND is made between tags</p>
|
|
|
1172 |
|
|
|
1173 |
<h4>Parameters</h4>
|
|
|
1174 |
<table class="table table-condensed table-hover">
|
|
|
1175 |
<tr>
|
|
|
1176 |
<td>array</td>
|
|
|
1177 |
<td>$tags</td>
|
|
|
1178 |
<td><p>array of tags</p></td>
|
|
|
1179 |
</tr>
|
|
|
1180 |
</table>
|
|
|
1181 |
|
|
|
1182 |
|
|
|
1183 |
<h4>Returns</h4>
|
|
|
1184 |
array
|
|
|
1185 |
— <p>array of matching cache ids (string)</p>
|
|
|
1186 |
</article>
|
|
|
1187 |
</div>
|
|
|
1188 |
<aside class="span4 detailsbar">
|
|
|
1189 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1190 |
<dl>
|
|
|
1191 |
</dl>
|
|
|
1192 |
<h2>Tags</h2>
|
|
|
1193 |
<table class="table table-condensed">
|
|
|
1194 |
<tr>
|
|
|
1195 |
<th>
|
|
|
1196 |
todo
|
|
|
1197 |
</th>
|
|
|
1198 |
<td>
|
|
|
1199 |
</td>
|
|
|
1200 |
</tr>
|
|
|
1201 |
</table>
|
|
|
1202 |
</aside>
|
|
|
1203 |
</div>
|
|
|
1204 |
|
|
|
1205 |
<div class="row-fluid">
|
|
|
1206 |
<div class="span8 content class">
|
|
|
1207 |
<a id="method_getIdsSansLesTags" name="method_getIdsSansLesTags" class="anchor"></a>
|
|
|
1208 |
<article class="method">
|
|
|
1209 |
<h3 class="public ">getIdsSansLesTags()</h3>
|
|
|
1210 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1211 |
<pre class="signature" style="margin-right: 54px;">getIdsSansLesTags(array <span class="argument">$tags</span>) : array</pre>
|
|
|
1212 |
<p><em>Return an array of stored cache ids which don't match given tags</em></p>
|
|
|
1213 |
<p>In case of multiple tags, a logical OR is made between tags</p>
|
|
|
1214 |
|
|
|
1215 |
<h4>Parameters</h4>
|
|
|
1216 |
<table class="table table-condensed table-hover">
|
|
|
1217 |
<tr>
|
|
|
1218 |
<td>array</td>
|
|
|
1219 |
<td>$tags</td>
|
|
|
1220 |
<td><p>array of tags</p></td>
|
|
|
1221 |
</tr>
|
|
|
1222 |
</table>
|
|
|
1223 |
|
|
|
1224 |
|
|
|
1225 |
<h4>Returns</h4>
|
|
|
1226 |
array
|
|
|
1227 |
— <p>array of not matching cache ids (string)</p>
|
|
|
1228 |
</article>
|
|
|
1229 |
</div>
|
|
|
1230 |
<aside class="span4 detailsbar">
|
|
|
1231 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1232 |
<dl>
|
|
|
1233 |
</dl>
|
|
|
1234 |
<h2>Tags</h2>
|
|
|
1235 |
<table class="table table-condensed">
|
|
|
1236 |
<tr>
|
|
|
1237 |
<th>
|
|
|
1238 |
todo
|
|
|
1239 |
</th>
|
|
|
1240 |
<td>
|
|
|
1241 |
</td>
|
|
|
1242 |
</tr>
|
|
|
1243 |
</table>
|
|
|
1244 |
</aside>
|
|
|
1245 |
</div>
|
|
|
1246 |
|
|
|
1247 |
<div class="row-fluid">
|
|
|
1248 |
<div class="span8 content class">
|
|
|
1249 |
<a id="method_getIdsAvecUnTag" name="method_getIdsAvecUnTag" class="anchor"></a>
|
|
|
1250 |
<article class="method">
|
|
|
1251 |
<h3 class="public ">getIdsAvecUnTag()</h3>
|
|
|
1252 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1253 |
<pre class="signature" style="margin-right: 54px;">getIdsAvecUnTag(array <span class="argument">$tags</span>) : array</pre>
|
|
|
1254 |
<p><em>Return an array of stored cache ids which match any given tags</em></p>
|
|
|
1255 |
<p>In case of multiple tags, a logical OR is made between tags</p>
|
|
|
1256 |
|
|
|
1257 |
<h4>Parameters</h4>
|
|
|
1258 |
<table class="table table-condensed table-hover">
|
|
|
1259 |
<tr>
|
|
|
1260 |
<td>array</td>
|
|
|
1261 |
<td>$tags</td>
|
|
|
1262 |
<td><p>array of tags</p></td>
|
|
|
1263 |
</tr>
|
|
|
1264 |
</table>
|
|
|
1265 |
|
|
|
1266 |
|
|
|
1267 |
<h4>Returns</h4>
|
|
|
1268 |
array
|
|
|
1269 |
— <p>array of matching any cache ids (string)</p>
|
|
|
1270 |
</article>
|
|
|
1271 |
</div>
|
|
|
1272 |
<aside class="span4 detailsbar">
|
|
|
1273 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1274 |
<dl>
|
|
|
1275 |
</dl>
|
|
|
1276 |
<h2>Tags</h2>
|
|
|
1277 |
<table class="table table-condensed">
|
|
|
1278 |
<tr>
|
|
|
1279 |
<th>
|
|
|
1280 |
todo
|
|
|
1281 |
</th>
|
|
|
1282 |
<td>
|
|
|
1283 |
</td>
|
|
|
1284 |
</tr>
|
|
|
1285 |
</table>
|
|
|
1286 |
</aside>
|
|
|
1287 |
</div>
|
|
|
1288 |
|
|
|
1289 |
<div class="row-fluid">
|
|
|
1290 |
<div class="span8 content class">
|
|
|
1291 |
<a id="method_getPourcentageRemplissage" name="method_getPourcentageRemplissage" class="anchor"></a>
|
|
|
1292 |
<article class="method">
|
|
|
1293 |
<h3 class="public ">getPourcentageRemplissage()</h3>
|
|
|
1294 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1295 |
<pre class="signature" style="margin-right: 54px;">getPourcentageRemplissage() : int</pre>
|
|
|
1296 |
<p><em>Return the filling percentage of the backend storage</em></p>
|
|
|
1297 |
|
|
|
1298 |
|
|
|
1299 |
|
|
|
1300 |
|
|
|
1301 |
<h4>Returns</h4>
|
|
|
1302 |
int
|
|
|
1303 |
— <p>integer between 0 and 100</p>
|
|
|
1304 |
</article>
|
|
|
1305 |
</div>
|
|
|
1306 |
<aside class="span4 detailsbar">
|
|
|
1307 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1308 |
<dl>
|
|
|
1309 |
</dl>
|
|
|
1310 |
<h2>Tags</h2>
|
|
|
1311 |
<table class="table table-condensed">
|
|
|
1312 |
<tr>
|
|
|
1313 |
<th>
|
|
|
1314 |
todo
|
|
|
1315 |
</th>
|
|
|
1316 |
<td>
|
|
|
1317 |
</td>
|
|
|
1318 |
</tr>
|
|
|
1319 |
</table>
|
|
|
1320 |
</aside>
|
|
|
1321 |
</div>
|
|
|
1322 |
|
|
|
1323 |
<div class="row-fluid">
|
|
|
1324 |
<div class="span8 content class">
|
|
|
1325 |
<a id="method_getMetadonnees" name="method_getMetadonnees" class="anchor"></a>
|
|
|
1326 |
<article class="method">
|
|
|
1327 |
<h3 class="public ">getMetadonnees()</h3>
|
|
|
1328 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1329 |
<pre class="signature" style="margin-right: 54px;">getMetadonnees(string <span class="argument">$id</span>) : array</pre>
|
|
|
1330 |
<p><em>Return an array of metadatas for the given cache id</em></p>
|
|
|
1331 |
<p>The array will include these keys :</p>
|
|
|
1332 |
<ul>
|
|
|
1333 |
<li>expire : the expire timestamp</li>
|
|
|
1334 |
<li>tags : a string array of tags</li>
|
|
|
1335 |
<li>mtime : timestamp of last modification time</li>
|
|
|
1336 |
</ul>
|
|
|
1337 |
|
|
|
1338 |
<h4>Parameters</h4>
|
|
|
1339 |
<table class="table table-condensed table-hover">
|
|
|
1340 |
<tr>
|
|
|
1341 |
<td>string</td>
|
|
|
1342 |
<td>$id</td>
|
|
|
1343 |
<td><p>cache id</p></td>
|
|
|
1344 |
</tr>
|
|
|
1345 |
</table>
|
|
|
1346 |
|
|
|
1347 |
|
|
|
1348 |
<h4>Returns</h4>
|
|
|
1349 |
array
|
|
|
1350 |
— <p>array of metadatas (false if the cache id is not found)</p>
|
|
|
1351 |
</article>
|
|
|
1352 |
</div>
|
|
|
1353 |
<aside class="span4 detailsbar">
|
|
|
1354 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1355 |
<dl>
|
|
|
1356 |
</dl>
|
|
|
1357 |
<h2>Tags</h2>
|
|
|
1358 |
<table class="table table-condensed">
|
|
|
1359 |
<tr>
|
|
|
1360 |
<th>
|
|
|
1361 |
todo
|
|
|
1362 |
</th>
|
|
|
1363 |
<td>
|
|
|
1364 |
</td>
|
|
|
1365 |
</tr>
|
|
|
1366 |
</table>
|
|
|
1367 |
</aside>
|
|
|
1368 |
</div>
|
|
|
1369 |
|
|
|
1370 |
<div class="row-fluid">
|
|
|
1371 |
<div class="span8 content class">
|
|
|
1372 |
<a id="method_ajouterSupplementDureeDeVie" name="method_ajouterSupplementDureeDeVie" class="anchor"></a>
|
|
|
1373 |
<article class="method">
|
|
|
1374 |
<h3 class="public ">ajouterSupplementDureeDeVie()</h3>
|
|
|
1375 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1376 |
<pre class="signature" style="margin-right: 54px;">ajouterSupplementDureeDeVie(string <span class="argument">$id</span>, <span class="argument">$supplement_duree_de_vie</span>) : boolean</pre>
|
|
|
1377 |
<p><em>Give (if possible) an extra lifetime to the given cache id</em></p>
|
|
|
1378 |
|
|
|
1379 |
|
|
|
1380 |
<h4>Parameters</h4>
|
|
|
1381 |
<table class="table table-condensed table-hover">
|
|
|
1382 |
<tr>
|
|
|
1383 |
<td>string</td>
|
|
|
1384 |
<td>$id</td>
|
|
|
1385 |
<td><p>cache id</p></td>
|
|
|
1386 |
</tr>
|
|
|
1387 |
<tr>
|
|
|
1388 |
<td></td>
|
|
|
1389 |
<td>$supplement_duree_de_vie</td>
|
|
|
1390 |
<td></td>
|
|
|
1391 |
</tr>
|
|
|
1392 |
</table>
|
|
|
1393 |
|
|
|
1394 |
|
|
|
1395 |
<h4>Returns</h4>
|
|
|
1396 |
boolean
|
|
|
1397 |
— <p>true if ok</p>
|
|
|
1398 |
</article>
|
|
|
1399 |
</div>
|
|
|
1400 |
<aside class="span4 detailsbar">
|
|
|
1401 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1402 |
<dl>
|
|
|
1403 |
</dl>
|
|
|
1404 |
<h2>Tags</h2>
|
|
|
1405 |
<table class="table table-condensed">
|
|
|
1406 |
<tr>
|
|
|
1407 |
<th>
|
|
|
1408 |
todo
|
|
|
1409 |
</th>
|
|
|
1410 |
<td>
|
|
|
1411 |
</td>
|
|
|
1412 |
</tr>
|
|
|
1413 |
</table>
|
|
|
1414 |
</aside>
|
|
|
1415 |
</div>
|
|
|
1416 |
|
|
|
1417 |
<div class="row-fluid">
|
|
|
1418 |
<div class="span8 content class">
|
|
|
1419 |
<a id="method_getTimestampExpiration" name="method_getTimestampExpiration" class="anchor"></a>
|
|
|
1420 |
<article class="method">
|
|
|
1421 |
<h3 class="public ">getTimestampExpiration()</h3>
|
|
|
1422 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1423 |
<pre class="signature" style="margin-right: 54px;">getTimestampExpiration( <span class="argument">$duree_de_vie</span>) : int</pre>
|
|
|
1424 |
<p><em>Calcule et retourne le timestamp d'expiration</em></p>
|
|
|
1425 |
|
|
|
1426 |
|
|
|
1427 |
<h4>Parameters</h4>
|
|
|
1428 |
<table class="table table-condensed table-hover">
|
|
|
1429 |
<tr>
|
|
|
1430 |
<td></td>
|
|
|
1431 |
<td>$duree_de_vie</td>
|
|
|
1432 |
<td></td>
|
|
|
1433 |
</tr>
|
|
|
1434 |
</table>
|
|
|
1435 |
|
|
|
1436 |
|
|
|
1437 |
<h4>Returns</h4>
|
|
|
1438 |
int
|
|
|
1439 |
— <p>timestamp d'expiration (unix timestamp)</p>
|
|
|
1440 |
</article>
|
|
|
1441 |
</div>
|
|
|
1442 |
<aside class="span4 detailsbar">
|
|
|
1443 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1444 |
<dl>
|
|
|
1445 |
</dl>
|
|
|
1446 |
<h2>Tags</h2>
|
|
|
1447 |
<table class="table table-condensed">
|
|
|
1448 |
<tr>
|
|
|
1449 |
<th>
|
|
|
1450 |
todo
|
|
|
1451 |
</th>
|
|
|
1452 |
<td>
|
|
|
1453 |
</td>
|
|
|
1454 |
</tr>
|
|
|
1455 |
</table>
|
|
|
1456 |
</aside>
|
|
|
1457 |
</div>
|
|
|
1458 |
|
|
|
1459 |
<div class="row-fluid">
|
|
|
1460 |
<div class="span8 content class">
|
|
|
1461 |
<a id="method_validerIdOuTag" name="method_validerIdOuTag" class="anchor"></a>
|
|
|
1462 |
<article class="method">
|
|
|
1463 |
<h3 class="protected ">validerIdOuTag()</h3>
|
|
|
1464 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1465 |
<pre class="signature" style="margin-right: 54px;">validerIdOuTag(string <span class="argument">$chaine</span>) : void</pre>
|
|
|
1466 |
<p><em>Valide un identifiant de cache ou un tag (securité, nom de fichiers fiables, préfixes réservés.</em></p>
|
|
|
1467 |
<p>..)</p>
|
|
|
1468 |
|
|
|
1469 |
<h4>Parameters</h4>
|
|
|
1470 |
<table class="table table-condensed table-hover">
|
|
|
1471 |
<tr>
|
|
|
1472 |
<td>string</td>
|
|
|
1473 |
<td>$chaine</td>
|
|
|
1474 |
<td><p>Identificant de cache ou tag</p></td>
|
|
|
1475 |
</tr>
|
|
|
1476 |
</table>
|
|
|
1477 |
|
|
|
1478 |
|
|
|
1479 |
</article>
|
|
|
1480 |
</div>
|
|
|
1481 |
<aside class="span4 detailsbar">
|
|
|
1482 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1483 |
<span class="label label-info">static</span>
|
|
|
1484 |
<dl>
|
|
|
1485 |
</dl>
|
|
|
1486 |
<h2>Tags</h2>
|
|
|
1487 |
<table class="table table-condensed">
|
|
|
1488 |
<tr>
|
|
|
1489 |
<th>
|
|
|
1490 |
todo
|
|
|
1491 |
</th>
|
|
|
1492 |
<td>
|
|
|
1493 |
</td>
|
|
|
1494 |
</tr>
|
|
|
1495 |
</table>
|
|
|
1496 |
</aside>
|
|
|
1497 |
</div>
|
|
|
1498 |
|
|
|
1499 |
<div class="row-fluid">
|
|
|
1500 |
<div class="span8 content class">
|
|
|
1501 |
<a id="method_validerTableauDeTags" name="method_validerTableauDeTags" class="anchor"></a>
|
|
|
1502 |
<article class="method">
|
|
|
1503 |
<h3 class="protected ">validerTableauDeTags()</h3>
|
|
|
1504 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1505 |
<pre class="signature" style="margin-right: 54px;">validerTableauDeTags(array <span class="argument">$tags</span>) : void</pre>
|
|
|
1506 |
<p><em>Valide un tableau de tags (securité, nom de fichiers fiables, préfixes réservés.</em></p>
|
|
|
1507 |
<p>..)</p>
|
|
|
1508 |
|
|
|
1509 |
<h4>Parameters</h4>
|
|
|
1510 |
<table class="table table-condensed table-hover">
|
|
|
1511 |
<tr>
|
|
|
1512 |
<td>array</td>
|
|
|
1513 |
<td>$tags</td>
|
|
|
1514 |
<td><p>tableau de tags</p></td>
|
|
|
1515 |
</tr>
|
|
|
1516 |
</table>
|
|
|
1517 |
|
|
|
1518 |
|
|
|
1519 |
</article>
|
|
|
1520 |
</div>
|
|
|
1521 |
<aside class="span4 detailsbar">
|
|
|
1522 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1523 |
<span class="label label-info">static</span>
|
|
|
1524 |
<dl>
|
|
|
1525 |
</dl>
|
|
|
1526 |
<h2>Tags</h2>
|
|
|
1527 |
<table class="table table-condensed">
|
|
|
1528 |
<tr>
|
|
|
1529 |
<th>
|
|
|
1530 |
todo
|
|
|
1531 |
</th>
|
|
|
1532 |
<td>
|
|
|
1533 |
</td>
|
|
|
1534 |
</tr>
|
|
|
1535 |
</table>
|
|
|
1536 |
</aside>
|
|
|
1537 |
</div>
|
|
|
1538 |
|
|
|
1539 |
<div class="row-fluid">
|
|
|
1540 |
<div class="span8 content class">
|
|
|
1541 |
<a id="method_initialiserOptionsParConfig" name="method_initialiserOptionsParConfig" class="anchor"></a>
|
|
|
1542 |
<article class="method">
|
|
|
1543 |
<h3 class="private ">initialiserOptionsParConfig()</h3>
|
|
|
1544 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1545 |
<pre class="signature" style="margin-right: 54px;">initialiserOptionsParConfig()</pre>
|
|
|
1546 |
<p><em></em></p>
|
|
|
1547 |
|
|
|
1548 |
|
|
|
1549 |
|
|
|
1550 |
|
|
|
1551 |
</article>
|
|
|
1552 |
</div>
|
|
|
1553 |
<aside class="span4 detailsbar">
|
|
|
1554 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1555 |
<dl>
|
|
|
1556 |
</dl>
|
|
|
1557 |
<h2>Tags</h2>
|
|
|
1558 |
<table class="table table-condensed">
|
|
|
1559 |
<tr>
|
|
|
1560 |
<th>
|
|
|
1561 |
todo
|
|
|
1562 |
</th>
|
|
|
1563 |
<td>
|
|
|
1564 |
</td>
|
|
|
1565 |
</tr>
|
|
|
1566 |
</table>
|
|
|
1567 |
</aside>
|
|
|
1568 |
</div>
|
|
|
1569 |
|
|
|
1570 |
<div class="row-fluid">
|
|
|
1571 |
<div class="span8 content class">
|
|
|
1572 |
<a id="method_setOptions" name="method_setOptions" class="anchor"></a>
|
|
|
1573 |
<article class="method">
|
|
|
1574 |
<h3 class="private ">setOptions()</h3>
|
|
|
1575 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1576 |
<pre class="signature" style="margin-right: 54px;">setOptions( <span class="argument">$options</span>)</pre>
|
|
|
1577 |
<p><em></em></p>
|
|
|
1578 |
|
|
|
1579 |
|
|
|
1580 |
<h4>Parameters</h4>
|
|
|
1581 |
<table class="table table-condensed table-hover">
|
|
|
1582 |
<tr>
|
|
|
1583 |
<td></td>
|
|
|
1584 |
<td>$options</td>
|
|
|
1585 |
<td></td>
|
|
|
1586 |
</tr>
|
|
|
1587 |
</table>
|
|
|
1588 |
|
|
|
1589 |
|
|
|
1590 |
</article>
|
|
|
1591 |
</div>
|
|
|
1592 |
<aside class="span4 detailsbar">
|
|
|
1593 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1594 |
<dl>
|
|
|
1595 |
</dl>
|
|
|
1596 |
<h2>Tags</h2>
|
|
|
1597 |
<table class="table table-condensed">
|
|
|
1598 |
<tr>
|
|
|
1599 |
<th>
|
|
|
1600 |
todo
|
|
|
1601 |
</th>
|
|
|
1602 |
<td>
|
|
|
1603 |
</td>
|
|
|
1604 |
</tr>
|
|
|
1605 |
</table>
|
|
|
1606 |
</aside>
|
|
|
1607 |
</div>
|
|
|
1608 |
|
|
|
1609 |
<div class="row-fluid">
|
|
|
1610 |
<div class="span8 content class">
|
|
|
1611 |
<a id="method_prefixerId" name="method_prefixerId" class="anchor"></a>
|
|
|
1612 |
<article class="method">
|
|
|
1613 |
<h3 class="private ">prefixerId()</h3>
|
|
|
1614 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1615 |
<pre class="signature" style="margin-right: 54px;">prefixerId(string <span class="argument">$id</span>) : string</pre>
|
|
|
1616 |
<p><em>Fabrique et retourne l'identifiant du cache avec son préfixe.</em></p>
|
|
|
1617 |
<p>Vérifie l'option 'cache_id_prefixe' et retourne le nouvel id avec préfixe ou simplement l'id lui même si elle vaut null.</p>
|
|
|
1618 |
|
|
|
1619 |
<h4>Parameters</h4>
|
|
|
1620 |
<table class="table table-condensed table-hover">
|
|
|
1621 |
<tr>
|
|
|
1622 |
<td>string</td>
|
|
|
1623 |
<td>$id</td>
|
|
|
1624 |
<td><p>Identifiant du cache.</p></td>
|
|
|
1625 |
</tr>
|
|
|
1626 |
</table>
|
|
|
1627 |
|
|
|
1628 |
|
|
|
1629 |
<h4>Returns</h4>
|
|
|
1630 |
string
|
|
|
1631 |
— <p>Identifiant du cache avec ou sans préfixe.</p>
|
|
|
1632 |
</article>
|
|
|
1633 |
</div>
|
|
|
1634 |
<aside class="span4 detailsbar">
|
|
|
1635 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1636 |
<dl>
|
|
|
1637 |
</dl>
|
|
|
1638 |
<h2>Tags</h2>
|
|
|
1639 |
<table class="table table-condensed">
|
|
|
1640 |
<tr>
|
|
|
1641 |
<th>
|
|
|
1642 |
todo
|
|
|
1643 |
</th>
|
|
|
1644 |
<td>
|
|
|
1645 |
</td>
|
|
|
1646 |
</tr>
|
|
|
1647 |
</table>
|
|
|
1648 |
</aside>
|
|
|
1649 |
</div>
|
|
|
1650 |
|
|
|
1651 |
<div class="row-fluid">
|
|
|
1652 |
<div class="span8 content class">
|
|
|
1653 |
<a id="method_executerMethodeStockage" name="method_executerMethodeStockage" class="anchor"></a>
|
|
|
1654 |
<article class="method">
|
|
|
1655 |
<h3 class="private ">executerMethodeStockage()</h3>
|
|
|
1656 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1657 |
<pre class="signature" style="margin-right: 54px;">executerMethodeStockage( <span class="argument">$methode</span>, <span class="argument">$params</span>)</pre>
|
|
|
1658 |
<p><em></em></p>
|
|
|
1659 |
|
|
|
1660 |
|
|
|
1661 |
<h4>Parameters</h4>
|
|
|
1662 |
<table class="table table-condensed table-hover">
|
|
|
1663 |
<tr>
|
|
|
1664 |
<td></td>
|
|
|
1665 |
<td>$methode</td>
|
|
|
1666 |
<td></td>
|
|
|
1667 |
</tr>
|
|
|
1668 |
<tr>
|
|
|
1669 |
<td></td>
|
|
|
1670 |
<td>$params</td>
|
|
|
1671 |
<td></td>
|
|
|
1672 |
</tr>
|
|
|
1673 |
</table>
|
|
|
1674 |
|
|
|
1675 |
|
|
|
1676 |
</article>
|
|
|
1677 |
</div>
|
|
|
1678 |
<aside class="span4 detailsbar">
|
|
|
1679 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1680 |
<dl>
|
|
|
1681 |
</dl>
|
|
|
1682 |
<h2>Tags</h2>
|
|
|
1683 |
<table class="table table-condensed">
|
|
|
1684 |
<tr>
|
|
|
1685 |
<th>
|
|
|
1686 |
todo
|
|
|
1687 |
</th>
|
|
|
1688 |
<td>
|
|
|
1689 |
</td>
|
|
|
1690 |
</tr>
|
|
|
1691 |
</table>
|
|
|
1692 |
</aside>
|
|
|
1693 |
</div>
|
|
|
1694 |
|
|
|
1695 |
<div class="row-fluid">
|
|
|
1696 |
<div class="span8 content class">
|
|
|
1697 |
<a id="method_supprimerPrefixe" name="method_supprimerPrefixe" class="anchor"></a>
|
|
|
1698 |
<article class="method">
|
|
|
1699 |
<h3 class="private ">supprimerPrefixe()</h3>
|
|
|
1700 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1701 |
<pre class="signature" style="margin-right: 54px;">supprimerPrefixe( <span class="argument">$ids</span>)</pre>
|
|
|
1702 |
<p><em></em></p>
|
|
|
1703 |
|
|
|
1704 |
|
|
|
1705 |
<h4>Parameters</h4>
|
|
|
1706 |
<table class="table table-condensed table-hover">
|
|
|
1707 |
<tr>
|
|
|
1708 |
<td></td>
|
|
|
1709 |
<td>$ids</td>
|
|
|
1710 |
<td></td>
|
|
|
1711 |
</tr>
|
|
|
1712 |
</table>
|
|
|
1713 |
|
|
|
1714 |
|
|
|
1715 |
</article>
|
|
|
1716 |
</div>
|
|
|
1717 |
<aside class="span4 detailsbar">
|
|
|
1718 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1719 |
<dl>
|
|
|
1720 |
</dl>
|
|
|
1721 |
<h2>Tags</h2>
|
|
|
1722 |
<table class="table table-condensed">
|
|
|
1723 |
<tr>
|
|
|
1724 |
<th>
|
|
|
1725 |
todo
|
|
|
1726 |
</th>
|
|
|
1727 |
<td>
|
|
|
1728 |
</td>
|
|
|
1729 |
</tr>
|
|
|
1730 |
</table>
|
|
|
1731 |
</aside>
|
|
|
1732 |
</div>
|
|
|
1733 |
|
|
|
1734 |
<div class="row-fluid">
|
|
|
1735 |
<div class="span8 content class">
|
|
|
1736 |
<a id="method_controlerEcriture" name="method_controlerEcriture" class="anchor"></a>
|
|
|
1737 |
<article class="method">
|
|
|
1738 |
<h3 class="private ">controlerEcriture()</h3>
|
|
|
1739 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1740 |
<pre class="signature" style="margin-right: 54px;">controlerEcriture( <span class="argument">$id</span>, <span class="argument">$donnees_avant_ecriture</span>)</pre>
|
|
|
1741 |
<p><em></em></p>
|
|
|
1742 |
|
|
|
1743 |
|
|
|
1744 |
<h4>Parameters</h4>
|
|
|
1745 |
<table class="table table-condensed table-hover">
|
|
|
1746 |
<tr>
|
|
|
1747 |
<td></td>
|
|
|
1748 |
<td>$id</td>
|
|
|
1749 |
<td></td>
|
|
|
1750 |
</tr>
|
|
|
1751 |
<tr>
|
|
|
1752 |
<td></td>
|
|
|
1753 |
<td>$donnees_avant_ecriture</td>
|
|
|
1754 |
<td></td>
|
|
|
1755 |
</tr>
|
|
|
1756 |
</table>
|
|
|
1757 |
|
|
|
1758 |
|
|
|
1759 |
</article>
|
|
|
1760 |
</div>
|
|
|
1761 |
<aside class="span4 detailsbar">
|
|
|
1762 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1763 |
<dl>
|
|
|
1764 |
</dl>
|
|
|
1765 |
<h2>Tags</h2>
|
|
|
1766 |
<table class="table table-condensed">
|
|
|
1767 |
<tr>
|
|
|
1768 |
<th>
|
|
|
1769 |
todo
|
|
|
1770 |
</th>
|
|
|
1771 |
<td>
|
|
|
1772 |
</td>
|
|
|
1773 |
</tr>
|
|
|
1774 |
</table>
|
|
|
1775 |
</aside>
|
|
|
1776 |
</div>
|
|
|
1777 |
|
|
|
1778 |
<div class="row-fluid">
|
|
|
1779 |
<div class="span8 content class">
|
|
|
1780 |
<a id="method_deserialiserAutomatiquement" name="method_deserialiserAutomatiquement" class="anchor"></a>
|
|
|
1781 |
<article class="method">
|
|
|
1782 |
<h3 class="private ">deserialiserAutomatiquement()</h3>
|
|
|
1783 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1784 |
<pre class="signature" style="margin-right: 54px;">deserialiserAutomatiquement( <span class="argument">$donnees</span>)</pre>
|
|
|
1785 |
<p><em></em></p>
|
|
|
1786 |
|
|
|
1787 |
|
|
|
1788 |
<h4>Parameters</h4>
|
|
|
1789 |
<table class="table table-condensed table-hover">
|
|
|
1790 |
<tr>
|
|
|
1791 |
<td></td>
|
|
|
1792 |
<td>$donnees</td>
|
|
|
1793 |
<td></td>
|
|
|
1794 |
</tr>
|
|
|
1795 |
</table>
|
|
|
1796 |
|
|
|
1797 |
|
|
|
1798 |
</article>
|
|
|
1799 |
</div>
|
|
|
1800 |
<aside class="span4 detailsbar">
|
|
|
1801 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1802 |
<dl>
|
|
|
1803 |
</dl>
|
|
|
1804 |
<h2>Tags</h2>
|
|
|
1805 |
<table class="table table-condensed">
|
|
|
1806 |
<tr>
|
|
|
1807 |
<th>
|
|
|
1808 |
todo
|
|
|
1809 |
</th>
|
|
|
1810 |
<td>
|
|
|
1811 |
</td>
|
|
|
1812 |
</tr>
|
|
|
1813 |
</table>
|
|
|
1814 |
</aside>
|
|
|
1815 |
</div>
|
|
|
1816 |
|
|
|
1817 |
<div class="row-fluid">
|
|
|
1818 |
<div class="span8 content class">
|
|
|
1819 |
<a id="method_serialiserAutomatiquement" name="method_serialiserAutomatiquement" class="anchor"></a>
|
|
|
1820 |
<article class="method">
|
|
|
1821 |
<h3 class="private ">serialiserAutomatiquement()</h3>
|
|
|
1822 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1823 |
<pre class="signature" style="margin-right: 54px;">serialiserAutomatiquement( <span class="argument">$donnees</span>)</pre>
|
|
|
1824 |
<p><em></em></p>
|
|
|
1825 |
|
|
|
1826 |
|
|
|
1827 |
<h4>Parameters</h4>
|
|
|
1828 |
<table class="table table-condensed table-hover">
|
|
|
1829 |
<tr>
|
|
|
1830 |
<td></td>
|
|
|
1831 |
<td>$donnees</td>
|
|
|
1832 |
<td></td>
|
|
|
1833 |
</tr>
|
|
|
1834 |
</table>
|
|
|
1835 |
|
|
|
1836 |
|
|
|
1837 |
</article>
|
|
|
1838 |
</div>
|
|
|
1839 |
<aside class="span4 detailsbar">
|
|
|
1840 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1841 |
<dl>
|
|
|
1842 |
</dl>
|
|
|
1843 |
<h2>Tags</h2>
|
|
|
1844 |
<table class="table table-condensed">
|
|
|
1845 |
<tr>
|
|
|
1846 |
<th>
|
|
|
1847 |
todo
|
|
|
1848 |
</th>
|
|
|
1849 |
<td>
|
|
|
1850 |
</td>
|
|
|
1851 |
</tr>
|
|
|
1852 |
</table>
|
|
|
1853 |
</aside>
|
|
|
1854 |
</div>
|
|
|
1855 |
|
|
|
1856 |
<div class="row-fluid">
|
|
|
1857 |
<div class="span8 content class">
|
|
|
1858 |
<a id="method_nettoyerAutomatiquement" name="method_nettoyerAutomatiquement" class="anchor"></a>
|
|
|
1859 |
<article class="method">
|
|
|
1860 |
<h3 class="private ">nettoyerAutomatiquement()</h3>
|
|
|
1861 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
1862 |
<pre class="signature" style="margin-right: 54px;">nettoyerAutomatiquement()</pre>
|
|
|
1863 |
<p><em></em></p>
|
|
|
1864 |
|
|
|
1865 |
|
|
|
1866 |
|
|
|
1867 |
|
|
|
1868 |
</article>
|
|
|
1869 |
</div>
|
|
|
1870 |
<aside class="span4 detailsbar">
|
|
|
1871 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1872 |
<dl>
|
|
|
1873 |
</dl>
|
|
|
1874 |
<h2>Tags</h2>
|
|
|
1875 |
<table class="table table-condensed">
|
|
|
1876 |
<tr>
|
|
|
1877 |
<th>
|
|
|
1878 |
todo
|
|
|
1879 |
</th>
|
|
|
1880 |
<td>
|
|
|
1881 |
</td>
|
|
|
1882 |
</tr>
|
|
|
1883 |
</table>
|
|
|
1884 |
</aside>
|
|
|
1885 |
</div>
|
|
|
1886 |
|
|
|
1887 |
</div>
|
|
|
1888 |
</section>
|
|
|
1889 |
|
|
|
1890 |
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
|
|
1891 |
<div class="modal-header">
|
|
|
1892 |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
1893 |
<h3 id="source-view-label">Cache.php</h3>
|
|
|
1894 |
</div>
|
|
|
1895 |
<div class="modal-body">
|
|
|
1896 |
<pre data-src="../files/Cache.php.txt" class="language-php line-numbers"></pre>
|
|
|
1897 |
</div>
|
|
|
1898 |
</div>
|
|
|
1899 |
|
|
|
1900 |
<footer class="row-fluid">
|
|
|
1901 |
<section class="span10 offset2">
|
|
|
1902 |
<section class="row-fluid">
|
|
|
1903 |
<section class="span10 offset1">
|
|
|
1904 |
<section class="row-fluid footer-sections">
|
|
|
1905 |
<section class="span4">
|
|
|
1906 |
<h1><i class="icon-code"></i></h1>
|
|
|
1907 |
<div>
|
|
|
1908 |
<ul>
|
|
|
1909 |
</ul>
|
|
|
1910 |
</div>
|
|
|
1911 |
</section>
|
|
|
1912 |
<section class="span4">
|
|
|
1913 |
<h1><i class="icon-bar-chart"></i></h1>
|
|
|
1914 |
<div>
|
|
|
1915 |
<ul>
|
|
|
1916 |
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
|
|
1917 |
</ul>
|
|
|
1918 |
</div>
|
|
|
1919 |
</section>
|
|
|
1920 |
<section class="span4">
|
|
|
1921 |
<h1><i class="icon-pushpin"></i></h1>
|
|
|
1922 |
<div>
|
|
|
1923 |
<ul>
|
|
|
1924 |
<li><a href="../reports/errors.html">Errors</a></li>
|
|
|
1925 |
<li><a href="../reports/markers.html">Markers</a></li>
|
|
|
1926 |
</ul>
|
|
|
1927 |
</div>
|
|
|
1928 |
</section>
|
|
|
1929 |
</section>
|
|
|
1930 |
</section>
|
|
|
1931 |
</section>
|
|
|
1932 |
<section class="row-fluid">
|
|
|
1933 |
<section class="span10 offset1">
|
|
|
1934 |
<hr />
|
|
|
1935 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
|
|
1936 |
on March 12th, 2014 at 15:57.
|
|
|
1937 |
</section>
|
|
|
1938 |
</section>
|
|
|
1939 |
</section>
|
|
|
1940 |
</footer>
|
|
|
1941 |
</div>
|
|
|
1942 |
|
|
|
1943 |
</body>
|
|
|
1944 |
</html>
|