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-454643850"></a>
|
|
|
142 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
|
|
143 |
</div>
|
|
|
144 |
<div id="namespace-454643850" 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>Tableau</h1>
|
|
|
193 |
<p><em>Classe fournissant des méthodes statiques de manipulation des tableaux (Array).</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/Tableau.html#method_etendre" class="">etendre()</a><br />
|
|
|
212 |
<a href="../classes/Tableau.html#method_trierTableauMd" class="deprecated">trierTableauMd()</a><br />
|
|
|
213 |
<a href="../classes/Tableau.html#method_trierMD" class="">trierMD()</a><br />
|
|
|
214 |
<a href="../classes/Tableau.html#method_trierMDType" class="">trierMDType()</a><br />
|
|
|
215 |
</section>
|
|
|
216 |
<section class="span4">
|
|
|
217 |
<em>No public properties found</em>
|
|
|
218 |
</section>
|
|
|
219 |
<section class="span4">
|
|
|
220 |
<a href="../classes/Tableau.html#constant_TRI_NATUREL" class="">TRI_NATUREL</a><br />
|
|
|
221 |
<a href="../classes/Tableau.html#constant_TRI_CASSE_SENSIBLE" class="">TRI_CASSE_SENSIBLE</a><br />
|
|
|
222 |
<a href="../classes/Tableau.html#constant_TRI_CASSE_INSENSIBLE" class="">TRI_CASSE_INSENSIBLE</a><br />
|
|
|
223 |
</section>
|
|
|
224 |
</section>
|
|
|
225 |
<section class="row-fluid protected">
|
|
|
226 |
<section class="span4">
|
|
|
227 |
<em>No protected methods found</em>
|
|
|
228 |
</section>
|
|
|
229 |
<section class="span4">
|
|
|
230 |
<em>No protected properties found</em>
|
|
|
231 |
</section>
|
|
|
232 |
<section class="span4">
|
|
|
233 |
<em>N/A</em>
|
|
|
234 |
</section>
|
|
|
235 |
</section>
|
|
|
236 |
<section class="row-fluid private">
|
|
|
237 |
<section class="span4">
|
|
|
238 |
<a href="../classes/Tableau.html#method_comparer" class="">comparer()</a><br />
|
|
|
239 |
</section>
|
|
|
240 |
<section class="span4">
|
|
|
241 |
<a href="../classes/Tableau.html#property_triMultiDimension" class="">$triMultiDimension</a><br />
|
|
|
242 |
<a href="../classes/Tableau.html#property_triType" class="">$triType</a><br />
|
|
|
243 |
</section>
|
|
|
244 |
<section class="span4">
|
|
|
245 |
<em>N/A</em>
|
|
|
246 |
</section>
|
|
|
247 |
</section>
|
|
|
248 |
</section>
|
|
|
249 |
</div>
|
|
|
250 |
<aside class="span4 detailsbar">
|
|
|
251 |
|
|
|
252 |
|
|
|
253 |
<dl>
|
|
|
254 |
<dt>File</dt>
|
|
|
255 |
<dd><a href="../files/utilitaires.Tableau.php.html"><div class="path-wrapper">utilitaires/Tableau.php</div></a></dd>
|
|
|
256 |
<dt>Package</dt>
|
|
|
257 |
<dd><div class="namespace-wrapper">\Utilitaire</div></dd>
|
|
|
258 |
<dt>Class hierarchy</dt>
|
|
|
259 |
<dd class="hierarchy">
|
|
|
260 |
<div class="namespace-wrapper">\Tableau</div>
|
|
|
261 |
</dd>
|
|
|
262 |
|
|
|
263 |
|
|
|
264 |
|
|
|
265 |
|
|
|
266 |
<dt>See also</dt>
|
|
|
267 |
<dd><a href="/doc/framework/"><div class="namespace-wrapper">/doc/framework/</div></a></dd>
|
|
|
268 |
|
|
|
269 |
</dl>
|
|
|
270 |
<h2>Tags</h2>
|
|
|
271 |
<table class="table table-condensed">
|
|
|
272 |
<tr>
|
|
|
273 |
<th>
|
|
|
274 |
category
|
|
|
275 |
</th>
|
|
|
276 |
<td>
|
|
|
277 |
<p>PHP 5.2</p>
|
|
|
278 |
</td>
|
|
|
279 |
</tr>
|
|
|
280 |
<tr>
|
|
|
281 |
<th>
|
|
|
282 |
author
|
|
|
283 |
</th>
|
|
|
284 |
<td>
|
|
|
285 |
<p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p>
|
|
|
286 |
</td>
|
|
|
287 |
</tr>
|
|
|
288 |
<tr>
|
|
|
289 |
<th>
|
|
|
290 |
copyright
|
|
|
291 |
</th>
|
|
|
292 |
<td>
|
|
|
293 |
<p>Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</p>
|
|
|
294 |
</td>
|
|
|
295 |
</tr>
|
|
|
296 |
<tr>
|
|
|
297 |
<th>
|
|
|
298 |
license
|
|
|
299 |
</th>
|
|
|
300 |
<td>
|
|
|
301 |
<p><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL-v3</p>
|
|
|
302 |
<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>
|
|
|
303 |
</td>
|
|
|
304 |
</tr>
|
|
|
305 |
<tr>
|
|
|
306 |
<th>
|
|
|
307 |
version
|
|
|
308 |
</th>
|
|
|
309 |
<td>
|
|
|
310 |
<p>$Id: Tableau.php 400 2011-11-25 16:26:26Z jpm $</p>
|
|
|
311 |
</td>
|
|
|
312 |
</tr>
|
|
|
313 |
<tr>
|
|
|
314 |
<th>
|
|
|
315 |
todo
|
|
|
316 |
</th>
|
|
|
317 |
<td>
|
|
|
318 |
</td>
|
|
|
319 |
</tr>
|
|
|
320 |
</table>
|
|
|
321 |
</aside>
|
|
|
322 |
</div>
|
|
|
323 |
|
|
|
324 |
<a id="constants" name="constants"></a>
|
|
|
325 |
<div class="row-fluid">
|
|
|
326 |
<div class="span8 content class">
|
|
|
327 |
<h2>Constants</h2>
|
|
|
328 |
</div>
|
|
|
329 |
<aside class="span4 detailsbar"></aside>
|
|
|
330 |
</div>
|
|
|
331 |
|
|
|
332 |
<div class="row-fluid">
|
|
|
333 |
<div class="span8 content class">
|
|
|
334 |
<a id="constant_TRI_NATUREL" name="constant_TRI_NATUREL" class="anchor"></a>
|
|
|
335 |
<article id="constant_TRI_NATUREL" class="constant">
|
|
|
336 |
<h3 class="">TRI_NATUREL</h3>
|
|
|
337 |
<pre class="signature">TRI_NATUREL</pre>
|
|
|
338 |
<p><em></em></p>
|
|
|
339 |
|
|
|
340 |
</article>
|
|
|
341 |
</div>
|
|
|
342 |
<aside class="span4 detailsbar">
|
|
|
343 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
344 |
<dl>
|
|
|
345 |
</dl>
|
|
|
346 |
<h2>Tags</h2>
|
|
|
347 |
<table class="table table-condensed">
|
|
|
348 |
<tr>
|
|
|
349 |
<th>
|
|
|
350 |
todo
|
|
|
351 |
</th>
|
|
|
352 |
<td>
|
|
|
353 |
</td>
|
|
|
354 |
</tr>
|
|
|
355 |
</table>
|
|
|
356 |
</aside>
|
|
|
357 |
</div>
|
|
|
358 |
|
|
|
359 |
<div class="row-fluid">
|
|
|
360 |
<div class="span8 content class">
|
|
|
361 |
<a id="constant_TRI_CASSE_SENSIBLE" name="constant_TRI_CASSE_SENSIBLE" class="anchor"></a>
|
|
|
362 |
<article id="constant_TRI_CASSE_SENSIBLE" class="constant">
|
|
|
363 |
<h3 class="">TRI_CASSE_SENSIBLE</h3>
|
|
|
364 |
<pre class="signature">TRI_CASSE_SENSIBLE</pre>
|
|
|
365 |
<p><em></em></p>
|
|
|
366 |
|
|
|
367 |
</article>
|
|
|
368 |
</div>
|
|
|
369 |
<aside class="span4 detailsbar">
|
|
|
370 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
371 |
<dl>
|
|
|
372 |
</dl>
|
|
|
373 |
<h2>Tags</h2>
|
|
|
374 |
<table class="table table-condensed">
|
|
|
375 |
<tr>
|
|
|
376 |
<th>
|
|
|
377 |
todo
|
|
|
378 |
</th>
|
|
|
379 |
<td>
|
|
|
380 |
</td>
|
|
|
381 |
</tr>
|
|
|
382 |
</table>
|
|
|
383 |
</aside>
|
|
|
384 |
</div>
|
|
|
385 |
|
|
|
386 |
<div class="row-fluid">
|
|
|
387 |
<div class="span8 content class">
|
|
|
388 |
<a id="constant_TRI_CASSE_INSENSIBLE" name="constant_TRI_CASSE_INSENSIBLE" class="anchor"></a>
|
|
|
389 |
<article id="constant_TRI_CASSE_INSENSIBLE" class="constant">
|
|
|
390 |
<h3 class="">TRI_CASSE_INSENSIBLE</h3>
|
|
|
391 |
<pre class="signature">TRI_CASSE_INSENSIBLE</pre>
|
|
|
392 |
<p><em></em></p>
|
|
|
393 |
|
|
|
394 |
</article>
|
|
|
395 |
</div>
|
|
|
396 |
<aside class="span4 detailsbar">
|
|
|
397 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
398 |
<dl>
|
|
|
399 |
</dl>
|
|
|
400 |
<h2>Tags</h2>
|
|
|
401 |
<table class="table table-condensed">
|
|
|
402 |
<tr>
|
|
|
403 |
<th>
|
|
|
404 |
todo
|
|
|
405 |
</th>
|
|
|
406 |
<td>
|
|
|
407 |
</td>
|
|
|
408 |
</tr>
|
|
|
409 |
</table>
|
|
|
410 |
</aside>
|
|
|
411 |
</div>
|
|
|
412 |
|
|
|
413 |
|
|
|
414 |
<a id="properties" name="properties"></a>
|
|
|
415 |
<div class="row-fluid">
|
|
|
416 |
<div class="span8 content class">
|
|
|
417 |
<h2>Properties</h2>
|
|
|
418 |
</div>
|
|
|
419 |
<aside class="span4 detailsbar"></aside>
|
|
|
420 |
</div>
|
|
|
421 |
|
|
|
422 |
<div class="row-fluid">
|
|
|
423 |
<div class="span8 content class">
|
|
|
424 |
<a id="property_triMultiDimension" name="property_triMultiDimension" class="anchor"></a>
|
|
|
425 |
<article class="property">
|
|
|
426 |
<h3 class="private ">$triMultiDimension</h3>
|
|
|
427 |
<pre class="signature">$triMultiDimension</pre>
|
|
|
428 |
<p><em></em></p>
|
|
|
429 |
|
|
|
430 |
|
|
|
431 |
</article>
|
|
|
432 |
</div>
|
|
|
433 |
<aside class="span4 detailsbar">
|
|
|
434 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
435 |
<dl>
|
|
|
436 |
</dl>
|
|
|
437 |
<h2>Tags</h2>
|
|
|
438 |
<table class="table table-condensed">
|
|
|
439 |
<tr>
|
|
|
440 |
<th>
|
|
|
441 |
todo
|
|
|
442 |
</th>
|
|
|
443 |
<td>
|
|
|
444 |
</td>
|
|
|
445 |
</tr>
|
|
|
446 |
</table>
|
|
|
447 |
</aside>
|
|
|
448 |
</div>
|
|
|
449 |
|
|
|
450 |
<div class="row-fluid">
|
|
|
451 |
<div class="span8 content class">
|
|
|
452 |
<a id="property_triType" name="property_triType" class="anchor"></a>
|
|
|
453 |
<article class="property">
|
|
|
454 |
<h3 class="private ">$triType</h3>
|
|
|
455 |
<pre class="signature">$triType</pre>
|
|
|
456 |
<p><em></em></p>
|
|
|
457 |
|
|
|
458 |
|
|
|
459 |
</article>
|
|
|
460 |
</div>
|
|
|
461 |
<aside class="span4 detailsbar">
|
|
|
462 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
463 |
<dl>
|
|
|
464 |
</dl>
|
|
|
465 |
<h2>Tags</h2>
|
|
|
466 |
<table class="table table-condensed">
|
|
|
467 |
<tr>
|
|
|
468 |
<th>
|
|
|
469 |
todo
|
|
|
470 |
</th>
|
|
|
471 |
<td>
|
|
|
472 |
</td>
|
|
|
473 |
</tr>
|
|
|
474 |
</table>
|
|
|
475 |
</aside>
|
|
|
476 |
</div>
|
|
|
477 |
|
|
|
478 |
|
|
|
479 |
<a id="methods" name="methods"></a>
|
|
|
480 |
<div class="row-fluid">
|
|
|
481 |
<div class="span8 content class"><h2>Methods</h2></div>
|
|
|
482 |
<aside class="span4 detailsbar"></aside>
|
|
|
483 |
</div>
|
|
|
484 |
|
|
|
485 |
<div class="row-fluid">
|
|
|
486 |
<div class="span8 content class">
|
|
|
487 |
<a id="method_etendre" name="method_etendre" class="anchor"></a>
|
|
|
488 |
<article class="method">
|
|
|
489 |
<h3 class="public ">etendre()</h3>
|
|
|
490 |
<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>
|
|
|
491 |
<pre class="signature" style="margin-right: 54px;">etendre(array <span class="argument">$tableau_a_etendre</span>, array <span class="argument">$tableau_a_copier</span>) : void</pre>
|
|
|
492 |
<p><em>Etend le tableau à étendre avec les données du tableau à copier. Si des clés sont identiques entre les deux tableaux
|
|
|
493 |
une erreur est déclenchée et la valeur du tableau à étendre est gardée. Si les deux tableaux ont des clés numériques
|
|
|
494 |
leurs valeurs sont gardées (à la différence de array_merge).</em></p>
|
|
|
495 |
<p>Les tableaux sont passés par références et le tableau à copier est progressivement détruit pour éviter la consomation
|
|
|
496 |
de mémoire.</p>
|
|
|
497 |
|
|
|
498 |
<h4>Parameters</h4>
|
|
|
499 |
<table class="table table-condensed table-hover">
|
|
|
500 |
<tr>
|
|
|
501 |
<td>array</td>
|
|
|
502 |
<td>$tableau_a_etendre</td>
|
|
|
503 |
<td></td>
|
|
|
504 |
</tr>
|
|
|
505 |
<tr>
|
|
|
506 |
<td>array</td>
|
|
|
507 |
<td>$tableau_a_copier</td>
|
|
|
508 |
<td></td>
|
|
|
509 |
</tr>
|
|
|
510 |
</table>
|
|
|
511 |
|
|
|
512 |
|
|
|
513 |
</article>
|
|
|
514 |
</div>
|
|
|
515 |
<aside class="span4 detailsbar">
|
|
|
516 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
517 |
<span class="label label-info">static</span>
|
|
|
518 |
<dl>
|
|
|
519 |
</dl>
|
|
|
520 |
<h2>Tags</h2>
|
|
|
521 |
<table class="table table-condensed">
|
|
|
522 |
<tr>
|
|
|
523 |
<th>
|
|
|
524 |
todo
|
|
|
525 |
</th>
|
|
|
526 |
<td>
|
|
|
527 |
</td>
|
|
|
528 |
</tr>
|
|
|
529 |
</table>
|
|
|
530 |
</aside>
|
|
|
531 |
</div>
|
|
|
532 |
|
|
|
533 |
<div class="row-fluid">
|
|
|
534 |
<div class="span8 content class">
|
|
|
535 |
<a id="method_trierTableauMd" name="method_trierTableauMd" class="anchor"></a>
|
|
|
536 |
<article class="method">
|
|
|
537 |
<h3 class="public deprecated">trierTableauMd()</h3>
|
|
|
538 |
<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>
|
|
|
539 |
<pre class="signature" style="margin-right: 54px;">trierTableauMd( <span class="argument">$array</span>, <span class="argument">$cols</span>)</pre>
|
|
|
540 |
<p><em></em></p>
|
|
|
541 |
|
|
|
542 |
|
|
|
543 |
<h4>Parameters</h4>
|
|
|
544 |
<table class="table table-condensed table-hover">
|
|
|
545 |
<tr>
|
|
|
546 |
<td></td>
|
|
|
547 |
<td>$array</td>
|
|
|
548 |
<td></td>
|
|
|
549 |
</tr>
|
|
|
550 |
<tr>
|
|
|
551 |
<td></td>
|
|
|
552 |
<td>$cols</td>
|
|
|
553 |
<td></td>
|
|
|
554 |
</tr>
|
|
|
555 |
</table>
|
|
|
556 |
|
|
|
557 |
|
|
|
558 |
</article>
|
|
|
559 |
</div>
|
|
|
560 |
<aside class="span4 detailsbar">
|
|
|
561 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
562 |
<span class="label label-info">static</span>
|
|
|
563 |
<aside class="alert alert-block alert-error">
|
|
|
564 |
<h4>Deprecated</h4>
|
|
|
565 |
Utiliser la méthode trierMD()
|
|
|
566 |
</aside>
|
|
|
567 |
<dl>
|
|
|
568 |
<dt>See also</dt>
|
|
|
569 |
<dd><a href=""><span class="namespace-wrapper"></span></a></dd>
|
|
|
570 |
</dl>
|
|
|
571 |
<h2>Tags</h2>
|
|
|
572 |
<table class="table table-condensed">
|
|
|
573 |
<tr>
|
|
|
574 |
<th>
|
|
|
575 |
todo
|
|
|
576 |
</th>
|
|
|
577 |
<td>
|
|
|
578 |
</td>
|
|
|
579 |
</tr>
|
|
|
580 |
</table>
|
|
|
581 |
</aside>
|
|
|
582 |
</div>
|
|
|
583 |
|
|
|
584 |
<div class="row-fluid">
|
|
|
585 |
<div class="span8 content class">
|
|
|
586 |
<a id="method_trierMD" name="method_trierMD" class="anchor"></a>
|
|
|
587 |
<article class="method">
|
|
|
588 |
<h3 class="public ">trierMD()</h3>
|
|
|
589 |
<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>
|
|
|
590 |
<pre class="signature" style="margin-right: 54px;">trierMD(Array <span class="argument">$array</span>, Array <span class="argument">$cols</span>) : Array</pre>
|
|
|
591 |
<p><em>Permet de trier un tableau multi-dimenssionnel en gardant l'ordre des clés.</em></p>
|
|
|
592 |
|
|
|
593 |
|
|
|
594 |
<h4>Parameters</h4>
|
|
|
595 |
<table class="table table-condensed table-hover">
|
|
|
596 |
<tr>
|
|
|
597 |
<td>Array</td>
|
|
|
598 |
<td>$array</td>
|
|
|
599 |
<td><p>le tableau à trier</p></td>
|
|
|
600 |
</tr>
|
|
|
601 |
<tr>
|
|
|
602 |
<td>Array</td>
|
|
|
603 |
<td>$cols</td>
|
|
|
604 |
<td><p>tableau indiquant en clé la colonne à trier et en valeur l'ordre avec SORT_ASC ou SORT_DESC</p></td>
|
|
|
605 |
</tr>
|
|
|
606 |
</table>
|
|
|
607 |
|
|
|
608 |
|
|
|
609 |
<h4>Returns</h4>
|
|
|
610 |
Array
|
|
|
611 |
— <p>le tableau trié.</p>
|
|
|
612 |
</article>
|
|
|
613 |
</div>
|
|
|
614 |
<aside class="span4 detailsbar">
|
|
|
615 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
616 |
<span class="label label-info">static</span>
|
|
|
617 |
<dl>
|
|
|
618 |
<dt>See also</dt>
|
|
|
619 |
<dd><a href=""><span class="namespace-wrapper">Post du 21-Jun-2009 12:38</span></a></dd>
|
|
|
620 |
</dl>
|
|
|
621 |
<h2>Tags</h2>
|
|
|
622 |
<table class="table table-condensed">
|
|
|
623 |
<tr>
|
|
|
624 |
<th>
|
|
|
625 |
author
|
|
|
626 |
</th>
|
|
|
627 |
<td>
|
|
|
628 |
<p>cagret at gmail dot com</p>
|
|
|
629 |
</td>
|
|
|
630 |
</tr>
|
|
|
631 |
<tr>
|
|
|
632 |
<th>
|
|
|
633 |
todo
|
|
|
634 |
</th>
|
|
|
635 |
<td>
|
|
|
636 |
</td>
|
|
|
637 |
</tr>
|
|
|
638 |
</table>
|
|
|
639 |
</aside>
|
|
|
640 |
</div>
|
|
|
641 |
|
|
|
642 |
<div class="row-fluid">
|
|
|
643 |
<div class="span8 content class">
|
|
|
644 |
<a id="method_trierMDType" name="method_trierMDType" class="anchor"></a>
|
|
|
645 |
<article class="method">
|
|
|
646 |
<h3 class="public ">trierMDType()</h3>
|
|
|
647 |
<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>
|
|
|
648 |
<pre class="signature" style="margin-right: 54px;">trierMDType( <span class="argument">$tableau</span>, <span class="argument">$cols</span>, <span class="argument">$type</span>) : array</pre>
|
|
|
649 |
<p><em>Méthode réalisant un tri d'un tableau multidimension. Attention les clés du tableau ne sont pas modifiées.</em></p>
|
|
|
650 |
<p>A utiliser de cette façon:
|
|
|
651 |
EfloreTriage::trieMultiple( $tableau_multidimension, array('ma_cle1' => SORT_ASC, 'ma_cle2' => SORT_DESC), $type_de_tri);
|
|
|
652 |
Utiliser les constantes php SORT_DESC ou SORT_ASC pour l'odre de tri.
|
|
|
653 |
Pour le type de tri : utiliser :</p>
|
|
|
654 |
<ul>
|
|
|
655 |
<li>Tableau::TRI_NATUREL pour un trie naturel,</li>
|
|
|
656 |
<li>Tableau::TRI_CASSE_SENSIBLE pour un tri sensible à la casse,</li>
|
|
|
657 |
<li>Tableau::TRI_CASSE_INSENSIBLE pour un tri insensible à la casse.</li>
|
|
|
658 |
</ul>
|
|
|
659 |
|
|
|
660 |
<h4>Parameters</h4>
|
|
|
661 |
<table class="table table-condensed table-hover">
|
|
|
662 |
<tr>
|
|
|
663 |
<td></td>
|
|
|
664 |
<td>$tableau</td>
|
|
|
665 |
<td></td>
|
|
|
666 |
</tr>
|
|
|
667 |
<tr>
|
|
|
668 |
<td></td>
|
|
|
669 |
<td>$cols</td>
|
|
|
670 |
<td></td>
|
|
|
671 |
</tr>
|
|
|
672 |
<tr>
|
|
|
673 |
<td></td>
|
|
|
674 |
<td>$type</td>
|
|
|
675 |
<td></td>
|
|
|
676 |
</tr>
|
|
|
677 |
</table>
|
|
|
678 |
|
|
|
679 |
|
|
|
680 |
<h4>Returns</h4>
|
|
|
681 |
array
|
|
|
682 |
— <p>le tableau trié.</p>
|
|
|
683 |
</article>
|
|
|
684 |
</div>
|
|
|
685 |
<aside class="span4 detailsbar">
|
|
|
686 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
687 |
<span class="label label-info">static</span>
|
|
|
688 |
<dl>
|
|
|
689 |
</dl>
|
|
|
690 |
<h2>Tags</h2>
|
|
|
691 |
<table class="table table-condensed">
|
|
|
692 |
<tr>
|
|
|
693 |
<th>
|
|
|
694 |
todo
|
|
|
695 |
</th>
|
|
|
696 |
<td>
|
|
|
697 |
</td>
|
|
|
698 |
</tr>
|
|
|
699 |
</table>
|
|
|
700 |
</aside>
|
|
|
701 |
</div>
|
|
|
702 |
|
|
|
703 |
<div class="row-fluid">
|
|
|
704 |
<div class="span8 content class">
|
|
|
705 |
<a id="method_comparer" name="method_comparer" class="anchor"></a>
|
|
|
706 |
<article class="method">
|
|
|
707 |
<h3 class="private ">comparer()</h3>
|
|
|
708 |
<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>
|
|
|
709 |
<pre class="signature" style="margin-right: 54px;">comparer( <span class="argument">$a</span>, <span class="argument">$b</span>)</pre>
|
|
|
710 |
<p><em></em></p>
|
|
|
711 |
|
|
|
712 |
|
|
|
713 |
<h4>Parameters</h4>
|
|
|
714 |
<table class="table table-condensed table-hover">
|
|
|
715 |
<tr>
|
|
|
716 |
<td></td>
|
|
|
717 |
<td>$a</td>
|
|
|
718 |
<td></td>
|
|
|
719 |
</tr>
|
|
|
720 |
<tr>
|
|
|
721 |
<td></td>
|
|
|
722 |
<td>$b</td>
|
|
|
723 |
<td></td>
|
|
|
724 |
</tr>
|
|
|
725 |
</table>
|
|
|
726 |
|
|
|
727 |
|
|
|
728 |
</article>
|
|
|
729 |
</div>
|
|
|
730 |
<aside class="span4 detailsbar">
|
|
|
731 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
732 |
<span class="label label-info">static</span>
|
|
|
733 |
<dl>
|
|
|
734 |
</dl>
|
|
|
735 |
<h2>Tags</h2>
|
|
|
736 |
<table class="table table-condensed">
|
|
|
737 |
<tr>
|
|
|
738 |
<th>
|
|
|
739 |
todo
|
|
|
740 |
</th>
|
|
|
741 |
<td>
|
|
|
742 |
</td>
|
|
|
743 |
</tr>
|
|
|
744 |
</table>
|
|
|
745 |
</aside>
|
|
|
746 |
</div>
|
|
|
747 |
|
|
|
748 |
</div>
|
|
|
749 |
</section>
|
|
|
750 |
|
|
|
751 |
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
|
|
752 |
<div class="modal-header">
|
|
|
753 |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
754 |
<h3 id="source-view-label">Tableau.php</h3>
|
|
|
755 |
</div>
|
|
|
756 |
<div class="modal-body">
|
|
|
757 |
<pre data-src="../files/utilitaires/Tableau.php.txt" class="language-php line-numbers"></pre>
|
|
|
758 |
</div>
|
|
|
759 |
</div>
|
|
|
760 |
|
|
|
761 |
<footer class="row-fluid">
|
|
|
762 |
<section class="span10 offset2">
|
|
|
763 |
<section class="row-fluid">
|
|
|
764 |
<section class="span10 offset1">
|
|
|
765 |
<section class="row-fluid footer-sections">
|
|
|
766 |
<section class="span4">
|
|
|
767 |
<h1><i class="icon-code"></i></h1>
|
|
|
768 |
<div>
|
|
|
769 |
<ul>
|
|
|
770 |
</ul>
|
|
|
771 |
</div>
|
|
|
772 |
</section>
|
|
|
773 |
<section class="span4">
|
|
|
774 |
<h1><i class="icon-bar-chart"></i></h1>
|
|
|
775 |
<div>
|
|
|
776 |
<ul>
|
|
|
777 |
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
|
|
778 |
</ul>
|
|
|
779 |
</div>
|
|
|
780 |
</section>
|
|
|
781 |
<section class="span4">
|
|
|
782 |
<h1><i class="icon-pushpin"></i></h1>
|
|
|
783 |
<div>
|
|
|
784 |
<ul>
|
|
|
785 |
<li><a href="../reports/errors.html">Errors</a></li>
|
|
|
786 |
<li><a href="../reports/markers.html">Markers</a></li>
|
|
|
787 |
</ul>
|
|
|
788 |
</div>
|
|
|
789 |
</section>
|
|
|
790 |
</section>
|
|
|
791 |
</section>
|
|
|
792 |
</section>
|
|
|
793 |
<section class="row-fluid">
|
|
|
794 |
<section class="span10 offset1">
|
|
|
795 |
<hr />
|
|
|
796 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
|
|
797 |
on March 12th, 2014 at 15:57.
|
|
|
798 |
</section>
|
|
|
799 |
</section>
|
|
|
800 |
</section>
|
|
|
801 |
</footer>
|
|
|
802 |
</div>
|
|
|
803 |
|
|
|
804 |
</body>
|
|
|
805 |
</html>
|