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-367728364"></a>
142
                                <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
143
            </div>
144
            <div id="namespace-367728364" 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>Framework</h1>
193
                    <p><em>Classe de base du Framework :
194
 - fournissant des infos sur l&#039;application,
195
 - paramétrant l&#039;environnement de l&#039;appli et du framework,
196
 - réalisant des traitements sur les variables globales ($_GET, $_POST, $_COOKIE.</em></p>
197
                    <p>..)</p>
198
<p>Cette classe contient la fonction de chargement automatique de classes.
199
Ce fichier doit toujours rester à la racine du framework car il initialise le chemin
200
de l'application en se basant sur son propre emplacement.</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/Framework.html#method_setCheminAppli" class="">setCheminAppli()</a><br />
218
                                                                    <a href="../classes/Framework.html#method_getCheminAppli" class="">getCheminAppli()</a><br />
219
                                                                    <a href="../classes/Framework.html#method_setInfoAppli" class="">setInfoAppli()</a><br />
220
                                                                    <a href="../classes/Framework.html#method_getInfoAppli" class="">getInfoAppli()</a><br />
221
                                                            </section>
222
                            <section class="span4">
223
                                                                    <em>No public properties found</em>
224
                                                            </section>
225
                            <section class="span4">
226
                                                                    <em>No constants found</em>
227
                                                            </section>
228
                        </section>
229
                        <section class="row-fluid protected">
230
                            <section class="span4">
231
                                                                    <a href="../classes/Framework.html#method_verifierEtReencoderTableauRequete" class="">verifierEtReencoderTableauRequete()</a><br />
232
                                                                    <a href="../classes/Framework.html#method_encoderTableau" class="">encoderTableau()</a><br />
233
                                                            </section>
234
                            <section class="span4">
235
                                                                    <em>No protected properties found</em>
236
                                                            </section>
237
                            <section class="span4">
238
                                <em>N/A</em>
239
                            </section>
240
                        </section>
241
                        <section class="row-fluid private">
242
                            <section class="span4">
243
                                                                    <a href="../classes/Framework.html#method_initialiserEnvironnement" class="">initialiserEnvironnement()</a><br />
244
                                                                    <a href="../classes/Framework.html#method_initialiserFramework" class="">initialiserFramework()</a><br />
245
                                                                    <a href="../classes/Framework.html#method_definirConstantesGlobales" class="">definirConstantesGlobales()</a><br />
246
                                                                    <a href="../classes/Framework.html#method_definirCheminAppli" class="">definirCheminAppli()</a><br />
247
                                                                    <a href="../classes/Framework.html#method_enregistrerMethodesAutoload" class="">enregistrerMethodesAutoload()</a><br />
248
                                                                    <a href="../classes/Framework.html#method_autoloadFw" class="">autoloadFw()</a><br />
249
                                                                    <a href="../classes/Framework.html#method_autoloadAppliDefaut" class="">autoloadAppliDefaut()</a><br />
250
                                                                    <a href="../classes/Framework.html#method_initialiserUrl" class="">initialiserUrl()</a><br />
251
                                                                    <a href="../classes/Framework.html#method_verifierEtTraiterSlashTableauRequete" class="">verifierEtTraiterSlashTableauRequete()</a><br />
252
                                                            </section>
253
                            <section class="span4">
254
                                                                    <a href="../classes/Framework.html#property_encodage" class="">$encodage</a><br />
255
                                                                    <a href="../classes/Framework.html#property_info" class="">$info</a><br />
256
                                                                    <a href="../classes/Framework.html#property_chemin" class="">$chemin</a><br />
257
                                                                    <a href="../classes/Framework.html#property_parametres_obligatoires" class="">$parametres_obligatoires</a><br />
258
                                                            </section>
259
                            <section class="span4">
260
                                <em>N/A</em>
261
                            </section>
262
                        </section>
263
                    </section>
264
                </div>
265
                <aside class="span4 detailsbar">
266
 
267
 
268
                    <dl>
269
                        <dt>File</dt>
270
                            <dd><a href="../files/Framework.php.html"><div class="path-wrapper">Framework.php</div></a></dd>
271
                                                <dt>Package</dt>
272
                            <dd><div class="namespace-wrapper">\Framework</div></dd>
273
                                                <dt>Class hierarchy</dt>
274
                            <dd class="hierarchy">
275
                                                                                                                                                                    <div class="namespace-wrapper">\Framework</div>
276
                            </dd>
277
 
278
 
279
 
280
 
281
                                                                            <dt>See also</dt>
282
                                                                                    <dd><a href="/doc/framework/"><div class="namespace-wrapper">/doc/framework/</div></a></dd>
283
 
284
                                                                        </dl>
285
                    <h2>Tags</h2>
286
                    <table class="table table-condensed">
287
                                            <tr>
288
                            <th>
289
                                category
290
                            </th>
291
                            <td>
292
                                                                    <p>PHP 5.2</p>
293
                                                            </td>
294
                        </tr>
295
                                            <tr>
296
                            <th>
297
                                author
298
                            </th>
299
                            <td>
300
                                                                    <p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p>
301
                                                            </td>
302
                        </tr>
303
                                            <tr>
304
                            <th>
305
                                copyright
306
                            </th>
307
                            <td>
308
                                                                    <p>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</p>
309
                                                            </td>
310
                        </tr>
311
                                            <tr>
312
                            <th>
313
                                license
314
                            </th>
315
                            <td>
316
                                                                    <p><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL-v3</p>
317
                                                                    <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>
318
                                                            </td>
319
                        </tr>
320
                                            <tr>
321
                            <th>
322
                                version
323
                            </th>
324
                            <td>
325
                                                                    <p>$Id: Framework.php 393 2011-11-10 13:36:48Z jpm $</p>
326
                                                            </td>
327
                        </tr>
328
                                            <tr>
329
                            <th>
330
                                since
331
                            </th>
332
                            <td>
333
 
334
                                                            </td>
335
                        </tr>
336
                                            <tr>
337
                            <th>
338
                                todo
339
                            </th>
340
                            <td>
341
                                                            </td>
342
                        </tr>
343
                                        </table>
344
                </aside>
345
            </div>
346
 
347
 
348
                                    <a id="properties" name="properties"></a>
349
            <div class="row-fluid">
350
                <div class="span8 content class">
351
                    <h2>Properties</h2>
352
                </div>
353
                <aside class="span4 detailsbar"></aside>
354
            </div>
355
 
356
                                                                    <div class="row-fluid">
357
        <div class="span8 content class">
358
            <a id="property_encodage" name="property_encodage" class="anchor"></a>
359
            <article class="property">
360
                <h3 class="private ">$encodage</h3>
361
                <pre class="signature">$encodage</pre>
362
                <p><em>Variable statique indiquant que les tableaux _GET et _POST ont déjà été encodé au format de l&#039;appli.</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
                                    <div class="row-fluid">
385
        <div class="span8 content class">
386
            <a id="property_info" name="property_info" class="anchor"></a>
387
            <article class="property">
388
                <h3 class="private ">$info</h3>
389
                <pre class="signature">$info</pre>
390
                <p><em>Tableau d&#039;informations sur l&#039;application</em></p>
391
 
392
 
393
                            </article>
394
        </div>
395
        <aside class="span4 detailsbar">
396
            <h1><i class="icon-arrow-down"></i></h1>
397
                        <dl>
398
                                                            </dl>
399
            <h2>Tags</h2>
400
            <table class="table table-condensed">
401
                                    <tr>
402
                        <th>
403
                            todo
404
                        </th>
405
                        <td>
406
                                                    </td>
407
                    </tr>
408
                            </table>
409
        </aside>
410
    </div>
411
 
412
                                    <div class="row-fluid">
413
        <div class="span8 content class">
414
            <a id="property_chemin" name="property_chemin" class="anchor"></a>
415
            <article class="property">
416
                <h3 class="private ">$chemin</h3>
417
                <pre class="signature">$chemin</pre>
418
                <p><em>Chemin de base de l&#039;application</em></p>
419
 
420
 
421
                            </article>
422
        </div>
423
        <aside class="span4 detailsbar">
424
            <h1><i class="icon-arrow-down"></i></h1>
425
                        <dl>
426
                                                            </dl>
427
            <h2>Tags</h2>
428
            <table class="table table-condensed">
429
                                    <tr>
430
                        <th>
431
                            todo
432
                        </th>
433
                        <td>
434
                                                    </td>
435
                    </tr>
436
                            </table>
437
        </aside>
438
    </div>
439
 
440
                                    <div class="row-fluid">
441
        <div class="span8 content class">
442
            <a id="property_parametres_obligatoires" name="property_parametres_obligatoires" class="anchor"></a>
443
            <article class="property">
444
                <h3 class="private ">$parametres_obligatoires</h3>
445
                <pre class="signature">$parametres_obligatoires</pre>
446
                <p><em>Tableau des noms des paramètres à définir dans le fichier de config car obligatoirement nécessaire à cette classe.</em></p>
447
 
448
 
449
                            </article>
450
        </div>
451
        <aside class="span4 detailsbar">
452
            <h1><i class="icon-arrow-down"></i></h1>
453
                        <dl>
454
                                                            </dl>
455
            <h2>Tags</h2>
456
            <table class="table table-condensed">
457
                                    <tr>
458
                        <th>
459
                            todo
460
                        </th>
461
                        <td>
462
                                                    </td>
463
                    </tr>
464
                            </table>
465
        </aside>
466
    </div>
467
 
468
 
469
                                    <a id="methods" name="methods"></a>
470
            <div class="row-fluid">
471
                <div class="span8 content class"><h2>Methods</h2></div>
472
                <aside class="span4 detailsbar"></aside>
473
            </div>
474
 
475
                                    <div class="row-fluid">
476
        <div class="span8 content class">
477
            <a id="method_setCheminAppli" name="method_setCheminAppli" class="anchor"></a>
478
            <article class="method">
479
                <h3 class="public ">setCheminAppli()</h3>
480
                <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>
481
                <pre class="signature" style="margin-right: 54px;">setCheminAppli(string <span class="argument">$chemin_fichier_principal</span>)</pre>
482
                <p><em>Permet d&#039;indiquer le chemin de base de l&#039;Application.</em></p>
483
                <p>Cette méthode doit obligatoirement être utilisée par l'application pour que le Framework fonctionne correctement.</p>
484
 
485
                                    <h4>Parameters</h4>
486
                    <table class="table table-condensed table-hover">
487
                                                    <tr>
488
                                <td>string</td>
489
                                <td>$chemin_fichier_principal</td>
490
                                <td><p>chemin de base</p></td>
491
                            </tr>
492
                                            </table>
493
 
494
 
495
                            </article>
496
        </div>
497
        <aside class="span4 detailsbar">
498
            <h1><i class="icon-arrow-down"></i></h1>
499
                            <span class="label label-info">static</span>
500
                                                            <dl>
501
                                                                            </dl>
502
            <h2>Tags</h2>
503
            <table class="table table-condensed">
504
                                    <tr>
505
                        <th>
506
                            todo
507
                        </th>
508
                        <td>
509
                                                    </td>
510
                    </tr>
511
                            </table>
512
        </aside>
513
    </div>
514
 
515
                                    <div class="row-fluid">
516
        <div class="span8 content class">
517
            <a id="method_getCheminAppli" name="method_getCheminAppli" class="anchor"></a>
518
            <article class="method">
519
                <h3 class="public ">getCheminAppli()</h3>
520
                <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>
521
                <pre class="signature" style="margin-right: 54px;">getCheminAppli() : string</pre>
522
                <p><em>accesseur pour le chemin</em></p>
523
 
524
 
525
 
526
 
527
                                    <h4>Returns</h4>
528
                    string
529
                                            &mdash; <p>le chemin</p>
530
                                                </article>
531
        </div>
532
        <aside class="span4 detailsbar">
533
            <h1><i class="icon-arrow-down"></i></h1>
534
                            <span class="label label-info">static</span>
535
                                                            <dl>
536
                                                                            </dl>
537
            <h2>Tags</h2>
538
            <table class="table table-condensed">
539
                                    <tr>
540
                        <th>
541
                            todo
542
                        </th>
543
                        <td>
544
                                                    </td>
545
                    </tr>
546
                            </table>
547
        </aside>
548
    </div>
549
 
550
                                    <div class="row-fluid">
551
        <div class="span8 content class">
552
            <a id="method_setInfoAppli" name="method_setInfoAppli" class="anchor"></a>
553
            <article class="method">
554
                <h3 class="public ">setInfoAppli()</h3>
555
                <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>
556
                <pre class="signature" style="margin-right: 54px;">setInfoAppli(array <span class="argument">$info</span>) : void</pre>
557
                <p><em>Le tableau des informations sur l&#039;application possède les clés suivantes :
558
- nom : nom de l&#039;application
559
- abr : abréviation de l&#039;application
560
- encodage : encodage de l&#039;application (ISO-8859-15, UTF-8.</em></p>
561
                <p>..)</p>
562
 
563
                                    <h4>Parameters</h4>
564
                    <table class="table table-condensed table-hover">
565
                                                    <tr>
566
                                <td>array</td>
567
                                <td>$info</td>
568
                                <td><p>tableau fournissant des informations sur l'application</p></td>
569
                            </tr>
570
                                            </table>
571
 
572
 
573
                            </article>
574
        </div>
575
        <aside class="span4 detailsbar">
576
            <h1><i class="icon-arrow-down"></i></h1>
577
                            <span class="label label-info">static</span>
578
                                                            <dl>
579
                                                                            </dl>
580
            <h2>Tags</h2>
581
            <table class="table table-condensed">
582
                                    <tr>
583
                        <th>
584
                            todo
585
                        </th>
586
                        <td>
587
                                                    </td>
588
                    </tr>
589
                            </table>
590
        </aside>
591
    </div>
592
 
593
                                    <div class="row-fluid">
594
        <div class="span8 content class">
595
            <a id="method_getInfoAppli" name="method_getInfoAppli" class="anchor"></a>
596
            <article class="method">
597
                <h3 class="public ">getInfoAppli()</h3>
598
                <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>
599
                <pre class="signature" style="margin-right: 54px;">getInfoAppli(string <span class="argument">$cle</span>)</pre>
600
                <p><em>Accesseur pour le tableau d&#039;infos sur l&#039;application.</em></p>
601
 
602
 
603
                                    <h4>Parameters</h4>
604
                    <table class="table table-condensed table-hover">
605
                                                    <tr>
606
                                <td>string</td>
607
                                <td>$cle</td>
608
                                <td><p>la clé à laquelle on veut accéder</p></td>
609
                            </tr>
610
                                            </table>
611
 
612
 
613
                            </article>
614
        </div>
615
        <aside class="span4 detailsbar">
616
            <h1><i class="icon-arrow-down"></i></h1>
617
                            <span class="label label-info">static</span>
618
                                                            <dl>
619
                                                                            </dl>
620
            <h2>Tags</h2>
621
            <table class="table table-condensed">
622
                                    <tr>
623
                        <th>
624
                            todo
625
                        </th>
626
                        <td>
627
                                                    </td>
628
                    </tr>
629
                            </table>
630
        </aside>
631
    </div>
632
 
633
                                                    <div class="row-fluid">
634
        <div class="span8 content class">
635
            <a id="method_verifierEtReencoderTableauRequete" name="method_verifierEtReencoderTableauRequete" class="anchor"></a>
636
            <article class="method">
637
                <h3 class="protected ">verifierEtReencoderTableauRequete()</h3>
638
                <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>
639
                <pre class="signature" style="margin-right: 54px;">verifierEtReencoderTableauRequete()</pre>
640
                <p><em>Procédure vérifiant l&#039;encodage des tableaux $_GET et $_POST et les transcodant dans l&#039;encodage de l&#039;application</em></p>
641
 
642
 
643
 
644
 
645
                            </article>
646
        </div>
647
        <aside class="span4 detailsbar">
648
            <h1><i class="icon-arrow-down"></i></h1>
649
                            <span class="label label-info">static</span>
650
                                                            <dl>
651
                                                                            </dl>
652
            <h2>Tags</h2>
653
            <table class="table table-condensed">
654
                                    <tr>
655
                        <th>
656
                            todo
657
                        </th>
658
                        <td>
659
                                                    </td>
660
                    </tr>
661
                            </table>
662
        </aside>
663
    </div>
664
 
665
                                    <div class="row-fluid">
666
        <div class="span8 content class">
667
            <a id="method_encoderTableau" name="method_encoderTableau" class="anchor"></a>
668
            <article class="method">
669
                <h3 class="protected ">encoderTableau()</h3>
670
                <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>
671
                <pre class="signature" style="margin-right: 54px;">encoderTableau(mixed <span class="argument">$tableau</span>, mixed <span class="argument">$encodage_sortie</span>, mixed <span class="argument">$encodage_entree</span>) : Array</pre>
672
                <p><em>Fonction récursive transcodant toutes les valeurs d&#039;un tableau de leur encodage d&#039;entrée vers un encodage de sortie donné</em></p>
673
 
674
 
675
                                    <h4>Parameters</h4>
676
                    <table class="table table-condensed table-hover">
677
                                                    <tr>
678
                                <td>mixed</td>
679
                                <td>$tableau</td>
680
                                <td><p>Array Un tableau de données à encoder</p></td>
681
                            </tr>
682
                                                    <tr>
683
                                <td>mixed</td>
684
                                <td>$encodage_sortie</td>
685
                                <td><p>String l'encodage vers lequel on doit transcoder</p></td>
686
                            </tr>
687
                                                    <tr>
688
                                <td>mixed</td>
689
                                <td>$encodage_entree</td>
690
                                <td><p>String l'encodage original des chaines du tableau (optionnel)</p></td>
691
                            </tr>
692
                                            </table>
693
 
694
 
695
                                    <h4>Returns</h4>
696
                    Array
697
                                            &mdash; <p>Le tableau encodé dans l'encodage de sortie</p>
698
                                                </article>
699
        </div>
700
        <aside class="span4 detailsbar">
701
            <h1><i class="icon-arrow-down"></i></h1>
702
                            <span class="label label-info">static</span>
703
                                                    <span class="label label-info">final</span>
704
                                    <dl>
705
                                                                            </dl>
706
            <h2>Tags</h2>
707
            <table class="table table-condensed">
708
                                    <tr>
709
                        <th>
710
                            todo
711
                        </th>
712
                        <td>
713
                                                    </td>
714
                    </tr>
715
                            </table>
716
        </aside>
717
    </div>
718
 
719
                                                    <div class="row-fluid">
720
        <div class="span8 content class">
721
            <a id="method_initialiserEnvironnement" name="method_initialiserEnvironnement" class="anchor"></a>
722
            <article class="method">
723
                <h3 class="private ">initialiserEnvironnement()</h3>
724
                <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>
725
                <pre class="signature" style="margin-right: 54px;">initialiserEnvironnement()</pre>
726
                <p><em>Initialise l&#039;environnement nécessaire au Framework : constantes globales, méthodeles autoload, séparateur d&#039;arguments
727
d&#039;url.</em></p>
728
                <p>Cette méthode est appelée automatiquement suite à la définition du chemin de l'application via Application::setChemin().</p>
729
 
730
 
731
 
732
                            </article>
733
        </div>
734
        <aside class="span4 detailsbar">
735
            <h1><i class="icon-arrow-down"></i></h1>
736
                            <span class="label label-info">static</span>
737
                                                            <dl>
738
                                                                            </dl>
739
            <h2>Tags</h2>
740
            <table class="table table-condensed">
741
                                    <tr>
742
                        <th>
743
                            todo
744
                        </th>
745
                        <td>
746
                                                    </td>
747
                    </tr>
748
                            </table>
749
        </aside>
750
    </div>
751
 
752
                                    <div class="row-fluid">
753
        <div class="span8 content class">
754
            <a id="method_initialiserFramework" name="method_initialiserFramework" class="anchor"></a>
755
            <article class="method">
756
                <h3 class="private ">initialiserFramework()</h3>
757
                <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>
758
                <pre class="signature" style="margin-right: 54px;">initialiserFramework()</pre>
759
                <p><em>Initialise différentes classes du Framework nécessaires pour le fonctionnement de l&#039;application.</em></p>
760
                <p>Ces classes sont ensuites controlées via les fichiers de config.ini.
761
Elle est appelée automatiquement suite à la définition du chemin de l'application via Application::setChemin().</p>
762
 
763
 
764
 
765
                            </article>
766
        </div>
767
        <aside class="span4 detailsbar">
768
            <h1><i class="icon-arrow-down"></i></h1>
769
                            <span class="label label-info">static</span>
770
                                                            <dl>
771
                                                                            </dl>
772
            <h2>Tags</h2>
773
            <table class="table table-condensed">
774
                                    <tr>
775
                        <th>
776
                            todo
777
                        </th>
778
                        <td>
779
                                                    </td>
780
                    </tr>
781
                            </table>
782
        </aside>
783
    </div>
784
 
785
                                    <div class="row-fluid">
786
        <div class="span8 content class">
787
            <a id="method_definirConstantesGlobales" name="method_definirConstantesGlobales" class="anchor"></a>
788
            <article class="method">
789
                <h3 class="private ">definirConstantesGlobales()</h3>
790
                <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>
791
                <pre class="signature" style="margin-right: 54px;">definirConstantesGlobales()</pre>
792
                <p><em>Redéfinit des constantes globales utiles pour le Framework et les applis.</em></p>
793
 
794
 
795
 
796
 
797
                            </article>
798
        </div>
799
        <aside class="span4 detailsbar">
800
            <h1><i class="icon-arrow-down"></i></h1>
801
                            <span class="label label-info">static</span>
802
                                                            <dl>
803
                                                                            </dl>
804
            <h2>Tags</h2>
805
            <table class="table table-condensed">
806
                                    <tr>
807
                        <th>
808
                            todo
809
                        </th>
810
                        <td>
811
                                                    </td>
812
                    </tr>
813
                            </table>
814
        </aside>
815
    </div>
816
 
817
                                    <div class="row-fluid">
818
        <div class="span8 content class">
819
            <a id="method_definirCheminAppli" name="method_definirCheminAppli" class="anchor"></a>
820
            <article class="method">
821
                <h3 class="private ">definirCheminAppli()</h3>
822
                <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>
823
                <pre class="signature" style="margin-right: 54px;">definirCheminAppli( <span class="argument">$chemin</span>)</pre>
824
                <p><em></em></p>
825
 
826
 
827
                                    <h4>Parameters</h4>
828
                    <table class="table table-condensed table-hover">
829
                                                    <tr>
830
                                <td></td>
831
                                <td>$chemin</td>
832
                                <td></td>
833
                            </tr>
834
                                            </table>
835
 
836
 
837
                            </article>
838
        </div>
839
        <aside class="span4 detailsbar">
840
            <h1><i class="icon-arrow-down"></i></h1>
841
                            <span class="label label-info">static</span>
842
                                                            <dl>
843
                                                                            </dl>
844
            <h2>Tags</h2>
845
            <table class="table table-condensed">
846
                                    <tr>
847
                        <th>
848
                            todo
849
                        </th>
850
                        <td>
851
                                                    </td>
852
                    </tr>
853
                            </table>
854
        </aside>
855
    </div>
856
 
857
                                    <div class="row-fluid">
858
        <div class="span8 content class">
859
            <a id="method_enregistrerMethodesAutoload" name="method_enregistrerMethodesAutoload" class="anchor"></a>
860
            <article class="method">
861
                <h3 class="private ">enregistrerMethodesAutoload()</h3>
862
                <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>
863
                <pre class="signature" style="margin-right: 54px;">enregistrerMethodesAutoload()</pre>
864
                <p><em></em></p>
865
 
866
 
867
 
868
 
869
                            </article>
870
        </div>
871
        <aside class="span4 detailsbar">
872
            <h1><i class="icon-arrow-down"></i></h1>
873
                            <span class="label label-info">static</span>
874
                                                            <dl>
875
                                                                            </dl>
876
            <h2>Tags</h2>
877
            <table class="table table-condensed">
878
                                    <tr>
879
                        <th>
880
                            todo
881
                        </th>
882
                        <td>
883
                                                    </td>
884
                    </tr>
885
                            </table>
886
        </aside>
887
    </div>
888
 
889
                                    <div class="row-fluid">
890
        <div class="span8 content class">
891
            <a id="method_autoloadFw" name="method_autoloadFw" class="anchor"></a>
892
            <article class="method">
893
                <h3 class="private ">autoloadFw()</h3>
894
                <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>
895
                <pre class="signature" style="margin-right: 54px;">autoloadFw( <span class="argument">$nom_classe_fw</span>)</pre>
896
                <p><em>Autoload pour le Framework.</em></p>
897
 
898
 
899
                                    <h4>Parameters</h4>
900
                    <table class="table table-condensed table-hover">
901
                                                    <tr>
902
                                <td></td>
903
                                <td>$nom_classe_fw</td>
904
                                <td></td>
905
                            </tr>
906
                                            </table>
907
 
908
 
909
                            </article>
910
        </div>
911
        <aside class="span4 detailsbar">
912
            <h1><i class="icon-arrow-down"></i></h1>
913
                            <span class="label label-info">static</span>
914
                                                            <dl>
915
                                                                            </dl>
916
            <h2>Tags</h2>
917
            <table class="table table-condensed">
918
                                    <tr>
919
                        <th>
920
                            todo
921
                        </th>
922
                        <td>
923
                                                    </td>
924
                    </tr>
925
                            </table>
926
        </aside>
927
    </div>
928
 
929
                                    <div class="row-fluid">
930
        <div class="span8 content class">
931
            <a id="method_autoloadAppliDefaut" name="method_autoloadAppliDefaut" class="anchor"></a>
932
            <article class="method">
933
                <h3 class="private ">autoloadAppliDefaut()</h3>
934
                <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>
935
                <pre class="signature" style="margin-right: 54px;">autoloadAppliDefaut( <span class="argument">$nom_classe</span>)</pre>
936
                <p><em>Autoload par défaut pour l&#039;application</em></p>
937
 
938
 
939
                                    <h4>Parameters</h4>
940
                    <table class="table table-condensed table-hover">
941
                                                    <tr>
942
                                <td></td>
943
                                <td>$nom_classe</td>
944
                                <td></td>
945
                            </tr>
946
                                            </table>
947
 
948
 
949
                            </article>
950
        </div>
951
        <aside class="span4 detailsbar">
952
            <h1><i class="icon-arrow-down"></i></h1>
953
                            <span class="label label-info">static</span>
954
                                                            <dl>
955
                                                                            </dl>
956
            <h2>Tags</h2>
957
            <table class="table table-condensed">
958
                                    <tr>
959
                        <th>
960
                            todo
961
                        </th>
962
                        <td>
963
                                                    </td>
964
                    </tr>
965
                            </table>
966
        </aside>
967
    </div>
968
 
969
                                    <div class="row-fluid">
970
        <div class="span8 content class">
971
            <a id="method_initialiserUrl" name="method_initialiserUrl" class="anchor"></a>
972
            <article class="method">
973
                <h3 class="private ">initialiserUrl()</h3>
974
                <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>
975
                <pre class="signature" style="margin-right: 54px;">initialiserUrl()</pre>
976
                <p><em>Initialise le format des urls.</em></p>
977
 
978
 
979
 
980
 
981
                            </article>
982
        </div>
983
        <aside class="span4 detailsbar">
984
            <h1><i class="icon-arrow-down"></i></h1>
985
                            <span class="label label-info">static</span>
986
                                                            <dl>
987
                                                                            </dl>
988
            <h2>Tags</h2>
989
            <table class="table table-condensed">
990
                                    <tr>
991
                        <th>
992
                            todo
993
                        </th>
994
                        <td>
995
                                                    </td>
996
                    </tr>
997
                            </table>
998
        </aside>
999
    </div>
1000
 
1001
                                    <div class="row-fluid">
1002
        <div class="span8 content class">
1003
            <a id="method_verifierEtTraiterSlashTableauRequete" name="method_verifierEtTraiterSlashTableauRequete" class="anchor"></a>
1004
            <article class="method">
1005
                <h3 class="private ">verifierEtTraiterSlashTableauRequete()</h3>
1006
                <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>
1007
                <pre class="signature" style="margin-right: 54px;">verifierEtTraiterSlashTableauRequete()</pre>
1008
                <p><em>Procédure vérifiant l&#039;activation des magic quotes et remplacant les slash dans les tableaux de requete</em></p>
1009
 
1010
 
1011
 
1012
 
1013
                            </article>
1014
        </div>
1015
        <aside class="span4 detailsbar">
1016
            <h1><i class="icon-arrow-down"></i></h1>
1017
                            <span class="label label-info">static</span>
1018
                                                            <dl>
1019
                                                                            </dl>
1020
            <h2>Tags</h2>
1021
            <table class="table table-condensed">
1022
                                    <tr>
1023
                        <th>
1024
                            todo
1025
                        </th>
1026
                        <td>
1027
                                                    </td>
1028
                    </tr>
1029
                            </table>
1030
        </aside>
1031
    </div>
1032
 
1033
                                    </div>
1034
    </section>
1035
 
1036
    <div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
1037
        <div class="modal-header">
1038
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
1039
            <h3 id="source-view-label">Framework.php</h3>
1040
        </div>
1041
        <div class="modal-body">
1042
            <pre data-src="../files/Framework.php.txt" class="language-php line-numbers"></pre>
1043
        </div>
1044
    </div>
1045
 
1046
    <footer class="row-fluid">
1047
        <section class="span10 offset2">
1048
            <section class="row-fluid">
1049
                <section class="span10 offset1">
1050
                    <section class="row-fluid footer-sections">
1051
                        <section class="span4">
1052
                                                        <h1><i class="icon-code"></i></h1>
1053
                            <div>
1054
                                <ul>
1055
                                                                    </ul>
1056
                            </div>
1057
                        </section>
1058
                        <section class="span4">
1059
                                                        <h1><i class="icon-bar-chart"></i></h1>
1060
                            <div>
1061
                                <ul>
1062
                                    <li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
1063
                                </ul>
1064
                            </div>
1065
                        </section>
1066
                        <section class="span4">
1067
                                                        <h1><i class="icon-pushpin"></i></h1>
1068
                            <div>
1069
                                <ul>
1070
                                    <li><a href="../reports/errors.html">Errors</a></li>
1071
                                    <li><a href="../reports/markers.html">Markers</a></li>
1072
                                </ul>
1073
                            </div>
1074
                        </section>
1075
                    </section>
1076
                </section>
1077
            </section>
1078
            <section class="row-fluid">
1079
                <section class="span10 offset1">
1080
                    <hr />
1081
                    Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
1082
                    on March 12th, 2014 at 15:57.
1083
                </section>
1084
            </section>
1085
        </section>
1086
    </footer>
1087
</div>
1088
 
1089
</body>
1090
</html>