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-324688787"></a>
|
|
|
142 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
|
|
143 |
</div>
|
|
|
144 |
<div id="namespace-324688787" 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>CacheSqlite</h1>
|
|
|
193 |
<p><em></em></p>
|
|
|
194 |
|
|
|
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/CacheSqlite.html#method___construct" class="">__construct()</a><br />
|
|
|
212 |
<a href="../classes/CacheSqlite.html#method___destruct" class="">__destruct()</a><br />
|
|
|
213 |
<a href="../classes/CacheSqlite.html#method_setEmplacement" class="">setEmplacement()</a><br />
|
|
|
214 |
<a href="../classes/CacheSqlite.html#method_charger" class="">charger()</a><br />
|
|
|
215 |
<a href="../classes/CacheSqlite.html#method_tester" class="">tester()</a><br />
|
|
|
216 |
<a href="../classes/CacheSqlite.html#method_sauver" class="">sauver()</a><br />
|
|
|
217 |
<a href="../classes/CacheSqlite.html#method_supprimer" class="">supprimer()</a><br />
|
|
|
218 |
<a href="../classes/CacheSqlite.html#method_nettoyer" class="">nettoyer()</a><br />
|
|
|
219 |
<a href="../classes/CacheSqlite.html#method_getIds" class="">getIds()</a><br />
|
|
|
220 |
<a href="../classes/CacheSqlite.html#method_getTags" class="">getTags()</a><br />
|
|
|
221 |
<a href="../classes/CacheSqlite.html#method_getIdsAvecLesTags" class="">getIdsAvecLesTags()</a><br />
|
|
|
222 |
<a href="../classes/CacheSqlite.html#method_getIdsSansLesTags" class="">getIdsSansLesTags()</a><br />
|
|
|
223 |
<a href="../classes/CacheSqlite.html#method_getIdsAvecUnTag" class="">getIdsAvecUnTag()</a><br />
|
|
|
224 |
<a href="../classes/CacheSqlite.html#method_getPourcentageRemplissage" class="">getPourcentageRemplissage()</a><br />
|
|
|
225 |
<a href="../classes/CacheSqlite.html#method_getMetadonnees" class="">getMetadonnees()</a><br />
|
|
|
226 |
<a href="../classes/CacheSqlite.html#method_ajouterSupplementDureeDeVie" class="">ajouterSupplementDureeDeVie()</a><br />
|
|
|
227 |
</section>
|
|
|
228 |
<section class="span4">
|
|
|
229 |
<em>No public properties found</em>
|
|
|
230 |
</section>
|
|
|
231 |
<section class="span4">
|
|
|
232 |
<em>No constants found</em>
|
|
|
233 |
</section>
|
|
|
234 |
</section>
|
|
|
235 |
<section class="row-fluid protected">
|
|
|
236 |
<section class="span4">
|
|
|
237 |
<em>No protected methods found</em>
|
|
|
238 |
</section>
|
|
|
239 |
<section class="span4">
|
|
|
240 |
<a href="../classes/CacheSqlite.html#property_options" class="">$options</a><br />
|
|
|
241 |
</section>
|
|
|
242 |
<section class="span4">
|
|
|
243 |
<em>N/A</em>
|
|
|
244 |
</section>
|
|
|
245 |
</section>
|
|
|
246 |
<section class="row-fluid private">
|
|
|
247 |
<section class="span4">
|
|
|
248 |
<a href="../classes/CacheSqlite.html#method_initialiserOptionsParConfig" class="">initialiserOptionsParConfig()</a><br />
|
|
|
249 |
<a href="../classes/CacheSqlite.html#method_setOptions" class="">setOptions()</a><br />
|
|
|
250 |
<a href="../classes/CacheSqlite.html#method_getConnexion" class="">getConnexion()</a><br />
|
|
|
251 |
<a href="../classes/CacheSqlite.html#method_requeter" class="">requeter()</a><br />
|
|
|
252 |
<a href="../classes/CacheSqlite.html#method_defragmenterAutomatiquement" class="">defragmenterAutomatiquement()</a><br />
|
|
|
253 |
<a href="../classes/CacheSqlite.html#method_enregisterTag" class="">enregisterTag()</a><br />
|
|
|
254 |
<a href="../classes/CacheSqlite.html#method_creerStructure" class="">creerStructure()</a><br />
|
|
|
255 |
<a href="../classes/CacheSqlite.html#method_verifierBddStructureVersion" class="">verifierBddStructureVersion()</a><br />
|
|
|
256 |
<a href="../classes/CacheSqlite.html#method_nettoyerSqlite" class="">nettoyerSqlite()</a><br />
|
|
|
257 |
<a href="../classes/CacheSqlite.html#method_verifierEtCreerStructureBdd" class="">verifierEtCreerStructureBdd()</a><br />
|
|
|
258 |
</section>
|
|
|
259 |
<section class="span4">
|
|
|
260 |
<a href="../classes/CacheSqlite.html#property_bdd" class="">$bdd</a><br />
|
|
|
261 |
<a href="../classes/CacheSqlite.html#property_structure_ok" class="">$structure_ok</a><br />
|
|
|
262 |
<a href="../classes/CacheSqlite.html#property_Cache" class="">$Cache</a><br />
|
|
|
263 |
</section>
|
|
|
264 |
<section class="span4">
|
|
|
265 |
<em>N/A</em>
|
|
|
266 |
</section>
|
|
|
267 |
</section>
|
|
|
268 |
</section>
|
|
|
269 |
</div>
|
|
|
270 |
<aside class="span4 detailsbar">
|
|
|
271 |
|
|
|
272 |
|
|
|
273 |
<dl>
|
|
|
274 |
<dt>File</dt>
|
|
|
275 |
<dd><a href="../files/CacheSqlite.php.html"><div class="path-wrapper">CacheSqlite.php</div></a></dd>
|
|
|
276 |
<dt>Class hierarchy</dt>
|
|
|
277 |
<dd class="hierarchy">
|
|
|
278 |
<div class="namespace-wrapper">\CacheSqlite</div>
|
|
|
279 |
</dd>
|
|
|
280 |
|
|
|
281 |
|
|
|
282 |
|
|
|
283 |
|
|
|
284 |
|
|
|
285 |
</dl>
|
|
|
286 |
<h2>Tags</h2>
|
|
|
287 |
<table class="table table-condensed">
|
|
|
288 |
<tr>
|
|
|
289 |
<th>
|
|
|
290 |
todo
|
|
|
291 |
</th>
|
|
|
292 |
<td>
|
|
|
293 |
</td>
|
|
|
294 |
</tr>
|
|
|
295 |
</table>
|
|
|
296 |
</aside>
|
|
|
297 |
</div>
|
|
|
298 |
|
|
|
299 |
|
|
|
300 |
<a id="properties" name="properties"></a>
|
|
|
301 |
<div class="row-fluid">
|
|
|
302 |
<div class="span8 content class">
|
|
|
303 |
<h2>Properties</h2>
|
|
|
304 |
</div>
|
|
|
305 |
<aside class="span4 detailsbar"></aside>
|
|
|
306 |
</div>
|
|
|
307 |
|
|
|
308 |
<div class="row-fluid">
|
|
|
309 |
<div class="span8 content class">
|
|
|
310 |
<a id="property_options" name="property_options" class="anchor"></a>
|
|
|
311 |
<article class="property">
|
|
|
312 |
<h3 class="protected ">$options</h3>
|
|
|
313 |
<pre class="signature">$options : array</pre>
|
|
|
314 |
<p><em>Options disponibles :</em></p>
|
|
|
315 |
<p>====> (string) stockage_chemin :
|
|
|
316 |
Chemin vers le fichier contenant la base SQLite.</p>
|
|
|
317 |
<p>====> (int) defragmentation_auto :</p>
|
|
|
318 |
<ul>
|
|
|
319 |
<li>Désactive / Régler le processus de défragmentation automatique</li>
|
|
|
320 |
<li>Le processus de défragmentation automatiques réduit la taille du fichier contenant la base de données
|
|
|
321 |
quand un ajout ou une suppression de cache est réalisée :
|
|
|
322 |
|
|
|
323 |
1 => défragmentation automatique systématique
|
|
|
324 |
x (integer) > 1 => défragmentation automatique toutes les 1 fois (au hasard) sur x ajout ou suppression de cache</li>
|
|
|
325 |
</ul>
|
|
|
326 |
|
|
|
327 |
<h4>Type</h4>
|
|
|
328 |
array
|
|
|
329 |
— options disponibles </article>
|
|
|
330 |
</div>
|
|
|
331 |
<aside class="span4 detailsbar">
|
|
|
332 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
333 |
<dl>
|
|
|
334 |
</dl>
|
|
|
335 |
<h2>Tags</h2>
|
|
|
336 |
<table class="table table-condensed">
|
|
|
337 |
<tr>
|
|
|
338 |
<th>
|
|
|
339 |
todo
|
|
|
340 |
</th>
|
|
|
341 |
<td>
|
|
|
342 |
</td>
|
|
|
343 |
</tr>
|
|
|
344 |
</table>
|
|
|
345 |
</aside>
|
|
|
346 |
</div>
|
|
|
347 |
|
|
|
348 |
<div class="row-fluid">
|
|
|
349 |
<div class="span8 content class">
|
|
|
350 |
<a id="property_bdd" name="property_bdd" class="anchor"></a>
|
|
|
351 |
<article class="property">
|
|
|
352 |
<h3 class="private ">$bdd</h3>
|
|
|
353 |
<pre class="signature">$bdd : mixed</pre>
|
|
|
354 |
<p><em>DB ressource</em></p>
|
|
|
355 |
|
|
|
356 |
|
|
|
357 |
<h4>Type</h4>
|
|
|
358 |
mixed
|
|
|
359 |
</article>
|
|
|
360 |
</div>
|
|
|
361 |
<aside class="span4 detailsbar">
|
|
|
362 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
363 |
<dl>
|
|
|
364 |
</dl>
|
|
|
365 |
<h2>Tags</h2>
|
|
|
366 |
<table class="table table-condensed">
|
|
|
367 |
<tr>
|
|
|
368 |
<th>
|
|
|
369 |
todo
|
|
|
370 |
</th>
|
|
|
371 |
<td>
|
|
|
372 |
</td>
|
|
|
373 |
</tr>
|
|
|
374 |
</table>
|
|
|
375 |
</aside>
|
|
|
376 |
</div>
|
|
|
377 |
|
|
|
378 |
<div class="row-fluid">
|
|
|
379 |
<div class="span8 content class">
|
|
|
380 |
<a id="property_structure_ok" name="property_structure_ok" class="anchor"></a>
|
|
|
381 |
<article class="property">
|
|
|
382 |
<h3 class="private ">$structure_ok</h3>
|
|
|
383 |
<pre class="signature">$structure_ok : boolean</pre>
|
|
|
384 |
<p><em>Boolean to store if the structure has benn checked or not</em></p>
|
|
|
385 |
|
|
|
386 |
|
|
|
387 |
<h4>Type</h4>
|
|
|
388 |
boolean
|
|
|
389 |
</article>
|
|
|
390 |
</div>
|
|
|
391 |
<aside class="span4 detailsbar">
|
|
|
392 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
393 |
<dl>
|
|
|
394 |
</dl>
|
|
|
395 |
<h2>Tags</h2>
|
|
|
396 |
<table class="table table-condensed">
|
|
|
397 |
<tr>
|
|
|
398 |
<th>
|
|
|
399 |
todo
|
|
|
400 |
</th>
|
|
|
401 |
<td>
|
|
|
402 |
</td>
|
|
|
403 |
</tr>
|
|
|
404 |
</table>
|
|
|
405 |
</aside>
|
|
|
406 |
</div>
|
|
|
407 |
|
|
|
408 |
<div class="row-fluid">
|
|
|
409 |
<div class="span8 content class">
|
|
|
410 |
<a id="property_Cache" name="property_Cache" class="anchor"></a>
|
|
|
411 |
<article class="property">
|
|
|
412 |
<h3 class="private ">$Cache</h3>
|
|
|
413 |
<pre class="signature">$Cache</pre>
|
|
|
414 |
<p><em></em></p>
|
|
|
415 |
|
|
|
416 |
|
|
|
417 |
</article>
|
|
|
418 |
</div>
|
|
|
419 |
<aside class="span4 detailsbar">
|
|
|
420 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
421 |
<dl>
|
|
|
422 |
</dl>
|
|
|
423 |
<h2>Tags</h2>
|
|
|
424 |
<table class="table table-condensed">
|
|
|
425 |
<tr>
|
|
|
426 |
<th>
|
|
|
427 |
todo
|
|
|
428 |
</th>
|
|
|
429 |
<td>
|
|
|
430 |
</td>
|
|
|
431 |
</tr>
|
|
|
432 |
</table>
|
|
|
433 |
</aside>
|
|
|
434 |
</div>
|
|
|
435 |
|
|
|
436 |
|
|
|
437 |
<a id="methods" name="methods"></a>
|
|
|
438 |
<div class="row-fluid">
|
|
|
439 |
<div class="span8 content class"><h2>Methods</h2></div>
|
|
|
440 |
<aside class="span4 detailsbar"></aside>
|
|
|
441 |
</div>
|
|
|
442 |
|
|
|
443 |
<div class="row-fluid">
|
|
|
444 |
<div class="span8 content class">
|
|
|
445 |
<a id="method___construct" name="method___construct" class="anchor"></a>
|
|
|
446 |
<article class="method">
|
|
|
447 |
<h3 class="public ">__construct()</h3>
|
|
|
448 |
<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>
|
|
|
449 |
<pre class="signature" style="margin-right: 54px;">__construct(array <span class="argument">$options</span>, \Cache <span class="argument">$cache</span>) : void</pre>
|
|
|
450 |
<p><em>Constructor</em></p>
|
|
|
451 |
|
|
|
452 |
|
|
|
453 |
<h4>Parameters</h4>
|
|
|
454 |
<table class="table table-condensed table-hover">
|
|
|
455 |
<tr>
|
|
|
456 |
<td>array</td>
|
|
|
457 |
<td>$options</td>
|
|
|
458 |
<td><p>Associative array of options</p></td>
|
|
|
459 |
</tr>
|
|
|
460 |
<tr>
|
|
|
461 |
<td><a href="../classes/Cache.html">\Cache</a></td>
|
|
|
462 |
<td>$cache</td>
|
|
|
463 |
<td></td>
|
|
|
464 |
</tr>
|
|
|
465 |
</table>
|
|
|
466 |
|
|
|
467 |
<h4>Throws</h4>
|
|
|
468 |
<dl>
|
|
|
469 |
<dt>\Zend_cache_Exception</dt>
|
|
|
470 |
<dd></dd>
|
|
|
471 |
</dl>
|
|
|
472 |
|
|
|
473 |
</article>
|
|
|
474 |
</div>
|
|
|
475 |
<aside class="span4 detailsbar">
|
|
|
476 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
477 |
<dl>
|
|
|
478 |
</dl>
|
|
|
479 |
<h2>Tags</h2>
|
|
|
480 |
<table class="table table-condensed">
|
|
|
481 |
<tr>
|
|
|
482 |
<th>
|
|
|
483 |
todo
|
|
|
484 |
</th>
|
|
|
485 |
<td>
|
|
|
486 |
</td>
|
|
|
487 |
</tr>
|
|
|
488 |
</table>
|
|
|
489 |
</aside>
|
|
|
490 |
</div>
|
|
|
491 |
|
|
|
492 |
<div class="row-fluid">
|
|
|
493 |
<div class="span8 content class">
|
|
|
494 |
<a id="method___destruct" name="method___destruct" class="anchor"></a>
|
|
|
495 |
<article class="method">
|
|
|
496 |
<h3 class="public ">__destruct()</h3>
|
|
|
497 |
<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>
|
|
|
498 |
<pre class="signature" style="margin-right: 54px;">__destruct() : void</pre>
|
|
|
499 |
<p><em>Destructor</em></p>
|
|
|
500 |
|
|
|
501 |
|
|
|
502 |
|
|
|
503 |
|
|
|
504 |
</article>
|
|
|
505 |
</div>
|
|
|
506 |
<aside class="span4 detailsbar">
|
|
|
507 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
508 |
<dl>
|
|
|
509 |
</dl>
|
|
|
510 |
<h2>Tags</h2>
|
|
|
511 |
<table class="table table-condensed">
|
|
|
512 |
<tr>
|
|
|
513 |
<th>
|
|
|
514 |
todo
|
|
|
515 |
</th>
|
|
|
516 |
<td>
|
|
|
517 |
</td>
|
|
|
518 |
</tr>
|
|
|
519 |
</table>
|
|
|
520 |
</aside>
|
|
|
521 |
</div>
|
|
|
522 |
|
|
|
523 |
<div class="row-fluid">
|
|
|
524 |
<div class="span8 content class">
|
|
|
525 |
<a id="method_setEmplacement" name="method_setEmplacement" class="anchor"></a>
|
|
|
526 |
<article class="method">
|
|
|
527 |
<h3 class="public ">setEmplacement()</h3>
|
|
|
528 |
<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>
|
|
|
529 |
<pre class="signature" style="margin-right: 54px;">setEmplacement( <span class="argument">$emplacement</span>)</pre>
|
|
|
530 |
<p><em></em></p>
|
|
|
531 |
|
|
|
532 |
|
|
|
533 |
<h4>Parameters</h4>
|
|
|
534 |
<table class="table table-condensed table-hover">
|
|
|
535 |
<tr>
|
|
|
536 |
<td></td>
|
|
|
537 |
<td>$emplacement</td>
|
|
|
538 |
<td></td>
|
|
|
539 |
</tr>
|
|
|
540 |
</table>
|
|
|
541 |
|
|
|
542 |
|
|
|
543 |
</article>
|
|
|
544 |
</div>
|
|
|
545 |
<aside class="span4 detailsbar">
|
|
|
546 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
547 |
<dl>
|
|
|
548 |
</dl>
|
|
|
549 |
<h2>Tags</h2>
|
|
|
550 |
<table class="table table-condensed">
|
|
|
551 |
<tr>
|
|
|
552 |
<th>
|
|
|
553 |
todo
|
|
|
554 |
</th>
|
|
|
555 |
<td>
|
|
|
556 |
</td>
|
|
|
557 |
</tr>
|
|
|
558 |
</table>
|
|
|
559 |
</aside>
|
|
|
560 |
</div>
|
|
|
561 |
|
|
|
562 |
<div class="row-fluid">
|
|
|
563 |
<div class="span8 content class">
|
|
|
564 |
<a id="method_charger" name="method_charger" class="anchor"></a>
|
|
|
565 |
<article class="method">
|
|
|
566 |
<h3 class="public ">charger()</h3>
|
|
|
567 |
<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>
|
|
|
568 |
<pre class="signature" style="margin-right: 54px;">charger(string <span class="argument">$id</span>, <span class="argument">$ne_pas_tester_validiter_du_cache</span>) : string|false</pre>
|
|
|
569 |
<p><em>Test if a cache is available for the given id and (if yes) return it (false else)</em></p>
|
|
|
570 |
|
|
|
571 |
|
|
|
572 |
<h4>Parameters</h4>
|
|
|
573 |
<table class="table table-condensed table-hover">
|
|
|
574 |
<tr>
|
|
|
575 |
<td>string</td>
|
|
|
576 |
<td>$id</td>
|
|
|
577 |
<td><p>Cache id</p></td>
|
|
|
578 |
</tr>
|
|
|
579 |
<tr>
|
|
|
580 |
<td></td>
|
|
|
581 |
<td>$ne_pas_tester_validiter_du_cache</td>
|
|
|
582 |
<td></td>
|
|
|
583 |
</tr>
|
|
|
584 |
</table>
|
|
|
585 |
|
|
|
586 |
|
|
|
587 |
<h4>Returns</h4>
|
|
|
588 |
string|false
|
|
|
589 |
— <p>Cached datas</p>
|
|
|
590 |
</article>
|
|
|
591 |
</div>
|
|
|
592 |
<aside class="span4 detailsbar">
|
|
|
593 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
594 |
<dl>
|
|
|
595 |
</dl>
|
|
|
596 |
<h2>Tags</h2>
|
|
|
597 |
<table class="table table-condensed">
|
|
|
598 |
<tr>
|
|
|
599 |
<th>
|
|
|
600 |
todo
|
|
|
601 |
</th>
|
|
|
602 |
<td>
|
|
|
603 |
</td>
|
|
|
604 |
</tr>
|
|
|
605 |
</table>
|
|
|
606 |
</aside>
|
|
|
607 |
</div>
|
|
|
608 |
|
|
|
609 |
<div class="row-fluid">
|
|
|
610 |
<div class="span8 content class">
|
|
|
611 |
<a id="method_tester" name="method_tester" class="anchor"></a>
|
|
|
612 |
<article class="method">
|
|
|
613 |
<h3 class="public ">tester()</h3>
|
|
|
614 |
<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>
|
|
|
615 |
<pre class="signature" style="margin-right: 54px;">tester(string <span class="argument">$id</span>) : mixed|false</pre>
|
|
|
616 |
<p><em>Test if a cache is available or not (for the given id)</em></p>
|
|
|
617 |
|
|
|
618 |
|
|
|
619 |
<h4>Parameters</h4>
|
|
|
620 |
<table class="table table-condensed table-hover">
|
|
|
621 |
<tr>
|
|
|
622 |
<td>string</td>
|
|
|
623 |
<td>$id</td>
|
|
|
624 |
<td><p>Cache id</p></td>
|
|
|
625 |
</tr>
|
|
|
626 |
</table>
|
|
|
627 |
|
|
|
628 |
|
|
|
629 |
<h4>Returns</h4>
|
|
|
630 |
mixed|false
|
|
|
631 |
— <p>(a cache is not available) or "last modified" timestamp (int) of the available cache record</p>
|
|
|
632 |
</article>
|
|
|
633 |
</div>
|
|
|
634 |
<aside class="span4 detailsbar">
|
|
|
635 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
636 |
<dl>
|
|
|
637 |
</dl>
|
|
|
638 |
<h2>Tags</h2>
|
|
|
639 |
<table class="table table-condensed">
|
|
|
640 |
<tr>
|
|
|
641 |
<th>
|
|
|
642 |
todo
|
|
|
643 |
</th>
|
|
|
644 |
<td>
|
|
|
645 |
</td>
|
|
|
646 |
</tr>
|
|
|
647 |
</table>
|
|
|
648 |
</aside>
|
|
|
649 |
</div>
|
|
|
650 |
|
|
|
651 |
<div class="row-fluid">
|
|
|
652 |
<div class="span8 content class">
|
|
|
653 |
<a id="method_sauver" name="method_sauver" class="anchor"></a>
|
|
|
654 |
<article class="method">
|
|
|
655 |
<h3 class="public ">sauver()</h3>
|
|
|
656 |
<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>
|
|
|
657 |
<pre class="signature" style="margin-right: 54px;">sauver( <span class="argument">$donnees</span>, string <span class="argument">$id</span>, array <span class="argument">$tags</span>, <span class="argument">$duree_vie_specifique</span>) : boolean</pre>
|
|
|
658 |
<p><em>Save some string datas into a cache record</em></p>
|
|
|
659 |
<p>Note : $data is always "string" (serialization is done by the
|
|
|
660 |
core not by the backend)</p>
|
|
|
661 |
|
|
|
662 |
<h4>Parameters</h4>
|
|
|
663 |
<table class="table table-condensed table-hover">
|
|
|
664 |
<tr>
|
|
|
665 |
<td></td>
|
|
|
666 |
<td>$donnees</td>
|
|
|
667 |
<td></td>
|
|
|
668 |
</tr>
|
|
|
669 |
<tr>
|
|
|
670 |
<td>string</td>
|
|
|
671 |
<td>$id</td>
|
|
|
672 |
<td><p>Cache id</p></td>
|
|
|
673 |
</tr>
|
|
|
674 |
<tr>
|
|
|
675 |
<td>array</td>
|
|
|
676 |
<td>$tags</td>
|
|
|
677 |
<td><p>Array of strings, the cache record will be tagged by each string entry</p></td>
|
|
|
678 |
</tr>
|
|
|
679 |
<tr>
|
|
|
680 |
<td></td>
|
|
|
681 |
<td>$duree_vie_specifique</td>
|
|
|
682 |
<td></td>
|
|
|
683 |
</tr>
|
|
|
684 |
</table>
|
|
|
685 |
|
|
|
686 |
<h4>Throws</h4>
|
|
|
687 |
<dl>
|
|
|
688 |
<dt>\Zend_Cache_Exception</dt>
|
|
|
689 |
<dd></dd>
|
|
|
690 |
</dl>
|
|
|
691 |
|
|
|
692 |
<h4>Returns</h4>
|
|
|
693 |
boolean
|
|
|
694 |
— <p>True if no problem</p>
|
|
|
695 |
</article>
|
|
|
696 |
</div>
|
|
|
697 |
<aside class="span4 detailsbar">
|
|
|
698 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
699 |
<dl>
|
|
|
700 |
</dl>
|
|
|
701 |
<h2>Tags</h2>
|
|
|
702 |
<table class="table table-condensed">
|
|
|
703 |
<tr>
|
|
|
704 |
<th>
|
|
|
705 |
todo
|
|
|
706 |
</th>
|
|
|
707 |
<td>
|
|
|
708 |
</td>
|
|
|
709 |
</tr>
|
|
|
710 |
</table>
|
|
|
711 |
</aside>
|
|
|
712 |
</div>
|
|
|
713 |
|
|
|
714 |
<div class="row-fluid">
|
|
|
715 |
<div class="span8 content class">
|
|
|
716 |
<a id="method_supprimer" name="method_supprimer" class="anchor"></a>
|
|
|
717 |
<article class="method">
|
|
|
718 |
<h3 class="public ">supprimer()</h3>
|
|
|
719 |
<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>
|
|
|
720 |
<pre class="signature" style="margin-right: 54px;">supprimer(string <span class="argument">$id</span>) : boolean</pre>
|
|
|
721 |
<p><em>Remove a cache record</em></p>
|
|
|
722 |
|
|
|
723 |
|
|
|
724 |
<h4>Parameters</h4>
|
|
|
725 |
<table class="table table-condensed table-hover">
|
|
|
726 |
<tr>
|
|
|
727 |
<td>string</td>
|
|
|
728 |
<td>$id</td>
|
|
|
729 |
<td><p>Cache id</p></td>
|
|
|
730 |
</tr>
|
|
|
731 |
</table>
|
|
|
732 |
|
|
|
733 |
|
|
|
734 |
<h4>Returns</h4>
|
|
|
735 |
boolean
|
|
|
736 |
— <p>True if no problem</p>
|
|
|
737 |
</article>
|
|
|
738 |
</div>
|
|
|
739 |
<aside class="span4 detailsbar">
|
|
|
740 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
741 |
<dl>
|
|
|
742 |
</dl>
|
|
|
743 |
<h2>Tags</h2>
|
|
|
744 |
<table class="table table-condensed">
|
|
|
745 |
<tr>
|
|
|
746 |
<th>
|
|
|
747 |
todo
|
|
|
748 |
</th>
|
|
|
749 |
<td>
|
|
|
750 |
</td>
|
|
|
751 |
</tr>
|
|
|
752 |
</table>
|
|
|
753 |
</aside>
|
|
|
754 |
</div>
|
|
|
755 |
|
|
|
756 |
<div class="row-fluid">
|
|
|
757 |
<div class="span8 content class">
|
|
|
758 |
<a id="method_nettoyer" name="method_nettoyer" class="anchor"></a>
|
|
|
759 |
<article class="method">
|
|
|
760 |
<h3 class="public ">nettoyer()</h3>
|
|
|
761 |
<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>
|
|
|
762 |
<pre class="signature" style="margin-right: 54px;">nettoyer(string <span class="argument">$mode</span>, array <span class="argument">$tags</span>) : boolean</pre>
|
|
|
763 |
<p><em>Clean some cache records</em></p>
|
|
|
764 |
<p>Available modes are :
|
|
|
765 |
Zend_Cache::CLEANING_MODE_ALL (default) => remove all cache entries ($tags is not used)
|
|
|
766 |
Zend_Cache::CLEANING_MODE_OLD => remove too old cache entries ($tags is not used)
|
|
|
767 |
Zend_Cache::CLEANING_MODE_MATCHING_TAG => remove cache entries matching all given tags</p>
|
|
|
768 |
<pre><code> ($tags can be an array of strings or a single string)</code></pre>
|
|
|
769 |
<p>Zend_Cache::CLEANING_MODE_NOT_MATCHING_TAG => remove cache entries not {matching one of the given tags}</p>
|
|
|
770 |
<pre><code> ($tags can be an array of strings or a single string)</code></pre>
|
|
|
771 |
<p>Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG => remove cache entries matching any given tags</p>
|
|
|
772 |
<pre><code> ($tags can be an array of strings or a single string)</code></pre>
|
|
|
773 |
|
|
|
774 |
<h4>Parameters</h4>
|
|
|
775 |
<table class="table table-condensed table-hover">
|
|
|
776 |
<tr>
|
|
|
777 |
<td>string</td>
|
|
|
778 |
<td>$mode</td>
|
|
|
779 |
<td><p>Clean mode</p></td>
|
|
|
780 |
</tr>
|
|
|
781 |
<tr>
|
|
|
782 |
<td>array</td>
|
|
|
783 |
<td>$tags</td>
|
|
|
784 |
<td><p>Array of tags</p></td>
|
|
|
785 |
</tr>
|
|
|
786 |
</table>
|
|
|
787 |
|
|
|
788 |
|
|
|
789 |
<h4>Returns</h4>
|
|
|
790 |
boolean
|
|
|
791 |
— <p>True if no problem</p>
|
|
|
792 |
</article>
|
|
|
793 |
</div>
|
|
|
794 |
<aside class="span4 detailsbar">
|
|
|
795 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
796 |
<dl>
|
|
|
797 |
</dl>
|
|
|
798 |
<h2>Tags</h2>
|
|
|
799 |
<table class="table table-condensed">
|
|
|
800 |
<tr>
|
|
|
801 |
<th>
|
|
|
802 |
todo
|
|
|
803 |
</th>
|
|
|
804 |
<td>
|
|
|
805 |
</td>
|
|
|
806 |
</tr>
|
|
|
807 |
</table>
|
|
|
808 |
</aside>
|
|
|
809 |
</div>
|
|
|
810 |
|
|
|
811 |
<div class="row-fluid">
|
|
|
812 |
<div class="span8 content class">
|
|
|
813 |
<a id="method_getIds" name="method_getIds" class="anchor"></a>
|
|
|
814 |
<article class="method">
|
|
|
815 |
<h3 class="public ">getIds()</h3>
|
|
|
816 |
<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>
|
|
|
817 |
<pre class="signature" style="margin-right: 54px;">getIds() : array</pre>
|
|
|
818 |
<p><em>Return an array of stored cache ids</em></p>
|
|
|
819 |
|
|
|
820 |
|
|
|
821 |
|
|
|
822 |
|
|
|
823 |
<h4>Returns</h4>
|
|
|
824 |
array
|
|
|
825 |
— <p>array of stored cache ids (string)</p>
|
|
|
826 |
</article>
|
|
|
827 |
</div>
|
|
|
828 |
<aside class="span4 detailsbar">
|
|
|
829 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
830 |
<dl>
|
|
|
831 |
</dl>
|
|
|
832 |
<h2>Tags</h2>
|
|
|
833 |
<table class="table table-condensed">
|
|
|
834 |
<tr>
|
|
|
835 |
<th>
|
|
|
836 |
todo
|
|
|
837 |
</th>
|
|
|
838 |
<td>
|
|
|
839 |
</td>
|
|
|
840 |
</tr>
|
|
|
841 |
</table>
|
|
|
842 |
</aside>
|
|
|
843 |
</div>
|
|
|
844 |
|
|
|
845 |
<div class="row-fluid">
|
|
|
846 |
<div class="span8 content class">
|
|
|
847 |
<a id="method_getTags" name="method_getTags" class="anchor"></a>
|
|
|
848 |
<article class="method">
|
|
|
849 |
<h3 class="public ">getTags()</h3>
|
|
|
850 |
<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>
|
|
|
851 |
<pre class="signature" style="margin-right: 54px;">getTags() : array</pre>
|
|
|
852 |
<p><em>Return an array of stored tags</em></p>
|
|
|
853 |
|
|
|
854 |
|
|
|
855 |
|
|
|
856 |
|
|
|
857 |
<h4>Returns</h4>
|
|
|
858 |
array
|
|
|
859 |
— <p>array of stored tags (string)</p>
|
|
|
860 |
</article>
|
|
|
861 |
</div>
|
|
|
862 |
<aside class="span4 detailsbar">
|
|
|
863 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
864 |
<dl>
|
|
|
865 |
</dl>
|
|
|
866 |
<h2>Tags</h2>
|
|
|
867 |
<table class="table table-condensed">
|
|
|
868 |
<tr>
|
|
|
869 |
<th>
|
|
|
870 |
todo
|
|
|
871 |
</th>
|
|
|
872 |
<td>
|
|
|
873 |
</td>
|
|
|
874 |
</tr>
|
|
|
875 |
</table>
|
|
|
876 |
</aside>
|
|
|
877 |
</div>
|
|
|
878 |
|
|
|
879 |
<div class="row-fluid">
|
|
|
880 |
<div class="span8 content class">
|
|
|
881 |
<a id="method_getIdsAvecLesTags" name="method_getIdsAvecLesTags" class="anchor"></a>
|
|
|
882 |
<article class="method">
|
|
|
883 |
<h3 class="public ">getIdsAvecLesTags()</h3>
|
|
|
884 |
<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>
|
|
|
885 |
<pre class="signature" style="margin-right: 54px;">getIdsAvecLesTags(array <span class="argument">$tags</span>) : array</pre>
|
|
|
886 |
<p><em>Return an array of stored cache ids which match given tags</em></p>
|
|
|
887 |
<p>In case of multiple tags, a logical AND is made between tags</p>
|
|
|
888 |
|
|
|
889 |
<h4>Parameters</h4>
|
|
|
890 |
<table class="table table-condensed table-hover">
|
|
|
891 |
<tr>
|
|
|
892 |
<td>array</td>
|
|
|
893 |
<td>$tags</td>
|
|
|
894 |
<td><p>array of tags</p></td>
|
|
|
895 |
</tr>
|
|
|
896 |
</table>
|
|
|
897 |
|
|
|
898 |
|
|
|
899 |
<h4>Returns</h4>
|
|
|
900 |
array
|
|
|
901 |
— <p>array of matching cache ids (string)</p>
|
|
|
902 |
</article>
|
|
|
903 |
</div>
|
|
|
904 |
<aside class="span4 detailsbar">
|
|
|
905 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
906 |
<dl>
|
|
|
907 |
</dl>
|
|
|
908 |
<h2>Tags</h2>
|
|
|
909 |
<table class="table table-condensed">
|
|
|
910 |
<tr>
|
|
|
911 |
<th>
|
|
|
912 |
todo
|
|
|
913 |
</th>
|
|
|
914 |
<td>
|
|
|
915 |
</td>
|
|
|
916 |
</tr>
|
|
|
917 |
</table>
|
|
|
918 |
</aside>
|
|
|
919 |
</div>
|
|
|
920 |
|
|
|
921 |
<div class="row-fluid">
|
|
|
922 |
<div class="span8 content class">
|
|
|
923 |
<a id="method_getIdsSansLesTags" name="method_getIdsSansLesTags" class="anchor"></a>
|
|
|
924 |
<article class="method">
|
|
|
925 |
<h3 class="public ">getIdsSansLesTags()</h3>
|
|
|
926 |
<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>
|
|
|
927 |
<pre class="signature" style="margin-right: 54px;">getIdsSansLesTags(array <span class="argument">$tags</span>) : array</pre>
|
|
|
928 |
<p><em>Return an array of stored cache ids which don't match given tags</em></p>
|
|
|
929 |
<p>In case of multiple tags, a logical OR is made between tags</p>
|
|
|
930 |
|
|
|
931 |
<h4>Parameters</h4>
|
|
|
932 |
<table class="table table-condensed table-hover">
|
|
|
933 |
<tr>
|
|
|
934 |
<td>array</td>
|
|
|
935 |
<td>$tags</td>
|
|
|
936 |
<td><p>array of tags</p></td>
|
|
|
937 |
</tr>
|
|
|
938 |
</table>
|
|
|
939 |
|
|
|
940 |
|
|
|
941 |
<h4>Returns</h4>
|
|
|
942 |
array
|
|
|
943 |
— <p>array of not matching cache ids (string)</p>
|
|
|
944 |
</article>
|
|
|
945 |
</div>
|
|
|
946 |
<aside class="span4 detailsbar">
|
|
|
947 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
948 |
<dl>
|
|
|
949 |
</dl>
|
|
|
950 |
<h2>Tags</h2>
|
|
|
951 |
<table class="table table-condensed">
|
|
|
952 |
<tr>
|
|
|
953 |
<th>
|
|
|
954 |
todo
|
|
|
955 |
</th>
|
|
|
956 |
<td>
|
|
|
957 |
</td>
|
|
|
958 |
</tr>
|
|
|
959 |
</table>
|
|
|
960 |
</aside>
|
|
|
961 |
</div>
|
|
|
962 |
|
|
|
963 |
<div class="row-fluid">
|
|
|
964 |
<div class="span8 content class">
|
|
|
965 |
<a id="method_getIdsAvecUnTag" name="method_getIdsAvecUnTag" class="anchor"></a>
|
|
|
966 |
<article class="method">
|
|
|
967 |
<h3 class="public ">getIdsAvecUnTag()</h3>
|
|
|
968 |
<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>
|
|
|
969 |
<pre class="signature" style="margin-right: 54px;">getIdsAvecUnTag(array <span class="argument">$tags</span>) : array</pre>
|
|
|
970 |
<p><em>Return an array of stored cache ids which match any given tags</em></p>
|
|
|
971 |
<p>In case of multiple tags, a logical AND is made between tags</p>
|
|
|
972 |
|
|
|
973 |
<h4>Parameters</h4>
|
|
|
974 |
<table class="table table-condensed table-hover">
|
|
|
975 |
<tr>
|
|
|
976 |
<td>array</td>
|
|
|
977 |
<td>$tags</td>
|
|
|
978 |
<td><p>array of tags</p></td>
|
|
|
979 |
</tr>
|
|
|
980 |
</table>
|
|
|
981 |
|
|
|
982 |
|
|
|
983 |
<h4>Returns</h4>
|
|
|
984 |
array
|
|
|
985 |
— <p>array of any matching cache ids (string)</p>
|
|
|
986 |
</article>
|
|
|
987 |
</div>
|
|
|
988 |
<aside class="span4 detailsbar">
|
|
|
989 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
990 |
<dl>
|
|
|
991 |
</dl>
|
|
|
992 |
<h2>Tags</h2>
|
|
|
993 |
<table class="table table-condensed">
|
|
|
994 |
<tr>
|
|
|
995 |
<th>
|
|
|
996 |
todo
|
|
|
997 |
</th>
|
|
|
998 |
<td>
|
|
|
999 |
</td>
|
|
|
1000 |
</tr>
|
|
|
1001 |
</table>
|
|
|
1002 |
</aside>
|
|
|
1003 |
</div>
|
|
|
1004 |
|
|
|
1005 |
<div class="row-fluid">
|
|
|
1006 |
<div class="span8 content class">
|
|
|
1007 |
<a id="method_getPourcentageRemplissage" name="method_getPourcentageRemplissage" class="anchor"></a>
|
|
|
1008 |
<article class="method">
|
|
|
1009 |
<h3 class="public ">getPourcentageRemplissage()</h3>
|
|
|
1010 |
<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>
|
|
|
1011 |
<pre class="signature" style="margin-right: 54px;">getPourcentageRemplissage() : int</pre>
|
|
|
1012 |
<p><em>Return the filling percentage of the backend storage</em></p>
|
|
|
1013 |
|
|
|
1014 |
|
|
|
1015 |
|
|
|
1016 |
<h4>Throws</h4>
|
|
|
1017 |
<dl>
|
|
|
1018 |
<dt>\Zend_Cache_Exception</dt>
|
|
|
1019 |
<dd></dd>
|
|
|
1020 |
</dl>
|
|
|
1021 |
|
|
|
1022 |
<h4>Returns</h4>
|
|
|
1023 |
int
|
|
|
1024 |
— <p>integer between 0 and 100</p>
|
|
|
1025 |
</article>
|
|
|
1026 |
</div>
|
|
|
1027 |
<aside class="span4 detailsbar">
|
|
|
1028 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1029 |
<dl>
|
|
|
1030 |
</dl>
|
|
|
1031 |
<h2>Tags</h2>
|
|
|
1032 |
<table class="table table-condensed">
|
|
|
1033 |
<tr>
|
|
|
1034 |
<th>
|
|
|
1035 |
todo
|
|
|
1036 |
</th>
|
|
|
1037 |
<td>
|
|
|
1038 |
</td>
|
|
|
1039 |
</tr>
|
|
|
1040 |
</table>
|
|
|
1041 |
</aside>
|
|
|
1042 |
</div>
|
|
|
1043 |
|
|
|
1044 |
<div class="row-fluid">
|
|
|
1045 |
<div class="span8 content class">
|
|
|
1046 |
<a id="method_getMetadonnees" name="method_getMetadonnees" class="anchor"></a>
|
|
|
1047 |
<article class="method">
|
|
|
1048 |
<h3 class="public ">getMetadonnees()</h3>
|
|
|
1049 |
<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>
|
|
|
1050 |
<pre class="signature" style="margin-right: 54px;">getMetadonnees(string <span class="argument">$id</span>) : array</pre>
|
|
|
1051 |
<p><em>Return an array of metadatas for the given cache id</em></p>
|
|
|
1052 |
<p>The array must include these keys :</p>
|
|
|
1053 |
<ul>
|
|
|
1054 |
<li>expire : the expire timestamp</li>
|
|
|
1055 |
<li>tags : a string array of tags</li>
|
|
|
1056 |
<li>mtime : timestamp of last modification time</li>
|
|
|
1057 |
</ul>
|
|
|
1058 |
|
|
|
1059 |
<h4>Parameters</h4>
|
|
|
1060 |
<table class="table table-condensed table-hover">
|
|
|
1061 |
<tr>
|
|
|
1062 |
<td>string</td>
|
|
|
1063 |
<td>$id</td>
|
|
|
1064 |
<td><p>cache id</p></td>
|
|
|
1065 |
</tr>
|
|
|
1066 |
</table>
|
|
|
1067 |
|
|
|
1068 |
|
|
|
1069 |
<h4>Returns</h4>
|
|
|
1070 |
array
|
|
|
1071 |
— <p>array of metadatas (false if the cache id is not found)</p>
|
|
|
1072 |
</article>
|
|
|
1073 |
</div>
|
|
|
1074 |
<aside class="span4 detailsbar">
|
|
|
1075 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1076 |
<dl>
|
|
|
1077 |
</dl>
|
|
|
1078 |
<h2>Tags</h2>
|
|
|
1079 |
<table class="table table-condensed">
|
|
|
1080 |
<tr>
|
|
|
1081 |
<th>
|
|
|
1082 |
todo
|
|
|
1083 |
</th>
|
|
|
1084 |
<td>
|
|
|
1085 |
</td>
|
|
|
1086 |
</tr>
|
|
|
1087 |
</table>
|
|
|
1088 |
</aside>
|
|
|
1089 |
</div>
|
|
|
1090 |
|
|
|
1091 |
<div class="row-fluid">
|
|
|
1092 |
<div class="span8 content class">
|
|
|
1093 |
<a id="method_ajouterSupplementDureeDeVie" name="method_ajouterSupplementDureeDeVie" class="anchor"></a>
|
|
|
1094 |
<article class="method">
|
|
|
1095 |
<h3 class="public ">ajouterSupplementDureeDeVie()</h3>
|
|
|
1096 |
<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>
|
|
|
1097 |
<pre class="signature" style="margin-right: 54px;">ajouterSupplementDureeDeVie(string <span class="argument">$id</span>, <span class="argument">$supplement_duree_de_vie</span>) : boolean</pre>
|
|
|
1098 |
<p><em>Give (if possible) an extra lifetime to the given cache id</em></p>
|
|
|
1099 |
|
|
|
1100 |
|
|
|
1101 |
<h4>Parameters</h4>
|
|
|
1102 |
<table class="table table-condensed table-hover">
|
|
|
1103 |
<tr>
|
|
|
1104 |
<td>string</td>
|
|
|
1105 |
<td>$id</td>
|
|
|
1106 |
<td><p>cache id</p></td>
|
|
|
1107 |
</tr>
|
|
|
1108 |
<tr>
|
|
|
1109 |
<td></td>
|
|
|
1110 |
<td>$supplement_duree_de_vie</td>
|
|
|
1111 |
<td></td>
|
|
|
1112 |
</tr>
|
|
|
1113 |
</table>
|
|
|
1114 |
|
|
|
1115 |
|
|
|
1116 |
<h4>Returns</h4>
|
|
|
1117 |
boolean
|
|
|
1118 |
— <p>true if ok</p>
|
|
|
1119 |
</article>
|
|
|
1120 |
</div>
|
|
|
1121 |
<aside class="span4 detailsbar">
|
|
|
1122 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1123 |
<dl>
|
|
|
1124 |
</dl>
|
|
|
1125 |
<h2>Tags</h2>
|
|
|
1126 |
<table class="table table-condensed">
|
|
|
1127 |
<tr>
|
|
|
1128 |
<th>
|
|
|
1129 |
todo
|
|
|
1130 |
</th>
|
|
|
1131 |
<td>
|
|
|
1132 |
</td>
|
|
|
1133 |
</tr>
|
|
|
1134 |
</table>
|
|
|
1135 |
</aside>
|
|
|
1136 |
</div>
|
|
|
1137 |
|
|
|
1138 |
<div class="row-fluid">
|
|
|
1139 |
<div class="span8 content class">
|
|
|
1140 |
<a id="method_initialiserOptionsParConfig" name="method_initialiserOptionsParConfig" class="anchor"></a>
|
|
|
1141 |
<article class="method">
|
|
|
1142 |
<h3 class="private ">initialiserOptionsParConfig()</h3>
|
|
|
1143 |
<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>
|
|
|
1144 |
<pre class="signature" style="margin-right: 54px;">initialiserOptionsParConfig()</pre>
|
|
|
1145 |
<p><em></em></p>
|
|
|
1146 |
|
|
|
1147 |
|
|
|
1148 |
|
|
|
1149 |
|
|
|
1150 |
</article>
|
|
|
1151 |
</div>
|
|
|
1152 |
<aside class="span4 detailsbar">
|
|
|
1153 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1154 |
<dl>
|
|
|
1155 |
</dl>
|
|
|
1156 |
<h2>Tags</h2>
|
|
|
1157 |
<table class="table table-condensed">
|
|
|
1158 |
<tr>
|
|
|
1159 |
<th>
|
|
|
1160 |
todo
|
|
|
1161 |
</th>
|
|
|
1162 |
<td>
|
|
|
1163 |
</td>
|
|
|
1164 |
</tr>
|
|
|
1165 |
</table>
|
|
|
1166 |
</aside>
|
|
|
1167 |
</div>
|
|
|
1168 |
|
|
|
1169 |
<div class="row-fluid">
|
|
|
1170 |
<div class="span8 content class">
|
|
|
1171 |
<a id="method_setOptions" name="method_setOptions" class="anchor"></a>
|
|
|
1172 |
<article class="method">
|
|
|
1173 |
<h3 class="private ">setOptions()</h3>
|
|
|
1174 |
<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>
|
|
|
1175 |
<pre class="signature" style="margin-right: 54px;">setOptions( <span class="argument">$options</span>)</pre>
|
|
|
1176 |
<p><em></em></p>
|
|
|
1177 |
|
|
|
1178 |
|
|
|
1179 |
<h4>Parameters</h4>
|
|
|
1180 |
<table class="table table-condensed table-hover">
|
|
|
1181 |
<tr>
|
|
|
1182 |
<td></td>
|
|
|
1183 |
<td>$options</td>
|
|
|
1184 |
<td></td>
|
|
|
1185 |
</tr>
|
|
|
1186 |
</table>
|
|
|
1187 |
|
|
|
1188 |
|
|
|
1189 |
</article>
|
|
|
1190 |
</div>
|
|
|
1191 |
<aside class="span4 detailsbar">
|
|
|
1192 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1193 |
<dl>
|
|
|
1194 |
</dl>
|
|
|
1195 |
<h2>Tags</h2>
|
|
|
1196 |
<table class="table table-condensed">
|
|
|
1197 |
<tr>
|
|
|
1198 |
<th>
|
|
|
1199 |
todo
|
|
|
1200 |
</th>
|
|
|
1201 |
<td>
|
|
|
1202 |
</td>
|
|
|
1203 |
</tr>
|
|
|
1204 |
</table>
|
|
|
1205 |
</aside>
|
|
|
1206 |
</div>
|
|
|
1207 |
|
|
|
1208 |
<div class="row-fluid">
|
|
|
1209 |
<div class="span8 content class">
|
|
|
1210 |
<a id="method_getConnexion" name="method_getConnexion" class="anchor"></a>
|
|
|
1211 |
<article class="method">
|
|
|
1212 |
<h3 class="private ">getConnexion()</h3>
|
|
|
1213 |
<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>
|
|
|
1214 |
<pre class="signature" style="margin-right: 54px;">getConnexion() : resource</pre>
|
|
|
1215 |
<p><em>Return the connection resource</em></p>
|
|
|
1216 |
<p>If we are not connected, the connection is made</p>
|
|
|
1217 |
|
|
|
1218 |
|
|
|
1219 |
<h4>Throws</h4>
|
|
|
1220 |
<dl>
|
|
|
1221 |
<dt>\Zend_Cache_Exception</dt>
|
|
|
1222 |
<dd></dd>
|
|
|
1223 |
</dl>
|
|
|
1224 |
|
|
|
1225 |
<h4>Returns</h4>
|
|
|
1226 |
resource
|
|
|
1227 |
— <p>Connection resource</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_requeter" name="method_requeter" class="anchor"></a>
|
|
|
1250 |
<article class="method">
|
|
|
1251 |
<h3 class="private ">requeter()</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;">requeter(string <span class="argument">$requete</span>) : mixed|false</pre>
|
|
|
1254 |
<p><em>Execute une requête SQL sans afficher de messages d'erreur.</em></p>
|
|
|
1255 |
|
|
|
1256 |
|
|
|
1257 |
<h4>Parameters</h4>
|
|
|
1258 |
<table class="table table-condensed table-hover">
|
|
|
1259 |
<tr>
|
|
|
1260 |
<td>string</td>
|
|
|
1261 |
<td>$requete</td>
|
|
|
1262 |
<td><p>requête SQL</p></td>
|
|
|
1263 |
</tr>
|
|
|
1264 |
</table>
|
|
|
1265 |
|
|
|
1266 |
|
|
|
1267 |
<h4>Returns</h4>
|
|
|
1268 |
mixed|false
|
|
|
1269 |
— <p>resultats de la requête</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_defragmenterAutomatiquement" name="method_defragmenterAutomatiquement" class="anchor"></a>
|
|
|
1292 |
<article class="method">
|
|
|
1293 |
<h3 class="private ">defragmenterAutomatiquement()</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;">defragmenterAutomatiquement() : void</pre>
|
|
|
1296 |
<p><em>Deal with the automatic vacuum process</em></p>
|
|
|
1297 |
|
|
|
1298 |
|
|
|
1299 |
|
|
|
1300 |
|
|
|
1301 |
</article>
|
|
|
1302 |
</div>
|
|
|
1303 |
<aside class="span4 detailsbar">
|
|
|
1304 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1305 |
<dl>
|
|
|
1306 |
</dl>
|
|
|
1307 |
<h2>Tags</h2>
|
|
|
1308 |
<table class="table table-condensed">
|
|
|
1309 |
<tr>
|
|
|
1310 |
<th>
|
|
|
1311 |
todo
|
|
|
1312 |
</th>
|
|
|
1313 |
<td>
|
|
|
1314 |
</td>
|
|
|
1315 |
</tr>
|
|
|
1316 |
</table>
|
|
|
1317 |
</aside>
|
|
|
1318 |
</div>
|
|
|
1319 |
|
|
|
1320 |
<div class="row-fluid">
|
|
|
1321 |
<div class="span8 content class">
|
|
|
1322 |
<a id="method_enregisterTag" name="method_enregisterTag" class="anchor"></a>
|
|
|
1323 |
<article class="method">
|
|
|
1324 |
<h3 class="private ">enregisterTag()</h3>
|
|
|
1325 |
<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>
|
|
|
1326 |
<pre class="signature" style="margin-right: 54px;">enregisterTag(string <span class="argument">$id</span>, string <span class="argument">$tag</span>) : boolean</pre>
|
|
|
1327 |
<p><em>Register a cache id with the given tag</em></p>
|
|
|
1328 |
|
|
|
1329 |
|
|
|
1330 |
<h4>Parameters</h4>
|
|
|
1331 |
<table class="table table-condensed table-hover">
|
|
|
1332 |
<tr>
|
|
|
1333 |
<td>string</td>
|
|
|
1334 |
<td>$id</td>
|
|
|
1335 |
<td><p>Cache id</p></td>
|
|
|
1336 |
</tr>
|
|
|
1337 |
<tr>
|
|
|
1338 |
<td>string</td>
|
|
|
1339 |
<td>$tag</td>
|
|
|
1340 |
<td><p>Tag</p></td>
|
|
|
1341 |
</tr>
|
|
|
1342 |
</table>
|
|
|
1343 |
|
|
|
1344 |
|
|
|
1345 |
<h4>Returns</h4>
|
|
|
1346 |
boolean
|
|
|
1347 |
— <p>True if no problem</p>
|
|
|
1348 |
</article>
|
|
|
1349 |
</div>
|
|
|
1350 |
<aside class="span4 detailsbar">
|
|
|
1351 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1352 |
<dl>
|
|
|
1353 |
</dl>
|
|
|
1354 |
<h2>Tags</h2>
|
|
|
1355 |
<table class="table table-condensed">
|
|
|
1356 |
<tr>
|
|
|
1357 |
<th>
|
|
|
1358 |
todo
|
|
|
1359 |
</th>
|
|
|
1360 |
<td>
|
|
|
1361 |
</td>
|
|
|
1362 |
</tr>
|
|
|
1363 |
</table>
|
|
|
1364 |
</aside>
|
|
|
1365 |
</div>
|
|
|
1366 |
|
|
|
1367 |
<div class="row-fluid">
|
|
|
1368 |
<div class="span8 content class">
|
|
|
1369 |
<a id="method_creerStructure" name="method_creerStructure" class="anchor"></a>
|
|
|
1370 |
<article class="method">
|
|
|
1371 |
<h3 class="private ">creerStructure()</h3>
|
|
|
1372 |
<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>
|
|
|
1373 |
<pre class="signature" style="margin-right: 54px;">creerStructure() : false</pre>
|
|
|
1374 |
<p><em>Build the database structure</em></p>
|
|
|
1375 |
|
|
|
1376 |
|
|
|
1377 |
|
|
|
1378 |
|
|
|
1379 |
<h4>Returns</h4>
|
|
|
1380 |
false
|
|
|
1381 |
</article>
|
|
|
1382 |
</div>
|
|
|
1383 |
<aside class="span4 detailsbar">
|
|
|
1384 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1385 |
<dl>
|
|
|
1386 |
</dl>
|
|
|
1387 |
<h2>Tags</h2>
|
|
|
1388 |
<table class="table table-condensed">
|
|
|
1389 |
<tr>
|
|
|
1390 |
<th>
|
|
|
1391 |
todo
|
|
|
1392 |
</th>
|
|
|
1393 |
<td>
|
|
|
1394 |
</td>
|
|
|
1395 |
</tr>
|
|
|
1396 |
</table>
|
|
|
1397 |
</aside>
|
|
|
1398 |
</div>
|
|
|
1399 |
|
|
|
1400 |
<div class="row-fluid">
|
|
|
1401 |
<div class="span8 content class">
|
|
|
1402 |
<a id="method_verifierBddStructureVersion" name="method_verifierBddStructureVersion" class="anchor"></a>
|
|
|
1403 |
<article class="method">
|
|
|
1404 |
<h3 class="private ">verifierBddStructureVersion()</h3>
|
|
|
1405 |
<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>
|
|
|
1406 |
<pre class="signature" style="margin-right: 54px;">verifierBddStructureVersion() : boolean</pre>
|
|
|
1407 |
<p><em>Check if the database structure is ok (with the good version)</em></p>
|
|
|
1408 |
|
|
|
1409 |
|
|
|
1410 |
|
|
|
1411 |
|
|
|
1412 |
<h4>Returns</h4>
|
|
|
1413 |
boolean
|
|
|
1414 |
— <p>True if ok</p>
|
|
|
1415 |
</article>
|
|
|
1416 |
</div>
|
|
|
1417 |
<aside class="span4 detailsbar">
|
|
|
1418 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1419 |
<dl>
|
|
|
1420 |
</dl>
|
|
|
1421 |
<h2>Tags</h2>
|
|
|
1422 |
<table class="table table-condensed">
|
|
|
1423 |
<tr>
|
|
|
1424 |
<th>
|
|
|
1425 |
todo
|
|
|
1426 |
</th>
|
|
|
1427 |
<td>
|
|
|
1428 |
</td>
|
|
|
1429 |
</tr>
|
|
|
1430 |
</table>
|
|
|
1431 |
</aside>
|
|
|
1432 |
</div>
|
|
|
1433 |
|
|
|
1434 |
<div class="row-fluid">
|
|
|
1435 |
<div class="span8 content class">
|
|
|
1436 |
<a id="method_nettoyerSqlite" name="method_nettoyerSqlite" class="anchor"></a>
|
|
|
1437 |
<article class="method">
|
|
|
1438 |
<h3 class="private ">nettoyerSqlite()</h3>
|
|
|
1439 |
<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>
|
|
|
1440 |
<pre class="signature" style="margin-right: 54px;">nettoyerSqlite(string <span class="argument">$mode</span>, array <span class="argument">$tags</span>) : boolean</pre>
|
|
|
1441 |
<p><em>Clean some cache records</em></p>
|
|
|
1442 |
<p>Available modes are :
|
|
|
1443 |
Zend_Cache::CLEANING_MODE_ALL (default) => remove all cache entries ($tags is not used)
|
|
|
1444 |
Zend_Cache::CLEANING_MODE_OLD => remove too old cache entries ($tags is not used)
|
|
|
1445 |
Zend_Cache::CLEANING_MODE_MATCHING_TAG => remove cache entries matching all given tags</p>
|
|
|
1446 |
<pre><code> ($tags can be an array of strings or a single string)</code></pre>
|
|
|
1447 |
<p>Zend_Cache::CLEANING_MODE_NOT_MATCHING_TAG => remove cache entries not {matching one of the given tags}</p>
|
|
|
1448 |
<pre><code> ($tags can be an array of strings or a single string)</code></pre>
|
|
|
1449 |
<p>Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG => remove cache entries matching any given tags</p>
|
|
|
1450 |
<pre><code> ($tags can be an array of strings or a single string)</code></pre>
|
|
|
1451 |
|
|
|
1452 |
<h4>Parameters</h4>
|
|
|
1453 |
<table class="table table-condensed table-hover">
|
|
|
1454 |
<tr>
|
|
|
1455 |
<td>string</td>
|
|
|
1456 |
<td>$mode</td>
|
|
|
1457 |
<td><p>Clean mode</p></td>
|
|
|
1458 |
</tr>
|
|
|
1459 |
<tr>
|
|
|
1460 |
<td>array</td>
|
|
|
1461 |
<td>$tags</td>
|
|
|
1462 |
<td><p>Array of tags</p></td>
|
|
|
1463 |
</tr>
|
|
|
1464 |
</table>
|
|
|
1465 |
|
|
|
1466 |
|
|
|
1467 |
<h4>Returns</h4>
|
|
|
1468 |
boolean
|
|
|
1469 |
— <p>True if no problem</p>
|
|
|
1470 |
</article>
|
|
|
1471 |
</div>
|
|
|
1472 |
<aside class="span4 detailsbar">
|
|
|
1473 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1474 |
<dl>
|
|
|
1475 |
</dl>
|
|
|
1476 |
<h2>Tags</h2>
|
|
|
1477 |
<table class="table table-condensed">
|
|
|
1478 |
<tr>
|
|
|
1479 |
<th>
|
|
|
1480 |
todo
|
|
|
1481 |
</th>
|
|
|
1482 |
<td>
|
|
|
1483 |
</td>
|
|
|
1484 |
</tr>
|
|
|
1485 |
</table>
|
|
|
1486 |
</aside>
|
|
|
1487 |
</div>
|
|
|
1488 |
|
|
|
1489 |
<div class="row-fluid">
|
|
|
1490 |
<div class="span8 content class">
|
|
|
1491 |
<a id="method_verifierEtCreerStructureBdd" name="method_verifierEtCreerStructureBdd" class="anchor"></a>
|
|
|
1492 |
<article class="method">
|
|
|
1493 |
<h3 class="private ">verifierEtCreerStructureBdd()</h3>
|
|
|
1494 |
<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>
|
|
|
1495 |
<pre class="signature" style="margin-right: 54px;">verifierEtCreerStructureBdd() : boolean</pre>
|
|
|
1496 |
<p><em>Check if the database structure is ok (with the good version), if no : build it</em></p>
|
|
|
1497 |
|
|
|
1498 |
|
|
|
1499 |
|
|
|
1500 |
<h4>Throws</h4>
|
|
|
1501 |
<dl>
|
|
|
1502 |
<dt>\Zend_Cache_Exception</dt>
|
|
|
1503 |
<dd></dd>
|
|
|
1504 |
</dl>
|
|
|
1505 |
|
|
|
1506 |
<h4>Returns</h4>
|
|
|
1507 |
boolean
|
|
|
1508 |
— <p>True if ok</p>
|
|
|
1509 |
</article>
|
|
|
1510 |
</div>
|
|
|
1511 |
<aside class="span4 detailsbar">
|
|
|
1512 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1513 |
<dl>
|
|
|
1514 |
</dl>
|
|
|
1515 |
<h2>Tags</h2>
|
|
|
1516 |
<table class="table table-condensed">
|
|
|
1517 |
<tr>
|
|
|
1518 |
<th>
|
|
|
1519 |
todo
|
|
|
1520 |
</th>
|
|
|
1521 |
<td>
|
|
|
1522 |
</td>
|
|
|
1523 |
</tr>
|
|
|
1524 |
</table>
|
|
|
1525 |
</aside>
|
|
|
1526 |
</div>
|
|
|
1527 |
|
|
|
1528 |
</div>
|
|
|
1529 |
</section>
|
|
|
1530 |
|
|
|
1531 |
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
|
|
1532 |
<div class="modal-header">
|
|
|
1533 |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
1534 |
<h3 id="source-view-label">CacheSqlite.php</h3>
|
|
|
1535 |
</div>
|
|
|
1536 |
<div class="modal-body">
|
|
|
1537 |
<pre data-src="../files/CacheSqlite.php.txt" class="language-php line-numbers"></pre>
|
|
|
1538 |
</div>
|
|
|
1539 |
</div>
|
|
|
1540 |
|
|
|
1541 |
<footer class="row-fluid">
|
|
|
1542 |
<section class="span10 offset2">
|
|
|
1543 |
<section class="row-fluid">
|
|
|
1544 |
<section class="span10 offset1">
|
|
|
1545 |
<section class="row-fluid footer-sections">
|
|
|
1546 |
<section class="span4">
|
|
|
1547 |
<h1><i class="icon-code"></i></h1>
|
|
|
1548 |
<div>
|
|
|
1549 |
<ul>
|
|
|
1550 |
</ul>
|
|
|
1551 |
</div>
|
|
|
1552 |
</section>
|
|
|
1553 |
<section class="span4">
|
|
|
1554 |
<h1><i class="icon-bar-chart"></i></h1>
|
|
|
1555 |
<div>
|
|
|
1556 |
<ul>
|
|
|
1557 |
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
|
|
1558 |
</ul>
|
|
|
1559 |
</div>
|
|
|
1560 |
</section>
|
|
|
1561 |
<section class="span4">
|
|
|
1562 |
<h1><i class="icon-pushpin"></i></h1>
|
|
|
1563 |
<div>
|
|
|
1564 |
<ul>
|
|
|
1565 |
<li><a href="../reports/errors.html">Errors</a></li>
|
|
|
1566 |
<li><a href="../reports/markers.html">Markers</a></li>
|
|
|
1567 |
</ul>
|
|
|
1568 |
</div>
|
|
|
1569 |
</section>
|
|
|
1570 |
</section>
|
|
|
1571 |
</section>
|
|
|
1572 |
</section>
|
|
|
1573 |
<section class="row-fluid">
|
|
|
1574 |
<section class="span10 offset1">
|
|
|
1575 |
<hr />
|
|
|
1576 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
|
|
1577 |
on March 12th, 2014 at 15:57.
|
|
|
1578 |
</section>
|
|
|
1579 |
</section>
|
|
|
1580 |
</section>
|
|
|
1581 |
</footer>
|
|
|
1582 |
</div>
|
|
|
1583 |
|
|
|
1584 |
</body>
|
|
|
1585 |
</html>
|