Subversion Repositories Applications.framework

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
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>&#160;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>&#160;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>&#160;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&#160;&#160;<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-1737141537"></a>
142
                                <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
143
            </div>
144
            <div id="namespace-1737141537" 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>Chaine</h1>
193
                    <p><em>Classe fournissant des méthodes statiques de manipulation des chaînes de caractères (String).</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/Chaine.html#method_supprimerAccents" class="">supprimerAccents()</a><br />
212
                                                            </section>
213
                            <section class="span4">
214
                                                                    <em>No public properties found</em>
215
                                                            </section>
216
                            <section class="span4">
217
                                                                    <em>No constants found</em>
218
                                                            </section>
219
                        </section>
220
                        <section class="row-fluid protected">
221
                            <section class="span4">
222
                                                                    <em>No protected methods found</em>
223
                                                            </section>
224
                            <section class="span4">
225
                                                                    <em>No protected properties found</em>
226
                                                            </section>
227
                            <section class="span4">
228
                                <em>N/A</em>
229
                            </section>
230
                        </section>
231
                        <section class="row-fluid private">
232
                            <section class="span4">
233
                                                                    <em>No private methods found</em>
234
                                                            </section>
235
                            <section class="span4">
236
                                                                    <a href="../classes/Chaine.html#property_caracteres_accentues" class="">$caracteres_accentues</a><br />
237
                                                                    <a href="../classes/Chaine.html#property_caracteres_normaux" class="">$caracteres_normaux</a><br />
238
                                                            </section>
239
                            <section class="span4">
240
                                <em>N/A</em>
241
                            </section>
242
                        </section>
243
                    </section>
244
                </div>
245
                <aside class="span4 detailsbar">
246
 
247
 
248
                    <dl>
249
                        <dt>File</dt>
250
                            <dd><a href="../files/utilitaires.Chaine.php.html"><div class="path-wrapper">utilitaires/Chaine.php</div></a></dd>
251
                                                <dt>Package</dt>
252
                            <dd><div class="namespace-wrapper">\Utilitaire</div></dd>
253
                                                <dt>Class hierarchy</dt>
254
                            <dd class="hierarchy">
255
                                                                                                                                                                    <div class="namespace-wrapper">\Chaine</div>
256
                            </dd>
257
 
258
 
259
 
260
 
261
                                                                            <dt>See also</dt>
262
                                                                                    <dd><a href="/doc/framework/"><div class="namespace-wrapper">/doc/framework/</div></a></dd>
263
 
264
                                                                        </dl>
265
                    <h2>Tags</h2>
266
                    <table class="table table-condensed">
267
                                            <tr>
268
                            <th>
269
                                category
270
                            </th>
271
                            <td>
272
                                                                    <p>PHP 5.2</p>
273
                                                            </td>
274
                        </tr>
275
                                            <tr>
276
                            <th>
277
                                author
278
                            </th>
279
                            <td>
280
                                                                    <p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p>
281
                                                            </td>
282
                        </tr>
283
                                            <tr>
284
                            <th>
285
                                copyright
286
                            </th>
287
                            <td>
288
                                                                    <p>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</p>
289
                                                            </td>
290
                        </tr>
291
                                            <tr>
292
                            <th>
293
                                license
294
                            </th>
295
                            <td>
296
                                                                    <p><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL-v3</p>
297
                                                                    <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>
298
                                                            </td>
299
                        </tr>
300
                                            <tr>
301
                            <th>
302
                                version
303
                            </th>
304
                            <td>
305
                                                                    <p>$Id: Chaine.php 343 2011-06-09 14:59:36Z jpm $</p>
306
                                                            </td>
307
                        </tr>
308
                                            <tr>
309
                            <th>
310
                                todo
311
                            </th>
312
                            <td>
313
                                                            </td>
314
                        </tr>
315
                                        </table>
316
                </aside>
317
            </div>
318
 
319
 
320
                                    <a id="properties" name="properties"></a>
321
            <div class="row-fluid">
322
                <div class="span8 content class">
323
                    <h2>Properties</h2>
324
                </div>
325
                <aside class="span4 detailsbar"></aside>
326
            </div>
327
 
328
                                                                    <div class="row-fluid">
329
        <div class="span8 content class">
330
            <a id="property_caracteres_accentues" name="property_caracteres_accentues" class="anchor"></a>
331
            <article class="property">
332
                <h3 class="private ">$caracteres_accentues</h3>
333
                <pre class="signature">$caracteres_accentues</pre>
334
                <p><em></em></p>
335
 
336
 
337
                            </article>
338
        </div>
339
        <aside class="span4 detailsbar">
340
            <h1><i class="icon-arrow-down"></i></h1>
341
                        <dl>
342
                                                            </dl>
343
            <h2>Tags</h2>
344
            <table class="table table-condensed">
345
                                    <tr>
346
                        <th>
347
                            todo
348
                        </th>
349
                        <td>
350
                                                    </td>
351
                    </tr>
352
                            </table>
353
        </aside>
354
    </div>
355
 
356
                                    <div class="row-fluid">
357
        <div class="span8 content class">
358
            <a id="property_caracteres_normaux" name="property_caracteres_normaux" class="anchor"></a>
359
            <article class="property">
360
                <h3 class="private ">$caracteres_normaux</h3>
361
                <pre class="signature">$caracteres_normaux</pre>
362
                <p><em></em></p>
363
 
364
 
365
                            </article>
366
        </div>
367
        <aside class="span4 detailsbar">
368
            <h1><i class="icon-arrow-down"></i></h1>
369
                        <dl>
370
                                                            </dl>
371
            <h2>Tags</h2>
372
            <table class="table table-condensed">
373
                                    <tr>
374
                        <th>
375
                            todo
376
                        </th>
377
                        <td>
378
                                                    </td>
379
                    </tr>
380
                            </table>
381
        </aside>
382
    </div>
383
 
384
 
385
                                    <a id="methods" name="methods"></a>
386
            <div class="row-fluid">
387
                <div class="span8 content class"><h2>Methods</h2></div>
388
                <aside class="span4 detailsbar"></aside>
389
            </div>
390
 
391
                                    <div class="row-fluid">
392
        <div class="span8 content class">
393
            <a id="method_supprimerAccents" name="method_supprimerAccents" class="anchor"></a>
394
            <article class="method">
395
                <h3 class="public ">supprimerAccents()</h3>
396
                <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>
397
                <pre class="signature" style="margin-right: 54px;">supprimerAccents(String <span class="argument">$chaine</span>, String <span class="argument">$encodage</span>) : \la</pre>
398
                <p><em>Supprime ou remplace les accents d&#039;une chaine en PHP.</em></p>
399
                <p>La solution retenu, provenant du site
400
{@link <a href="http://www.lecoindunet.com/zone_php/scripts_utiles/remplacer-les-caracteres-accentues-dune-chaine-en-php-72">http://www.lecoindunet.com/zone_php/scripts_utiles/remplacer-les-caracteres-accentues-dune-chaine-en-php-72</a> lecoindunet.com},
401
consiste en deux tableaux (caractères avec et sans accents) car cela permetra éventuellement
402
de fournir des méthodes pour récupérer ces tableaux pour d'autres traitements.
403
Une autre solution aurait été d'utiliser les entités HTML comme proposé par le site
404
{@link <a href="http://www.weirdog.com/blog/php/supprimer-les-accents-des-caracteres-accentues.html">http://www.weirdog.com/blog/php/supprimer-les-accents-des-caracteres-accentues.html</a> weirdog.com}.</p>
405
 
406
                                    <h4>Parameters</h4>
407
                    <table class="table table-condensed table-hover">
408
                                                    <tr>
409
                                <td>String</td>
410
                                <td>$chaine</td>
411
                                <td><p>la chaine de caractères dans laquelle supprimer les accents.</p></td>
412
                            </tr>
413
                                                    <tr>
414
                                <td>String</td>
415
                                <td>$encodage</td>
416
                                <td><p>le code d'encodage de la chaine si ce n'est pas de l'UTF-8.</p></td>
417
                            </tr>
418
                                            </table>
419
 
420
 
421
                                    <h4>Returns</h4>
422
                    \la
423
                                            &mdash; <p>chaine de caractères sans accent.</p>
424
                                                </article>
425
        </div>
426
        <aside class="span4 detailsbar">
427
            <h1><i class="icon-arrow-down"></i></h1>
428
                            <span class="label label-info">static</span>
429
                                                            <dl>
430
                                                                            </dl>
431
            <h2>Tags</h2>
432
            <table class="table table-condensed">
433
                                    <tr>
434
                        <th>
435
                            todo
436
                        </th>
437
                        <td>
438
                                                    </td>
439
                    </tr>
440
                            </table>
441
        </aside>
442
    </div>
443
 
444
                                                                    </div>
445
    </section>
446
 
447
    <div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
448
        <div class="modal-header">
449
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
450
            <h3 id="source-view-label">Chaine.php</h3>
451
        </div>
452
        <div class="modal-body">
453
            <pre data-src="../files/utilitaires/Chaine.php.txt" class="language-php line-numbers"></pre>
454
        </div>
455
    </div>
456
 
457
    <footer class="row-fluid">
458
        <section class="span10 offset2">
459
            <section class="row-fluid">
460
                <section class="span10 offset1">
461
                    <section class="row-fluid footer-sections">
462
                        <section class="span4">
463
                                                        <h1><i class="icon-code"></i></h1>
464
                            <div>
465
                                <ul>
466
                                                                    </ul>
467
                            </div>
468
                        </section>
469
                        <section class="span4">
470
                                                        <h1><i class="icon-bar-chart"></i></h1>
471
                            <div>
472
                                <ul>
473
                                    <li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
474
                                </ul>
475
                            </div>
476
                        </section>
477
                        <section class="span4">
478
                                                        <h1><i class="icon-pushpin"></i></h1>
479
                            <div>
480
                                <ul>
481
                                    <li><a href="../reports/errors.html">Errors</a></li>
482
                                    <li><a href="../reports/markers.html">Markers</a></li>
483
                                </ul>
484
                            </div>
485
                        </section>
486
                    </section>
487
                </section>
488
            </section>
489
            <section class="row-fluid">
490
                <section class="span10 offset1">
491
                    <hr />
492
                    Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
493
                    on March 12th, 2014 at 15:57.
494
                </section>
495
            </section>
496
        </section>
497
    </footer>
498
</div>
499
 
500
</body>
501
</html>