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-393804422"></a>
142
                                <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
143
            </div>
144
            <div id="namespace-393804422" 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>I18n</h1>
193
                    <p><em>I18n permet de traduire une application à partir de données stockées dans des fichiers ini.</em></p>
194
                    <p>Si vous souhaitez utiliser le fonctionnement par défaut vous devrez :</p>
195
<ul>
196
<li>déposer les fichiers ini dans le dossier définit par la variable de config "chemin_i18n".</li>
197
<li>nommer les fichiers selon la forme "locale.ini" (Ex.: fr.ini ou fr_CH.ini ).</li>
198
</ul>
199
<p>Elle offre l'accès en lecture seule aux paramètres des fichiers ini.
200
C'est une Singleton. Une seule classe de traduction peut être instanciée par Application.</p>
201
 
202
                    <section id="summary">
203
                        <h2>Summary</h2>
204
                        <section class="row-fluid heading">
205
                            <section class="span4">
206
                                <a href="#methods">Methods</a>
207
                            </section>
208
                            <section class="span4">
209
                                <a href="#properties">Properties</a>
210
                            </section>
211
                            <section class="span4">
212
                                <a href="#constants">Constants</a>
213
                            </section>
214
                        </section>
215
                        <section class="row-fluid public">
216
                            <section class="span4">
217
                                                                    <a href="../classes/I18n.html#method_get" class="">get()</a><br />
218
                                                                    <a href="../classes/I18n.html#method_charger" class="">charger()</a><br />
219
                                                                    <a href="../classes/I18n.html#method_setLangue" class="">setLangue()</a><br />
220
                                                            </section>
221
                            <section class="span4">
222
                                                                    <em>No public properties found</em>
223
                                                            </section>
224
                            <section class="span4">
225
                                                                    <a href="../classes/I18n.html#constant_FORMAT_INI" class="">FORMAT_INI</a><br />
226
                                                            </section>
227
                        </section>
228
                        <section class="row-fluid protected">
229
                            <section class="span4">
230
                                                                    <em>No protected methods found</em>
231
                                                            </section>
232
                            <section class="span4">
233
                                                                    <em>No protected properties found</em>
234
                                                            </section>
235
                            <section class="span4">
236
                                <em>N/A</em>
237
                            </section>
238
                        </section>
239
                        <section class="row-fluid private">
240
                            <section class="span4">
241
                                                                    <a href="../classes/I18n.html#method___construct" class="">__construct()</a><br />
242
                                                                    <a href="../classes/I18n.html#method_getValeur" class="">getValeur()</a><br />
243
                                                                    <a href="../classes/I18n.html#method_chargerFichierIni" class="">chargerFichierIni()</a><br />
244
                                                                    <a href="../classes/I18n.html#method_analyserTableauIni" class="">analyserTableauIni()</a><br />
245
                                                                    <a href="../classes/I18n.html#method_evaluerCle" class="">evaluerCle()</a><br />
246
                                                                    <a href="../classes/I18n.html#method_trouverLangue" class="">trouverLangue()</a><br />
247
                                                                    <a href="../classes/I18n.html#method_verifierCreationInstance" class="">verifierCreationInstance()</a><br />
248
                                                                    <a href="../classes/I18n.html#method_ajouterErreur" class="">ajouterErreur()</a><br />
249
                                                            </section>
250
                            <section class="span4">
251
                                                                    <a href="../classes/I18n.html#property_instance" class="">$instance</a><br />
252
                                                                    <a href="../classes/I18n.html#property_traductions" class="">$traductions</a><br />
253
                                                                    <a href="../classes/I18n.html#property_langue" class="">$langue</a><br />
254
                                                                    <a href="../classes/I18n.html#property_parametres_obligatoires" class="">$parametres_obligatoires</a><br />
255
                                                            </section>
256
                            <section class="span4">
257
                                <em>N/A</em>
258
                            </section>
259
                        </section>
260
                    </section>
261
                </div>
262
                <aside class="span4 detailsbar">
263
 
264
 
265
                    <dl>
266
                        <dt>File</dt>
267
                            <dd><a href="../files/I18n.php.html"><div class="path-wrapper">I18n.php</div></a></dd>
268
                                                <dt>Package</dt>
269
                            <dd><div class="namespace-wrapper">\Framework</div></dd>
270
                                                <dt>Class hierarchy</dt>
271
                            <dd class="hierarchy">
272
                                                                                                                                                                    <div class="namespace-wrapper">\I18n</div>
273
                            </dd>
274
 
275
 
276
 
277
 
278
                                                                            <dt>See also</dt>
279
                                                                                    <dd><a href="/doc/framework/"><div class="namespace-wrapper">/doc/framework/</div></a></dd>
280
 
281
                                                                        </dl>
282
                    <h2>Tags</h2>
283
                    <table class="table table-condensed">
284
                                            <tr>
285
                            <th>
286
                                category
287
                            </th>
288
                            <td>
289
                                                                    <p>PHP 5.2</p>
290
                                                            </td>
291
                        </tr>
292
                                            <tr>
293
                            <th>
294
                                author
295
                            </th>
296
                            <td>
297
                                                                    <p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p>
298
                                                            </td>
299
                        </tr>
300
                                            <tr>
301
                            <th>
302
                                copyright
303
                            </th>
304
                            <td>
305
                                                                    <p>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</p>
306
                                                            </td>
307
                        </tr>
308
                                            <tr>
309
                            <th>
310
                                license
311
                            </th>
312
                            <td>
313
                                                                    <p><a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt</a> Licence CECILL</p>
314
                                                                    <p><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL</p>
315
                                                            </td>
316
                        </tr>
317
                                            <tr>
318
                            <th>
319
                                since
320
                            </th>
321
                            <td>
322
 
323
                                                            </td>
324
                        </tr>
325
                                            <tr>
326
                            <th>
327
                                version
328
                            </th>
329
                            <td>
330
                                                                    <p>$Id: I18n.php 331 2011-02-24 18:03:35Z jpm $</p>
331
                                                            </td>
332
                        </tr>
333
                                            <tr>
334
                            <th>
335
                                todo
336
                            </th>
337
                            <td>
338
                                                            </td>
339
                        </tr>
340
                                        </table>
341
                </aside>
342
            </div>
343
 
344
                                    <a id="constants" name="constants"></a>
345
            <div class="row-fluid">
346
                <div class="span8 content class">
347
                    <h2>Constants</h2>
348
                </div>
349
                <aside class="span4 detailsbar"></aside>
350
            </div>
351
 
352
                                <div class="row-fluid">
353
        <div class="span8 content class">
354
            <a id="constant_FORMAT_INI" name="constant_FORMAT_INI" class="anchor"></a>
355
            <article id="constant_FORMAT_INI" class="constant">
356
                <h3 class="">FORMAT_INI</h3>
357
                <pre class="signature">FORMAT_INI</pre>
358
                <p><em>Format de traduction utilisant les fichier .ini</em></p>
359
 
360
            </article>
361
        </div>
362
        <aside class="span4 detailsbar">
363
            <h1><i class="icon-arrow-down"></i></h1>
364
                        <dl>
365
                                                                            </dl>
366
            <h2>Tags</h2>
367
            <table class="table table-condensed">
368
                                    <tr>
369
                        <th>
370
                            todo
371
                        </th>
372
                        <td>
373
                                                    </td>
374
                    </tr>
375
                            </table>
376
        </aside>
377
    </div>
378
 
379
 
380
                                    <a id="properties" name="properties"></a>
381
            <div class="row-fluid">
382
                <div class="span8 content class">
383
                    <h2>Properties</h2>
384
                </div>
385
                <aside class="span4 detailsbar"></aside>
386
            </div>
387
 
388
                                                                    <div class="row-fluid">
389
        <div class="span8 content class">
390
            <a id="property_instance" name="property_instance" class="anchor"></a>
391
            <article class="property">
392
                <h3 class="private ">$instance</h3>
393
                <pre class="signature">$instance</pre>
394
                <p><em>Instance de la classe pointant sur elle même (pour le pattern singleton)</em></p>
395
 
396
 
397
                            </article>
398
        </div>
399
        <aside class="span4 detailsbar">
400
            <h1><i class="icon-arrow-down"></i></h1>
401
                        <dl>
402
                                                            </dl>
403
            <h2>Tags</h2>
404
            <table class="table table-condensed">
405
                                    <tr>
406
                        <th>
407
                            todo
408
                        </th>
409
                        <td>
410
                                                    </td>
411
                    </tr>
412
                            </table>
413
        </aside>
414
    </div>
415
 
416
                                    <div class="row-fluid">
417
        <div class="span8 content class">
418
            <a id="property_traductions" name="property_traductions" class="anchor"></a>
419
            <article class="property">
420
                <h3 class="private ">$traductions</h3>
421
                <pre class="signature">$traductions</pre>
422
                <p><em>Fichiers de traduction disponibles.</em></p>
423
 
424
 
425
                            </article>
426
        </div>
427
        <aside class="span4 detailsbar">
428
            <h1><i class="icon-arrow-down"></i></h1>
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 class="row-fluid">
445
        <div class="span8 content class">
446
            <a id="property_langue" name="property_langue" class="anchor"></a>
447
            <article class="property">
448
                <h3 class="private ">$langue</h3>
449
                <pre class="signature">$langue</pre>
450
                <p><em>Langue courrante utilisée par l&#039;application.</em></p>
451
 
452
 
453
                            </article>
454
        </div>
455
        <aside class="span4 detailsbar">
456
            <h1><i class="icon-arrow-down"></i></h1>
457
                        <dl>
458
                                                            </dl>
459
            <h2>Tags</h2>
460
            <table class="table table-condensed">
461
                                    <tr>
462
                        <th>
463
                            todo
464
                        </th>
465
                        <td>
466
                                                    </td>
467
                    </tr>
468
                            </table>
469
        </aside>
470
    </div>
471
 
472
                                    <div class="row-fluid">
473
        <div class="span8 content class">
474
            <a id="property_parametres_obligatoires" name="property_parametres_obligatoires" class="anchor"></a>
475
            <article class="property">
476
                <h3 class="private ">$parametres_obligatoires</h3>
477
                <pre class="signature">$parametres_obligatoires</pre>
478
                <p><em>Tableau des noms des paramètres à définir dans le fichier de config car obligatoirement nécessaire à cette classe.</em></p>
479
 
480
 
481
                            </article>
482
        </div>
483
        <aside class="span4 detailsbar">
484
            <h1><i class="icon-arrow-down"></i></h1>
485
                        <dl>
486
                                                            </dl>
487
            <h2>Tags</h2>
488
            <table class="table table-condensed">
489
                                    <tr>
490
                        <th>
491
                            todo
492
                        </th>
493
                        <td>
494
                                                    </td>
495
                    </tr>
496
                            </table>
497
        </aside>
498
    </div>
499
 
500
 
501
                                    <a id="methods" name="methods"></a>
502
            <div class="row-fluid">
503
                <div class="span8 content class"><h2>Methods</h2></div>
504
                <aside class="span4 detailsbar"></aside>
505
            </div>
506
 
507
                                    <div class="row-fluid">
508
        <div class="span8 content class">
509
            <a id="method_get" name="method_get" class="anchor"></a>
510
            <article class="method">
511
                <h3 class="public ">get()</h3>
512
                <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>
513
                <pre class="signature" style="margin-right: 54px;">get( <span class="argument">$identifiant</span>,  <span class="argument">$langue</span>) : string</pre>
514
                <p><em>Accesseur pour la valeur d&#039;une traduction</em></p>
515
 
516
 
517
                                    <h4>Parameters</h4>
518
                    <table class="table table-condensed table-hover">
519
                                                    <tr>
520
                                <td></td>
521
                                <td>$identifiant</td>
522
                                <td></td>
523
                            </tr>
524
                                                    <tr>
525
                                <td></td>
526
                                <td>$langue</td>
527
                                <td></td>
528
                            </tr>
529
                                            </table>
530
 
531
 
532
                                    <h4>Returns</h4>
533
                    string
534
                                            &mdash; <p>la valeur du paramètre</p>
535
                                                </article>
536
        </div>
537
        <aside class="span4 detailsbar">
538
            <h1><i class="icon-arrow-down"></i></h1>
539
                            <span class="label label-info">static</span>
540
                                                            <dl>
541
                                                                            </dl>
542
            <h2>Tags</h2>
543
            <table class="table table-condensed">
544
                                    <tr>
545
                        <th>
546
                            todo
547
                        </th>
548
                        <td>
549
                                                    </td>
550
                    </tr>
551
                            </table>
552
        </aside>
553
    </div>
554
 
555
                                    <div class="row-fluid">
556
        <div class="span8 content class">
557
            <a id="method_charger" name="method_charger" class="anchor"></a>
558
            <article class="method">
559
                <h3 class="public ">charger()</h3>
560
                <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>
561
                <pre class="signature" style="margin-right: 54px;">charger( <span class="argument">$langue</span>,  <span class="argument">$fichier</span>,  <span class="argument">$format</span>) : boolean</pre>
562
                <p><em>Charge un fichier ini dans le tableau des paramètres de l&#039;appli</em></p>
563
 
564
 
565
                                    <h4>Parameters</h4>
566
                    <table class="table table-condensed table-hover">
567
                                                    <tr>
568
                                <td></td>
569
                                <td>$langue</td>
570
                                <td></td>
571
                            </tr>
572
                                                    <tr>
573
                                <td></td>
574
                                <td>$fichier</td>
575
                                <td></td>
576
                            </tr>
577
                                                    <tr>
578
                                <td></td>
579
                                <td>$format</td>
580
                                <td></td>
581
                            </tr>
582
                                            </table>
583
 
584
 
585
                                    <h4>Returns</h4>
586
                    boolean
587
                                            &mdash; <p>true, si le fichier a été trouvé et correctement chargé, sinon false.</p>
588
                                                </article>
589
        </div>
590
        <aside class="span4 detailsbar">
591
            <h1><i class="icon-arrow-down"></i></h1>
592
                            <span class="label label-info">static</span>
593
                                                            <dl>
594
                                                                            </dl>
595
            <h2>Tags</h2>
596
            <table class="table table-condensed">
597
                                    <tr>
598
                        <th>
599
                            todo
600
                        </th>
601
                        <td>
602
                                                    </td>
603
                    </tr>
604
                            </table>
605
        </aside>
606
    </div>
607
 
608
                                    <div class="row-fluid">
609
        <div class="span8 content class">
610
            <a id="method_setLangue" name="method_setLangue" class="anchor"></a>
611
            <article class="method">
612
                <h3 class="public ">setLangue()</h3>
613
                <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>
614
                <pre class="signature" style="margin-right: 54px;">setLangue( <span class="argument">$langue</span>) : array</pre>
615
                <p><em>Définit la langue utiliser pour rechercher une traduction.</em></p>
616
 
617
 
618
                                    <h4>Parameters</h4>
619
                    <table class="table table-condensed table-hover">
620
                                                    <tr>
621
                                <td></td>
622
                                <td>$langue</td>
623
                                <td></td>
624
                            </tr>
625
                                            </table>
626
 
627
 
628
                                    <h4>Returns</h4>
629
                    array
630
                                            &mdash; <p>le fichier ini parsé</p>
631
                                                </article>
632
        </div>
633
        <aside class="span4 detailsbar">
634
            <h1><i class="icon-arrow-down"></i></h1>
635
                            <span class="label label-info">static</span>
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___construct" name="method___construct" class="anchor"></a>
654
            <article class="method">
655
                <h3 class="private ">__construct()</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;">__construct()</pre>
658
                <p><em></em></p>
659
 
660
 
661
 
662
 
663
                            </article>
664
        </div>
665
        <aside class="span4 detailsbar">
666
            <h1><i class="icon-arrow-down"></i></h1>
667
                                                            <dl>
668
                                                                            </dl>
669
            <h2>Tags</h2>
670
            <table class="table table-condensed">
671
                                    <tr>
672
                        <th>
673
                            todo
674
                        </th>
675
                        <td>
676
                                                    </td>
677
                    </tr>
678
                            </table>
679
        </aside>
680
    </div>
681
 
682
                                    <div class="row-fluid">
683
        <div class="span8 content class">
684
            <a id="method_getValeur" name="method_getValeur" class="anchor"></a>
685
            <article class="method">
686
                <h3 class="private ">getValeur()</h3>
687
                <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>
688
                <pre class="signature" style="margin-right: 54px;">getValeur(string <span class="argument">$param</span>, array <span class="argument">$i18n</span>) : mixed</pre>
689
                <p><em>Renvoie la valeur demandé grâce une chaine de paramètres</em></p>
690
 
691
 
692
                                    <h4>Parameters</h4>
693
                    <table class="table table-condensed table-hover">
694
                                                    <tr>
695
                                <td>string</td>
696
                                <td>$param</td>
697
                                <td><p>la chaine identifiante</p></td>
698
                            </tr>
699
                                                    <tr>
700
                                <td>array</td>
701
                                <td>$i18n</td>
702
                                <td><p>le tableau de traductions</p></td>
703
                            </tr>
704
                                            </table>
705
 
706
 
707
                                    <h4>Returns</h4>
708
                    mixed
709
                                            &mdash; <p>la valeur correspondante à la chaine identifiante si elle est trouvée, sinon false.</p>
710
                                                </article>
711
        </div>
712
        <aside class="span4 detailsbar">
713
            <h1><i class="icon-arrow-down"></i></h1>
714
                            <span class="label label-info">static</span>
715
                                                            <dl>
716
                                                                            </dl>
717
            <h2>Tags</h2>
718
            <table class="table table-condensed">
719
                                    <tr>
720
                        <th>
721
                            todo
722
                        </th>
723
                        <td>
724
                                                    </td>
725
                    </tr>
726
                            </table>
727
        </aside>
728
    </div>
729
 
730
                                    <div class="row-fluid">
731
        <div class="span8 content class">
732
            <a id="method_chargerFichierIni" name="method_chargerFichierIni" class="anchor"></a>
733
            <article class="method">
734
                <h3 class="private ">chargerFichierIni()</h3>
735
                <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>
736
                <pre class="signature" style="margin-right: 54px;">chargerFichierIni(string <span class="argument">$fichier_ini</span>, string <span class="argument">$langue</span>) : boolean</pre>
737
                <p><em>Parse le fichier ini donné en paramètre</em></p>
738
 
739
 
740
                                    <h4>Parameters</h4>
741
                    <table class="table table-condensed table-hover">
742
                                                    <tr>
743
                                <td>string</td>
744
                                <td>$fichier_ini</td>
745
                                <td><p>nom du fichier ini à parser</p></td>
746
                            </tr>
747
                                                    <tr>
748
                                <td>string</td>
749
                                <td>$langue</td>
750
                                <td><p>la langue correspondant au fichier</p></td>
751
                            </tr>
752
                                            </table>
753
 
754
 
755
                                    <h4>Returns</h4>
756
                    boolean
757
                                            &mdash; <p>true si le chargement c'est bien passé, sinon false.</p>
758
                                                </article>
759
        </div>
760
        <aside class="span4 detailsbar">
761
            <h1><i class="icon-arrow-down"></i></h1>
762
                            <span class="label label-info">static</span>
763
                                                            <dl>
764
                                                                            </dl>
765
            <h2>Tags</h2>
766
            <table class="table table-condensed">
767
                                    <tr>
768
                        <th>
769
                            todo
770
                        </th>
771
                        <td>
772
                                                    </td>
773
                    </tr>
774
                            </table>
775
        </aside>
776
    </div>
777
 
778
                                    <div class="row-fluid">
779
        <div class="span8 content class">
780
            <a id="method_analyserTableauIni" name="method_analyserTableauIni" class="anchor"></a>
781
            <article class="method">
782
                <h3 class="private ">analyserTableauIni()</h3>
783
                <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>
784
                <pre class="signature" style="margin-right: 54px;">analyserTableauIni(array <span class="argument">$i18n</span>) : array</pre>
785
                <p><em>Analyse un tableau de traductions pour évaluer les clés.</em></p>
786
 
787
 
788
                                    <h4>Parameters</h4>
789
                    <table class="table table-condensed table-hover">
790
                                                    <tr>
791
                                <td>array</td>
792
                                <td>$i18n</td>
793
                                <td><p>le tableau de traductions</p></td>
794
                            </tr>
795
                                            </table>
796
 
797
 
798
                                    <h4>Returns</h4>
799
                    array
800
                                            &mdash; <p>le tableau analysé et modifié si nécessaire.</p>
801
                                                </article>
802
        </div>
803
        <aside class="span4 detailsbar">
804
            <h1><i class="icon-arrow-down"></i></h1>
805
                            <span class="label label-info">static</span>
806
                                                            <dl>
807
                                                                            </dl>
808
            <h2>Tags</h2>
809
            <table class="table table-condensed">
810
                                    <tr>
811
                        <th>
812
                            todo
813
                        </th>
814
                        <td>
815
                                                    </td>
816
                    </tr>
817
                            </table>
818
        </aside>
819
    </div>
820
 
821
                                    <div class="row-fluid">
822
        <div class="span8 content class">
823
            <a id="method_evaluerCle" name="method_evaluerCle" class="anchor"></a>
824
            <article class="method">
825
                <h3 class="private ">evaluerCle()</h3>
826
                <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>
827
                <pre class="signature" style="margin-right: 54px;">evaluerCle(array <span class="argument">$i18n</span>, string <span class="argument">$cle</span>, string <span class="argument">$valeur</span>)</pre>
828
                <p><em>Dans le cas des chaines de traduction à sous clé (ex.: cle.souscle), cette méthode
829
évalue les valeurs correspondantes et créée les sous tableaux associés.</em></p>
830
 
831
 
832
                                    <h4>Parameters</h4>
833
                    <table class="table table-condensed table-hover">
834
                                                    <tr>
835
                                <td>array</td>
836
                                <td>$i18n</td>
837
                                <td><p>tableau de traductions (par référence)</p></td>
838
                            </tr>
839
                                                    <tr>
840
                                <td>string</td>
841
                                <td>$cle</td>
842
                                <td><p>la cle dans le tableau</p></td>
843
                            </tr>
844
                                                    <tr>
845
                                <td>string</td>
846
                                <td>$valeur</td>
847
                                <td><p>la valeur à affecter</p></td>
848
                            </tr>
849
                                            </table>
850
 
851
 
852
                            </article>
853
        </div>
854
        <aside class="span4 detailsbar">
855
            <h1><i class="icon-arrow-down"></i></h1>
856
                            <span class="label label-info">static</span>
857
                                                            <dl>
858
                                                                            </dl>
859
            <h2>Tags</h2>
860
            <table class="table table-condensed">
861
                                    <tr>
862
                        <th>
863
                            todo
864
                        </th>
865
                        <td>
866
                                                    </td>
867
                    </tr>
868
                            </table>
869
        </aside>
870
    </div>
871
 
872
                                    <div class="row-fluid">
873
        <div class="span8 content class">
874
            <a id="method_trouverLangue" name="method_trouverLangue" class="anchor"></a>
875
            <article class="method">
876
                <h3 class="private ">trouverLangue()</h3>
877
                <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>
878
                <pre class="signature" style="margin-right: 54px;">trouverLangue()</pre>
879
                <p><em>Cherche l&#039;information sur la langue demandée par l&#039;application</em></p>
880
 
881
 
882
 
883
 
884
                            </article>
885
        </div>
886
        <aside class="span4 detailsbar">
887
            <h1><i class="icon-arrow-down"></i></h1>
888
                            <span class="label label-info">static</span>
889
                                                            <dl>
890
                                                                            </dl>
891
            <h2>Tags</h2>
892
            <table class="table table-condensed">
893
                                    <tr>
894
                        <th>
895
                            todo
896
                        </th>
897
                        <td>
898
                                                    </td>
899
                    </tr>
900
                            </table>
901
        </aside>
902
    </div>
903
 
904
                                    <div class="row-fluid">
905
        <div class="span8 content class">
906
            <a id="method_verifierCreationInstance" name="method_verifierCreationInstance" class="anchor"></a>
907
            <article class="method">
908
                <h3 class="private ">verifierCreationInstance()</h3>
909
                <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>
910
                <pre class="signature" style="margin-right: 54px;">verifierCreationInstance()</pre>
911
                <p><em>Vérifie si l&#039;instance de classe à été crée, si non la crée</em></p>
912
 
913
 
914
 
915
 
916
                            </article>
917
        </div>
918
        <aside class="span4 detailsbar">
919
            <h1><i class="icon-arrow-down"></i></h1>
920
                            <span class="label label-info">static</span>
921
                                                            <dl>
922
                                                                            </dl>
923
            <h2>Tags</h2>
924
            <table class="table table-condensed">
925
                                    <tr>
926
                        <th>
927
                            todo
928
                        </th>
929
                        <td>
930
                                                    </td>
931
                    </tr>
932
                            </table>
933
        </aside>
934
    </div>
935
 
936
                                    <div class="row-fluid">
937
        <div class="span8 content class">
938
            <a id="method_ajouterErreur" name="method_ajouterErreur" class="anchor"></a>
939
            <article class="method">
940
                <h3 class="private ">ajouterErreur()</h3>
941
                <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>
942
                <pre class="signature" style="margin-right: 54px;">ajouterErreur( <span class="argument">$m</span>,  <span class="argument">$e</span>)</pre>
943
                <p><em>Ajouter une message d&#039;erreur</em></p>
944
 
945
 
946
                                    <h4>Parameters</h4>
947
                    <table class="table table-condensed table-hover">
948
                                                    <tr>
949
                                <td></td>
950
                                <td>$m</td>
951
                                <td></td>
952
                            </tr>
953
                                                    <tr>
954
                                <td></td>
955
                                <td>$e</td>
956
                                <td></td>
957
                            </tr>
958
                                            </table>
959
 
960
 
961
                            </article>
962
        </div>
963
        <aside class="span4 detailsbar">
964
            <h1><i class="icon-arrow-down"></i></h1>
965
                            <span class="label label-info">static</span>
966
                                                            <dl>
967
                                                                            </dl>
968
            <h2>Tags</h2>
969
            <table class="table table-condensed">
970
                                    <tr>
971
                        <th>
972
                            todo
973
                        </th>
974
                        <td>
975
                                                    </td>
976
                    </tr>
977
                            </table>
978
        </aside>
979
    </div>
980
 
981
                                    </div>
982
    </section>
983
 
984
    <div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
985
        <div class="modal-header">
986
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
987
            <h3 id="source-view-label">I18n.php</h3>
988
        </div>
989
        <div class="modal-body">
990
            <pre data-src="../files/I18n.php.txt" class="language-php line-numbers"></pre>
991
        </div>
992
    </div>
993
 
994
    <footer class="row-fluid">
995
        <section class="span10 offset2">
996
            <section class="row-fluid">
997
                <section class="span10 offset1">
998
                    <section class="row-fluid footer-sections">
999
                        <section class="span4">
1000
                                                        <h1><i class="icon-code"></i></h1>
1001
                            <div>
1002
                                <ul>
1003
                                                                    </ul>
1004
                            </div>
1005
                        </section>
1006
                        <section class="span4">
1007
                                                        <h1><i class="icon-bar-chart"></i></h1>
1008
                            <div>
1009
                                <ul>
1010
                                    <li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
1011
                                </ul>
1012
                            </div>
1013
                        </section>
1014
                        <section class="span4">
1015
                                                        <h1><i class="icon-pushpin"></i></h1>
1016
                            <div>
1017
                                <ul>
1018
                                    <li><a href="../reports/errors.html">Errors</a></li>
1019
                                    <li><a href="../reports/markers.html">Markers</a></li>
1020
                                </ul>
1021
                            </div>
1022
                        </section>
1023
                    </section>
1024
                </section>
1025
            </section>
1026
            <section class="row-fluid">
1027
                <section class="span10 offset1">
1028
                    <hr />
1029
                    Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
1030
                    on March 12th, 2014 at 15:57.
1031
                </section>
1032
            </section>
1033
        </section>
1034
    </footer>
1035
</div>
1036
 
1037
</body>
1038
</html>