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-1230953267"></a>
|
|
|
142 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
|
|
143 |
</div>
|
|
|
144 |
<div id="namespace-1230953267" 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>Fichier</h1>
|
|
|
193 |
<p><em>Classe fournissant des méthodes statiques de manipulation des fichiers.</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/Fichier.html#method_creerFichier" class="">creerFichier()</a><br />
|
|
|
212 |
<a href="../classes/Fichier.html#method_creerFichierGzip" class="">creerFichierGzip()</a><br />
|
|
|
213 |
<a href="../classes/Fichier.html#method_supprimerDossier" class="">supprimerDossier()</a><br />
|
|
|
214 |
<a href="../classes/Fichier.html#method_convertirTaille" class="">convertirTaille()</a><br />
|
|
|
215 |
<a href="../classes/Fichier.html#method_getDossierTmp" class="">getDossierTmp()</a><br />
|
|
|
216 |
</section>
|
|
|
217 |
<section class="span4">
|
|
|
218 |
<em>No public properties found</em>
|
|
|
219 |
</section>
|
|
|
220 |
<section class="span4">
|
|
|
221 |
<em>No constants found</em>
|
|
|
222 |
</section>
|
|
|
223 |
</section>
|
|
|
224 |
<section class="row-fluid protected">
|
|
|
225 |
<section class="span4">
|
|
|
226 |
<a href="../classes/Fichier.html#method_etreAccessibleEnLectureEtEcriture" class="">etreAccessibleEnLectureEtEcriture()</a><br />
|
|
|
227 |
</section>
|
|
|
228 |
<section class="span4">
|
|
|
229 |
<em>No protected properties found</em>
|
|
|
230 |
</section>
|
|
|
231 |
<section class="span4">
|
|
|
232 |
<em>N/A</em>
|
|
|
233 |
</section>
|
|
|
234 |
</section>
|
|
|
235 |
<section class="row-fluid private">
|
|
|
236 |
<section class="span4">
|
|
|
237 |
<em>No private methods found</em>
|
|
|
238 |
</section>
|
|
|
239 |
<section class="span4">
|
|
|
240 |
<em>No private properties found</em>
|
|
|
241 |
</section>
|
|
|
242 |
<section class="span4">
|
|
|
243 |
<em>N/A</em>
|
|
|
244 |
</section>
|
|
|
245 |
</section>
|
|
|
246 |
</section>
|
|
|
247 |
</div>
|
|
|
248 |
<aside class="span4 detailsbar">
|
|
|
249 |
|
|
|
250 |
|
|
|
251 |
<dl>
|
|
|
252 |
<dt>File</dt>
|
|
|
253 |
<dd><a href="../files/utilitaires.Fichier.php.html"><div class="path-wrapper">utilitaires/Fichier.php</div></a></dd>
|
|
|
254 |
<dt>Package</dt>
|
|
|
255 |
<dd><div class="namespace-wrapper">\Utilitaire</div></dd>
|
|
|
256 |
<dt>Class hierarchy</dt>
|
|
|
257 |
<dd class="hierarchy">
|
|
|
258 |
<div class="namespace-wrapper">\Fichier</div>
|
|
|
259 |
</dd>
|
|
|
260 |
|
|
|
261 |
|
|
|
262 |
|
|
|
263 |
|
|
|
264 |
<dt>See also</dt>
|
|
|
265 |
<dd><a href="/doc/framework/"><div class="namespace-wrapper">/doc/framework/</div></a></dd>
|
|
|
266 |
|
|
|
267 |
</dl>
|
|
|
268 |
<h2>Tags</h2>
|
|
|
269 |
<table class="table table-condensed">
|
|
|
270 |
<tr>
|
|
|
271 |
<th>
|
|
|
272 |
category
|
|
|
273 |
</th>
|
|
|
274 |
<td>
|
|
|
275 |
<p>PHP 5.2</p>
|
|
|
276 |
</td>
|
|
|
277 |
</tr>
|
|
|
278 |
<tr>
|
|
|
279 |
<th>
|
|
|
280 |
author
|
|
|
281 |
</th>
|
|
|
282 |
<td>
|
|
|
283 |
<p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p>
|
|
|
284 |
</td>
|
|
|
285 |
</tr>
|
|
|
286 |
<tr>
|
|
|
287 |
<th>
|
|
|
288 |
copyright
|
|
|
289 |
</th>
|
|
|
290 |
<td>
|
|
|
291 |
<p>Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</p>
|
|
|
292 |
</td>
|
|
|
293 |
</tr>
|
|
|
294 |
<tr>
|
|
|
295 |
<th>
|
|
|
296 |
license
|
|
|
297 |
</th>
|
|
|
298 |
<td>
|
|
|
299 |
<p><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL-v3</p>
|
|
|
300 |
<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-v2</p>
|
|
|
301 |
</td>
|
|
|
302 |
</tr>
|
|
|
303 |
<tr>
|
|
|
304 |
<th>
|
|
|
305 |
version
|
|
|
306 |
</th>
|
|
|
307 |
<td>
|
|
|
308 |
<p>$Id: Fichier.php 352 2011-07-21 10:25:56Z jpm $</p>
|
|
|
309 |
</td>
|
|
|
310 |
</tr>
|
|
|
311 |
<tr>
|
|
|
312 |
<th>
|
|
|
313 |
todo
|
|
|
314 |
</th>
|
|
|
315 |
<td>
|
|
|
316 |
</td>
|
|
|
317 |
</tr>
|
|
|
318 |
</table>
|
|
|
319 |
</aside>
|
|
|
320 |
</div>
|
|
|
321 |
|
|
|
322 |
|
|
|
323 |
|
|
|
324 |
<a id="methods" name="methods"></a>
|
|
|
325 |
<div class="row-fluid">
|
|
|
326 |
<div class="span8 content class"><h2>Methods</h2></div>
|
|
|
327 |
<aside class="span4 detailsbar"></aside>
|
|
|
328 |
</div>
|
|
|
329 |
|
|
|
330 |
<div class="row-fluid">
|
|
|
331 |
<div class="span8 content class">
|
|
|
332 |
<a id="method_creerFichier" name="method_creerFichier" class="anchor"></a>
|
|
|
333 |
<article class="method">
|
|
|
334 |
<h3 class="public ">creerFichier()</h3>
|
|
|
335 |
<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>
|
|
|
336 |
<pre class="signature" style="margin-right: 54px;">creerFichier( <span class="argument">$fichier</span>, <span class="argument">$contenu</span>) : string</pre>
|
|
|
337 |
<p><em>Créer et stocke du contenu dans un fichier.</em></p>
|
|
|
338 |
|
|
|
339 |
|
|
|
340 |
<h4>Parameters</h4>
|
|
|
341 |
<table class="table table-condensed table-hover">
|
|
|
342 |
<tr>
|
|
|
343 |
<td></td>
|
|
|
344 |
<td>$fichier</td>
|
|
|
345 |
<td></td>
|
|
|
346 |
</tr>
|
|
|
347 |
<tr>
|
|
|
348 |
<td></td>
|
|
|
349 |
<td>$contenu</td>
|
|
|
350 |
<td></td>
|
|
|
351 |
</tr>
|
|
|
352 |
</table>
|
|
|
353 |
|
|
|
354 |
|
|
|
355 |
<h4>Returns</h4>
|
|
|
356 |
string
|
|
|
357 |
— <p>true en cas de succès sinon false.</p>
|
|
|
358 |
</article>
|
|
|
359 |
</div>
|
|
|
360 |
<aside class="span4 detailsbar">
|
|
|
361 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
362 |
<span class="label label-info">static</span>
|
|
|
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="method_creerFichierGzip" name="method_creerFichierGzip" class="anchor"></a>
|
|
|
381 |
<article class="method">
|
|
|
382 |
<h3 class="public ">creerFichierGzip()</h3>
|
|
|
383 |
<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>
|
|
|
384 |
<pre class="signature" style="margin-right: 54px;">creerFichierGzip( <span class="argument">$fichier</span>, <span class="argument">$contenu</span>) : string</pre>
|
|
|
385 |
<p><em>Créer et stocke du contenu dans un fichier compressé en Gzip.</em></p>
|
|
|
386 |
|
|
|
387 |
|
|
|
388 |
<h4>Parameters</h4>
|
|
|
389 |
<table class="table table-condensed table-hover">
|
|
|
390 |
<tr>
|
|
|
391 |
<td></td>
|
|
|
392 |
<td>$fichier</td>
|
|
|
393 |
<td></td>
|
|
|
394 |
</tr>
|
|
|
395 |
<tr>
|
|
|
396 |
<td></td>
|
|
|
397 |
<td>$contenu</td>
|
|
|
398 |
<td></td>
|
|
|
399 |
</tr>
|
|
|
400 |
</table>
|
|
|
401 |
|
|
|
402 |
|
|
|
403 |
<h4>Returns</h4>
|
|
|
404 |
string
|
|
|
405 |
— <p>true en cas de succès sinon false.</p>
|
|
|
406 |
</article>
|
|
|
407 |
</div>
|
|
|
408 |
<aside class="span4 detailsbar">
|
|
|
409 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
410 |
<span class="label label-info">static</span>
|
|
|
411 |
<dl>
|
|
|
412 |
</dl>
|
|
|
413 |
<h2>Tags</h2>
|
|
|
414 |
<table class="table table-condensed">
|
|
|
415 |
<tr>
|
|
|
416 |
<th>
|
|
|
417 |
todo
|
|
|
418 |
</th>
|
|
|
419 |
<td>
|
|
|
420 |
</td>
|
|
|
421 |
</tr>
|
|
|
422 |
</table>
|
|
|
423 |
</aside>
|
|
|
424 |
</div>
|
|
|
425 |
|
|
|
426 |
<div class="row-fluid">
|
|
|
427 |
<div class="span8 content class">
|
|
|
428 |
<a id="method_supprimerDossier" name="method_supprimerDossier" class="anchor"></a>
|
|
|
429 |
<article class="method">
|
|
|
430 |
<h3 class="public ">supprimerDossier()</h3>
|
|
|
431 |
<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>
|
|
|
432 |
<pre class="signature" style="margin-right: 54px;">supprimerDossier(string <span class="argument">$dossier</span>) : void</pre>
|
|
|
433 |
<p><em>Supprime récursivement un dossier et tout son contenu.</em></p>
|
|
|
434 |
|
|
|
435 |
|
|
|
436 |
<h4>Parameters</h4>
|
|
|
437 |
<table class="table table-condensed table-hover">
|
|
|
438 |
<tr>
|
|
|
439 |
<td>string</td>
|
|
|
440 |
<td>$dossier</td>
|
|
|
441 |
<td><p>le chemin vers le dossier à supprimer.</p></td>
|
|
|
442 |
</tr>
|
|
|
443 |
</table>
|
|
|
444 |
|
|
|
445 |
|
|
|
446 |
</article>
|
|
|
447 |
</div>
|
|
|
448 |
<aside class="span4 detailsbar">
|
|
|
449 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
450 |
<span class="label label-info">static</span>
|
|
|
451 |
<dl>
|
|
|
452 |
</dl>
|
|
|
453 |
<h2>Tags</h2>
|
|
|
454 |
<table class="table table-condensed">
|
|
|
455 |
<tr>
|
|
|
456 |
<th>
|
|
|
457 |
todo
|
|
|
458 |
</th>
|
|
|
459 |
<td>
|
|
|
460 |
</td>
|
|
|
461 |
</tr>
|
|
|
462 |
</table>
|
|
|
463 |
</aside>
|
|
|
464 |
</div>
|
|
|
465 |
|
|
|
466 |
<div class="row-fluid">
|
|
|
467 |
<div class="span8 content class">
|
|
|
468 |
<a id="method_convertirTaille" name="method_convertirTaille" class="anchor"></a>
|
|
|
469 |
<article class="method">
|
|
|
470 |
<h3 class="public ">convertirTaille()</h3>
|
|
|
471 |
<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>
|
|
|
472 |
<pre class="signature" style="margin-right: 54px;">convertirTaille(integer <span class="argument">$taille</span>) : string</pre>
|
|
|
473 |
<p><em>Convertion d'un nombre d'octet en kB, MB, GB.</em></p>
|
|
|
474 |
|
|
|
475 |
|
|
|
476 |
<h4>Parameters</h4>
|
|
|
477 |
<table class="table table-condensed table-hover">
|
|
|
478 |
<tr>
|
|
|
479 |
<td>integer</td>
|
|
|
480 |
<td>$taille</td>
|
|
|
481 |
<td><p>la taille en octet à convertir</p></td>
|
|
|
482 |
</tr>
|
|
|
483 |
</table>
|
|
|
484 |
|
|
|
485 |
|
|
|
486 |
<h4>Returns</h4>
|
|
|
487 |
string
|
|
|
488 |
— <p>la chaine représentant la taille en octets.</p>
|
|
|
489 |
</article>
|
|
|
490 |
</div>
|
|
|
491 |
<aside class="span4 detailsbar">
|
|
|
492 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
493 |
<span class="label label-info">static</span>
|
|
|
494 |
<dl>
|
|
|
495 |
<dt>See also</dt>
|
|
|
496 |
<dd><a href="http://forum.webmaster-rank.info/developpement-site/code-taille-memoire-d-une-variable-en-php-t1344.html"><span class="namespace-wrapper">http://forum.webmaster-rank.info/developpement-site/code-taille-memoire-d-une-variable-en-php-t1344.html</span></a></dd>
|
|
|
497 |
</dl>
|
|
|
498 |
<h2>Tags</h2>
|
|
|
499 |
<table class="table table-condensed">
|
|
|
500 |
<tr>
|
|
|
501 |
<th>
|
|
|
502 |
todo
|
|
|
503 |
</th>
|
|
|
504 |
<td>
|
|
|
505 |
</td>
|
|
|
506 |
</tr>
|
|
|
507 |
</table>
|
|
|
508 |
</aside>
|
|
|
509 |
</div>
|
|
|
510 |
|
|
|
511 |
<div class="row-fluid">
|
|
|
512 |
<div class="span8 content class">
|
|
|
513 |
<a id="method_getDossierTmp" name="method_getDossierTmp" class="anchor"></a>
|
|
|
514 |
<article class="method">
|
|
|
515 |
<h3 class="public ">getDossierTmp()</h3>
|
|
|
516 |
<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>
|
|
|
517 |
<pre class="signature" style="margin-right: 54px;">getDossierTmp() : string|false</pre>
|
|
|
518 |
<p><em>Détermine le dossier système temporaire et détecte si nous y avons accès en lecture et écriture.</em></p>
|
|
|
519 |
<p>Inspiré de Zend_File_Transfer_Adapter_Abstract & Zend_Cache</p>
|
|
|
520 |
|
|
|
521 |
|
|
|
522 |
|
|
|
523 |
<h4>Returns</h4>
|
|
|
524 |
string|false
|
|
|
525 |
— <p>le chemine vers le dossier temporaire ou false en cas d'échec.</p>
|
|
|
526 |
</article>
|
|
|
527 |
</div>
|
|
|
528 |
<aside class="span4 detailsbar">
|
|
|
529 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
530 |
<span class="label label-info">static</span>
|
|
|
531 |
<dl>
|
|
|
532 |
</dl>
|
|
|
533 |
<h2>Tags</h2>
|
|
|
534 |
<table class="table table-condensed">
|
|
|
535 |
<tr>
|
|
|
536 |
<th>
|
|
|
537 |
todo
|
|
|
538 |
</th>
|
|
|
539 |
<td>
|
|
|
540 |
</td>
|
|
|
541 |
</tr>
|
|
|
542 |
</table>
|
|
|
543 |
</aside>
|
|
|
544 |
</div>
|
|
|
545 |
|
|
|
546 |
<div class="row-fluid">
|
|
|
547 |
<div class="span8 content class">
|
|
|
548 |
<a id="method_etreAccessibleEnLectureEtEcriture" name="method_etreAccessibleEnLectureEtEcriture" class="anchor"></a>
|
|
|
549 |
<article class="method">
|
|
|
550 |
<h3 class="protected ">etreAccessibleEnLectureEtEcriture()</h3>
|
|
|
551 |
<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>
|
|
|
552 |
<pre class="signature" style="margin-right: 54px;">etreAccessibleEnLectureEtEcriture(mixed <span class="argument">$ressource</span>) : boolean</pre>
|
|
|
553 |
<p><em>Vérifie si le fichier ou dossier est accessible en lecture et écriture.</em></p>
|
|
|
554 |
|
|
|
555 |
|
|
|
556 |
<h4>Parameters</h4>
|
|
|
557 |
<table class="table table-condensed table-hover">
|
|
|
558 |
<tr>
|
|
|
559 |
<td>mixed</td>
|
|
|
560 |
<td>$ressource</td>
|
|
|
561 |
<td><p>chemin vers le dossier ou fichier à tester</p></td>
|
|
|
562 |
</tr>
|
|
|
563 |
</table>
|
|
|
564 |
|
|
|
565 |
|
|
|
566 |
<h4>Returns</h4>
|
|
|
567 |
boolean
|
|
|
568 |
— <p>true si la ressource est accessible en lecture et écriture.</p>
|
|
|
569 |
</article>
|
|
|
570 |
</div>
|
|
|
571 |
<aside class="span4 detailsbar">
|
|
|
572 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
573 |
<span class="label label-info">static</span>
|
|
|
574 |
<dl>
|
|
|
575 |
</dl>
|
|
|
576 |
<h2>Tags</h2>
|
|
|
577 |
<table class="table table-condensed">
|
|
|
578 |
<tr>
|
|
|
579 |
<th>
|
|
|
580 |
todo
|
|
|
581 |
</th>
|
|
|
582 |
<td>
|
|
|
583 |
</td>
|
|
|
584 |
</tr>
|
|
|
585 |
</table>
|
|
|
586 |
</aside>
|
|
|
587 |
</div>
|
|
|
588 |
|
|
|
589 |
</div>
|
|
|
590 |
</section>
|
|
|
591 |
|
|
|
592 |
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
|
|
593 |
<div class="modal-header">
|
|
|
594 |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
595 |
<h3 id="source-view-label">Fichier.php</h3>
|
|
|
596 |
</div>
|
|
|
597 |
<div class="modal-body">
|
|
|
598 |
<pre data-src="../files/utilitaires/Fichier.php.txt" class="language-php line-numbers"></pre>
|
|
|
599 |
</div>
|
|
|
600 |
</div>
|
|
|
601 |
|
|
|
602 |
<footer class="row-fluid">
|
|
|
603 |
<section class="span10 offset2">
|
|
|
604 |
<section class="row-fluid">
|
|
|
605 |
<section class="span10 offset1">
|
|
|
606 |
<section class="row-fluid footer-sections">
|
|
|
607 |
<section class="span4">
|
|
|
608 |
<h1><i class="icon-code"></i></h1>
|
|
|
609 |
<div>
|
|
|
610 |
<ul>
|
|
|
611 |
</ul>
|
|
|
612 |
</div>
|
|
|
613 |
</section>
|
|
|
614 |
<section class="span4">
|
|
|
615 |
<h1><i class="icon-bar-chart"></i></h1>
|
|
|
616 |
<div>
|
|
|
617 |
<ul>
|
|
|
618 |
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
|
|
619 |
</ul>
|
|
|
620 |
</div>
|
|
|
621 |
</section>
|
|
|
622 |
<section class="span4">
|
|
|
623 |
<h1><i class="icon-pushpin"></i></h1>
|
|
|
624 |
<div>
|
|
|
625 |
<ul>
|
|
|
626 |
<li><a href="../reports/errors.html">Errors</a></li>
|
|
|
627 |
<li><a href="../reports/markers.html">Markers</a></li>
|
|
|
628 |
</ul>
|
|
|
629 |
</div>
|
|
|
630 |
</section>
|
|
|
631 |
</section>
|
|
|
632 |
</section>
|
|
|
633 |
</section>
|
|
|
634 |
<section class="row-fluid">
|
|
|
635 |
<section class="span10 offset1">
|
|
|
636 |
<hr />
|
|
|
637 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
|
|
638 |
on March 12th, 2014 at 15:57.
|
|
|
639 |
</section>
|
|
|
640 |
</section>
|
|
|
641 |
</section>
|
|
|
642 |
</footer>
|
|
|
643 |
</div>
|
|
|
644 |
|
|
|
645 |
</body>
|
|
|
646 |
</html>
|