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-154190780"></a>
142
                                <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
143
            </div>
144
            <div id="namespace-154190780" 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>Controleur</h1>
193
                    <p><em>Classe Controleur, coeur d&#039;une application, c&#039;est normalement la seule classe d&#039;une application
194
qui devrait être appelée de l&#039;extérieur.</em></p>
195
                    <p>Elle est abstraite donc doit obligatoirement être étendue.</p>
196
 
197
                    <section id="summary">
198
                        <h2>Summary</h2>
199
                        <section class="row-fluid heading">
200
                            <section class="span4">
201
                                <a href="#methods">Methods</a>
202
                            </section>
203
                            <section class="span4">
204
                                <a href="#properties">Properties</a>
205
                            </section>
206
                            <section class="span4">
207
                                <a href="#constants">Constants</a>
208
                            </section>
209
                        </section>
210
                        <section class="row-fluid public">
211
                            <section class="span4">
212
                                                                    <a href="../classes/Controleur.html#method___construct" class="">__construct()</a><br />
213
                                                                    <a href="../classes/Controleur.html#method_chargerModele" class="">chargerModele()</a><br />
214
                                                            </section>
215
                            <section class="span4">
216
                                                                    <em>No public properties found</em>
217
                                                            </section>
218
                            <section class="span4">
219
                                                                    <em>No constants found</em>
220
                                                            </section>
221
                        </section>
222
                        <section class="row-fluid protected">
223
                            <section class="span4">
224
                                                                    <a href="../classes/Controleur.html#method_getCheminSquelette" class="">getCheminSquelette()</a><br />
225
                                                                    <a href="../classes/Controleur.html#method_setCheminSquelette" class="">setCheminSquelette()</a><br />
226
                                                                    <a href="../classes/Controleur.html#method_getModele" class="">getModele()</a><br />
227
                                                                    <a href="../classes/Controleur.html#method_getVue" class="">getVue()</a><br />
228
                                                                    <a href="../classes/Controleur.html#method_preTraiterDonnees" class="">preTraiterDonnees()</a><br />
229
                                                            </section>
230
                            <section class="span4">
231
                                                                    <a href="../classes/Controleur.html#property_parametres_obligatoires" class="">$parametres_obligatoires</a><br />
232
                                                            </section>
233
                            <section class="span4">
234
                                <em>N/A</em>
235
                            </section>
236
                        </section>
237
                        <section class="row-fluid private">
238
                            <section class="span4">
239
                                                                    <em>No private methods found</em>
240
                                                            </section>
241
                            <section class="span4">
242
                                                                    <a href="../classes/Controleur.html#property_encodage" class="">$encodage</a><br />
243
                                                                    <a href="../classes/Controleur.html#property_base_chemin_modele" class="">$base_chemin_modele</a><br />
244
                                                                    <a href="../classes/Controleur.html#property_base_chemin_squelette" class="">$base_chemin_squelette</a><br />
245
                                                                    <a href="../classes/Controleur.html#property_base_chemin_controleur" class="">$base_chemin_controleur</a><br />
246
                                                                    <a href="../classes/Controleur.html#property_base_url_applicaton" class="">$base_url_applicaton</a><br />
247
                                                            </section>
248
                            <section class="span4">
249
                                <em>N/A</em>
250
                            </section>
251
                        </section>
252
                    </section>
253
                </div>
254
                <aside class="span4 detailsbar">
255
                                            <span class="label label-info">abstract</span>
256
 
257
 
258
                    <dl>
259
                        <dt>File</dt>
260
                            <dd><a href="../files/Controleur.php.html"><div class="path-wrapper">Controleur.php</div></a></dd>
261
                                                <dt>Package</dt>
262
                            <dd><div class="namespace-wrapper">\Framework</div></dd>
263
                                                <dt>Class hierarchy</dt>
264
                            <dd class="hierarchy">
265
                                                                                                                                                                    <div class="namespace-wrapper">\Controleur</div>
266
                            </dd>
267
 
268
 
269
 
270
 
271
                                                                            <dt>See also</dt>
272
                                                                                    <dd><a href="/doc/framework/"><div class="namespace-wrapper">/doc/framework/</div></a></dd>
273
 
274
                                                                        </dl>
275
                    <h2>Tags</h2>
276
                    <table class="table table-condensed">
277
                                            <tr>
278
                            <th>
279
                                category
280
                            </th>
281
                            <td>
282
                                                                    <p>php 5.2</p>
283
                                                            </td>
284
                        </tr>
285
                                            <tr>
286
                            <th>
287
                                author
288
                            </th>
289
                            <td>
290
                                                                    <p>Aurélien PERONNET <a href="mailto:aurelien@tela-botanica.org">aurelien@tela-botanica.org</a></p>
291
                                                                    <p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p>
292
                                                            </td>
293
                        </tr>
294
                                            <tr>
295
                            <th>
296
                                copyright
297
                            </th>
298
                            <td>
299
                                                                    <p>Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</p>
300
                                                            </td>
301
                        </tr>
302
                                            <tr>
303
                            <th>
304
                                license
305
                            </th>
306
                            <td>
307
                                                                    <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>
308
                                                                    <p><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL</p>
309
                                                            </td>
310
                        </tr>
311
                                            <tr>
312
                            <th>
313
                                version
314
                            </th>
315
                            <td>
316
                                                                    <p>$Id: Controleur.php 415 2012-04-04 09:05:55Z jpm $</p>
317
                                                            </td>
318
                        </tr>
319
                                            <tr>
320
                            <th>
321
                                todo
322
                            </th>
323
                            <td>
324
                                                            </td>
325
                        </tr>
326
                                        </table>
327
                </aside>
328
            </div>
329
 
330
 
331
                                    <a id="properties" name="properties"></a>
332
            <div class="row-fluid">
333
                <div class="span8 content class">
334
                    <h2>Properties</h2>
335
                </div>
336
                <aside class="span4 detailsbar"></aside>
337
            </div>
338
 
339
                                                    <div class="row-fluid">
340
        <div class="span8 content class">
341
            <a id="property_parametres_obligatoires" name="property_parametres_obligatoires" class="anchor"></a>
342
            <article class="property">
343
                <h3 class="protected ">$parametres_obligatoires</h3>
344
                <pre class="signature">$parametres_obligatoires</pre>
345
                <p><em>Tableau des noms des paramètres à définir dans le fichier de config car obligatoirement nécessaire à cette classe.</em></p>
346
 
347
 
348
                            </article>
349
        </div>
350
        <aside class="span4 detailsbar">
351
            <h1><i class="icon-arrow-down"></i></h1>
352
                        <dl>
353
                                                            </dl>
354
            <h2>Tags</h2>
355
            <table class="table table-condensed">
356
                                    <tr>
357
                        <th>
358
                            todo
359
                        </th>
360
                        <td>
361
                                                    </td>
362
                    </tr>
363
                            </table>
364
        </aside>
365
    </div>
366
 
367
                                                    <div class="row-fluid">
368
        <div class="span8 content class">
369
            <a id="property_encodage" name="property_encodage" class="anchor"></a>
370
            <article class="property">
371
                <h3 class="private ">$encodage</h3>
372
                <pre class="signature">$encodage</pre>
373
                <p><em>Variable statique indiquant que les tableaux _GET et _POST ont déjà été encodé au format de l&#039;appli.</em></p>
374
 
375
 
376
                            </article>
377
        </div>
378
        <aside class="span4 detailsbar">
379
            <h1><i class="icon-arrow-down"></i></h1>
380
                        <dl>
381
                                                            </dl>
382
            <h2>Tags</h2>
383
            <table class="table table-condensed">
384
                                    <tr>
385
                        <th>
386
                            todo
387
                        </th>
388
                        <td>
389
                                                    </td>
390
                    </tr>
391
                            </table>
392
        </aside>
393
    </div>
394
 
395
                                    <div class="row-fluid">
396
        <div class="span8 content class">
397
            <a id="property_base_chemin_modele" name="property_base_chemin_modele" class="anchor"></a>
398
            <article class="property">
399
                <h3 class="private ">$base_chemin_modele</h3>
400
                <pre class="signature">$base_chemin_modele</pre>
401
                <p><em>Chemin de base vers les classes métiers de la partie Modèle de l&#039;application.</em></p>
402
 
403
 
404
                            </article>
405
        </div>
406
        <aside class="span4 detailsbar">
407
            <h1><i class="icon-arrow-down"></i></h1>
408
                        <dl>
409
                                                            </dl>
410
            <h2>Tags</h2>
411
            <table class="table table-condensed">
412
                                    <tr>
413
                        <th>
414
                            todo
415
                        </th>
416
                        <td>
417
                                                    </td>
418
                    </tr>
419
                            </table>
420
        </aside>
421
    </div>
422
 
423
                                    <div class="row-fluid">
424
        <div class="span8 content class">
425
            <a id="property_base_chemin_squelette" name="property_base_chemin_squelette" class="anchor"></a>
426
            <article class="property">
427
                <h3 class="private ">$base_chemin_squelette</h3>
428
                <pre class="signature">$base_chemin_squelette</pre>
429
                <p><em>Chemin de base vers les fichiers squelette de la partie Vue de l&#039;application.</em></p>
430
 
431
 
432
                            </article>
433
        </div>
434
        <aside class="span4 detailsbar">
435
            <h1><i class="icon-arrow-down"></i></h1>
436
                        <dl>
437
                                                            </dl>
438
            <h2>Tags</h2>
439
            <table class="table table-condensed">
440
                                    <tr>
441
                        <th>
442
                            todo
443
                        </th>
444
                        <td>
445
                                                    </td>
446
                    </tr>
447
                            </table>
448
        </aside>
449
    </div>
450
 
451
                                    <div class="row-fluid">
452
        <div class="span8 content class">
453
            <a id="property_base_chemin_controleur" name="property_base_chemin_controleur" class="anchor"></a>
454
            <article class="property">
455
                <h3 class="private ">$base_chemin_controleur</h3>
456
                <pre class="signature">$base_chemin_controleur</pre>
457
                <p><em>Chemin de base vers les classes controleurs de la partie Controleur de l&#039;application.</em></p>
458
 
459
 
460
                            </article>
461
        </div>
462
        <aside class="span4 detailsbar">
463
            <h1><i class="icon-arrow-down"></i></h1>
464
                        <dl>
465
                                                            </dl>
466
            <h2>Tags</h2>
467
            <table class="table table-condensed">
468
                                    <tr>
469
                        <th>
470
                            todo
471
                        </th>
472
                        <td>
473
                                                    </td>
474
                    </tr>
475
                            </table>
476
        </aside>
477
    </div>
478
 
479
                                    <div class="row-fluid">
480
        <div class="span8 content class">
481
            <a id="property_base_url_applicaton" name="property_base_url_applicaton" class="anchor"></a>
482
            <article class="property">
483
                <h3 class="private ">$base_url_applicaton</h3>
484
                <pre class="signature">$base_url_applicaton</pre>
485
                <p><em>Objet URL contant l&#039;url de la base de l&#039;application.</em></p>
486
 
487
 
488
                            </article>
489
        </div>
490
        <aside class="span4 detailsbar">
491
            <h1><i class="icon-arrow-down"></i></h1>
492
                        <dl>
493
                                                            </dl>
494
            <h2>Tags</h2>
495
            <table class="table table-condensed">
496
                                    <tr>
497
                        <th>
498
                            todo
499
                        </th>
500
                        <td>
501
                                                    </td>
502
                    </tr>
503
                            </table>
504
        </aside>
505
    </div>
506
 
507
 
508
                                    <a id="methods" name="methods"></a>
509
            <div class="row-fluid">
510
                <div class="span8 content class"><h2>Methods</h2></div>
511
                <aside class="span4 detailsbar"></aside>
512
            </div>
513
 
514
                                    <div class="row-fluid">
515
        <div class="span8 content class">
516
            <a id="method___construct" name="method___construct" class="anchor"></a>
517
            <article class="method">
518
                <h3 class="public ">__construct()</h3>
519
                <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>
520
                <pre class="signature" style="margin-right: 54px;">__construct()</pre>
521
                <p><em>Constructeur par défaut</em></p>
522
 
523
 
524
 
525
 
526
                            </article>
527
        </div>
528
        <aside class="span4 detailsbar">
529
            <h1><i class="icon-arrow-down"></i></h1>
530
                                                            <dl>
531
                                                                            </dl>
532
            <h2>Tags</h2>
533
            <table class="table table-condensed">
534
                                    <tr>
535
                        <th>
536
                            todo
537
                        </th>
538
                        <td>
539
                                                    </td>
540
                    </tr>
541
                            </table>
542
        </aside>
543
    </div>
544
 
545
                                    <div class="row-fluid">
546
        <div class="span8 content class">
547
            <a id="method_chargerModele" name="method_chargerModele" class="anchor"></a>
548
            <article class="method">
549
                <h3 class="public ">chargerModele()</h3>
550
                <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>
551
                <pre class="signature" style="margin-right: 54px;">chargerModele(string <span class="argument">$nom_modele</span>) : boolean</pre>
552
                <p><em>Charge un modele donné et le rend disponible sous la forme $this-&gt;nom_modele</em></p>
553
 
554
 
555
                                    <h4>Parameters</h4>
556
                    <table class="table table-condensed table-hover">
557
                                                    <tr>
558
                                <td>string</td>
559
                                <td>$nom_modele</td>
560
                                <td><p>le nom du modèle à  charger</p></td>
561
                            </tr>
562
                                            </table>
563
 
564
 
565
                                    <h4>Returns</h4>
566
                    boolean
567
                                            &mdash; <p>false si le chargement a échoué, sinon true.</p>
568
                                                </article>
569
        </div>
570
        <aside class="span4 detailsbar">
571
            <h1><i class="icon-arrow-down"></i></h1>
572
                                                            <dl>
573
                                                                            </dl>
574
            <h2>Tags</h2>
575
            <table class="table table-condensed">
576
                                    <tr>
577
                        <th>
578
                            todo
579
                        </th>
580
                        <td>
581
                                                    </td>
582
                    </tr>
583
                            </table>
584
        </aside>
585
    </div>
586
 
587
                                                    <div class="row-fluid">
588
        <div class="span8 content class">
589
            <a id="method_getCheminSquelette" name="method_getCheminSquelette" class="anchor"></a>
590
            <article class="method">
591
                <h3 class="protected ">getCheminSquelette()</h3>
592
                <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>
593
                <pre class="signature" style="margin-right: 54px;">getCheminSquelette() : String</pre>
594
                <p><em>Permet de récupérer le chemin vers les squelettes.</em></p>
595
 
596
 
597
 
598
 
599
                                    <h4>Returns</h4>
600
                    String
601
                                            &mdash; <p>$chemin chemin vers les squelettes</p>
602
                                                </article>
603
        </div>
604
        <aside class="span4 detailsbar">
605
            <h1><i class="icon-arrow-down"></i></h1>
606
                                                            <dl>
607
                                                                            </dl>
608
            <h2>Tags</h2>
609
            <table class="table table-condensed">
610
                                    <tr>
611
                        <th>
612
                            todo
613
                        </th>
614
                        <td>
615
                                                    </td>
616
                    </tr>
617
                            </table>
618
        </aside>
619
    </div>
620
 
621
                                    <div class="row-fluid">
622
        <div class="span8 content class">
623
            <a id="method_setCheminSquelette" name="method_setCheminSquelette" class="anchor"></a>
624
            <article class="method">
625
                <h3 class="protected ">setCheminSquelette()</h3>
626
                <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>
627
                <pre class="signature" style="margin-right: 54px;">setCheminSquelette(String <span class="argument">$chemin</span>)</pre>
628
                <p><em>Permet de définir dynamiquement le chemin vers les squelettes.</em></p>
629
 
630
 
631
                                    <h4>Parameters</h4>
632
                    <table class="table table-condensed table-hover">
633
                                                    <tr>
634
                                <td>String</td>
635
                                <td>$chemin</td>
636
                                <td><p>chemin vers les squelettes</p></td>
637
                            </tr>
638
                                            </table>
639
 
640
 
641
                            </article>
642
        </div>
643
        <aside class="span4 detailsbar">
644
            <h1><i class="icon-arrow-down"></i></h1>
645
                                                            <dl>
646
                                                                            </dl>
647
            <h2>Tags</h2>
648
            <table class="table table-condensed">
649
                                    <tr>
650
                        <th>
651
                            todo
652
                        </th>
653
                        <td>
654
                                                    </td>
655
                    </tr>
656
                            </table>
657
        </aside>
658
    </div>
659
 
660
                                    <div class="row-fluid">
661
        <div class="span8 content class">
662
            <a id="method_getModele" name="method_getModele" class="anchor"></a>
663
            <article class="method">
664
                <h3 class="protected ">getModele()</h3>
665
                <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>
666
                <pre class="signature" style="margin-right: 54px;">getModele(string <span class="argument">$nom_modele</span>, String <span class="argument">$ext</span>) : mixed</pre>
667
                <p><em>Retourne un modele donné</em></p>
668
 
669
 
670
                                    <h4>Parameters</h4>
671
                    <table class="table table-condensed table-hover">
672
                                                    <tr>
673
                                <td>string</td>
674
                                <td>$nom_modele</td>
675
                                <td><p>le nom du fichier modèle à charger sans son extension</p></td>
676
                            </tr>
677
                                                    <tr>
678
                                <td>String</td>
679
                                <td>$ext</td>
680
                                <td><p>l'extension du fichier du modèle (par défaut : ".php")</p></td>
681
                            </tr>
682
                                            </table>
683
 
684
 
685
                                    <h4>Returns</h4>
686
                    mixed
687
                                            &mdash; <p>false si le chargement a échoué, sinon l'objet du modèle demandé.</p>
688
                                                </article>
689
        </div>
690
        <aside class="span4 detailsbar">
691
            <h1><i class="icon-arrow-down"></i></h1>
692
                                                            <dl>
693
                                                                            </dl>
694
            <h2>Tags</h2>
695
            <table class="table table-condensed">
696
                                    <tr>
697
                        <th>
698
                            todo
699
                        </th>
700
                        <td>
701
                                                    </td>
702
                    </tr>
703
                            </table>
704
        </aside>
705
    </div>
706
 
707
                                    <div class="row-fluid">
708
        <div class="span8 content class">
709
            <a id="method_getVue" name="method_getVue" class="anchor"></a>
710
            <article class="method">
711
                <h3 class="protected ">getVue()</h3>
712
                <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>
713
                <pre class="signature" style="margin-right: 54px;">getVue(String <span class="argument">$nom_squelette</span>, Array <span class="argument">$donnees</span>) : boolean</pre>
714
                <p><em>Fonction prenant en paramètre le nom d&#039;un squelette et un tableau associatif de données,
715
en extrait les variables, charge le squelette et retourne le résultat des deux combinés.</em></p>
716
 
717
 
718
                                    <h4>Parameters</h4>
719
                    <table class="table table-condensed table-hover">
720
                                                    <tr>
721
                                <td>String</td>
722
                                <td>$nom_squelette</td>
723
                                <td><p>le nom du squelette sans son extension si elle vaut ".tpl.html"</p></td>
724
                            </tr>
725
                                                    <tr>
726
                                <td>Array</td>
727
                                <td>$donnees</td>
728
                                <td><p>un tableau associatif contenant les variables a injecter dans la vue</p></td>
729
                            </tr>
730
                                            </table>
731
 
732
 
733
                                    <h4>Returns</h4>
734
                    boolean
735
                                            &mdash; <p>false si la vue n'existe pas, sinon la chaine résultat.</p>
736
                                                </article>
737
        </div>
738
        <aside class="span4 detailsbar">
739
            <h1><i class="icon-arrow-down"></i></h1>
740
                                                            <dl>
741
                                                                            </dl>
742
            <h2>Tags</h2>
743
            <table class="table table-condensed">
744
                                    <tr>
745
                        <th>
746
                            since
747
                        </th>
748
                        <td>
749
                                                            0.4                                <p>suppression du paramètre 'ext' => le mettre directement dans le nom du squelette</p>
750
                                                    </td>
751
                    </tr>
752
                                    <tr>
753
                        <th>
754
                            todo
755
                        </th>
756
                        <td>
757
                                                    </td>
758
                    </tr>
759
                            </table>
760
        </aside>
761
    </div>
762
 
763
                                    <div class="row-fluid">
764
        <div class="span8 content class">
765
            <a id="method_preTraiterDonnees" name="method_preTraiterDonnees" class="anchor"></a>
766
            <article class="method">
767
                <h3 class="protected ">preTraiterDonnees()</h3>
768
                <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>
769
                <pre class="signature" style="margin-right: 54px;">preTraiterDonnees(Array <span class="argument">$donnees</span>) : Array</pre>
770
                <p><em>Fonction prenant en paramètre un tableau de données et effectuant un traitement dessus.</em></p>
771
                <p>Cette fonction est à surcharger dans les classes filles pour automatiser un traitement
772
avant chaque chargement de vue.</p>
773
 
774
                                    <h4>Parameters</h4>
775
                    <table class="table table-condensed table-hover">
776
                                                    <tr>
777
                                <td>Array</td>
778
                                <td>$donnees</td>
779
                                <td><p>Le tableau de données à traiter</p></td>
780
                            </tr>
781
                                            </table>
782
 
783
 
784
                                    <h4>Returns</h4>
785
                    Array
786
                                            &mdash; <p>$donnees Le tableau de données traité</p>
787
                                                </article>
788
        </div>
789
        <aside class="span4 detailsbar">
790
            <h1><i class="icon-arrow-down"></i></h1>
791
                                                            <dl>
792
                                                                            </dl>
793
            <h2>Tags</h2>
794
            <table class="table table-condensed">
795
                                    <tr>
796
                        <th>
797
                            todo
798
                        </th>
799
                        <td>
800
                                                    </td>
801
                    </tr>
802
                            </table>
803
        </aside>
804
    </div>
805
 
806
                                                    </div>
807
    </section>
808
 
809
    <div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
810
        <div class="modal-header">
811
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
812
            <h3 id="source-view-label">Controleur.php</h3>
813
        </div>
814
        <div class="modal-body">
815
            <pre data-src="../files/Controleur.php.txt" class="language-php line-numbers"></pre>
816
        </div>
817
    </div>
818
 
819
    <footer class="row-fluid">
820
        <section class="span10 offset2">
821
            <section class="row-fluid">
822
                <section class="span10 offset1">
823
                    <section class="row-fluid footer-sections">
824
                        <section class="span4">
825
                                                        <h1><i class="icon-code"></i></h1>
826
                            <div>
827
                                <ul>
828
                                                                    </ul>
829
                            </div>
830
                        </section>
831
                        <section class="span4">
832
                                                        <h1><i class="icon-bar-chart"></i></h1>
833
                            <div>
834
                                <ul>
835
                                    <li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
836
                                </ul>
837
                            </div>
838
                        </section>
839
                        <section class="span4">
840
                                                        <h1><i class="icon-pushpin"></i></h1>
841
                            <div>
842
                                <ul>
843
                                    <li><a href="../reports/errors.html">Errors</a></li>
844
                                    <li><a href="../reports/markers.html">Markers</a></li>
845
                                </ul>
846
                            </div>
847
                        </section>
848
                    </section>
849
                </section>
850
            </section>
851
            <section class="row-fluid">
852
                <section class="span10 offset1">
853
                    <hr />
854
                    Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
855
                    on March 12th, 2014 at 15:57.
856
                </section>
857
            </section>
858
        </section>
859
    </footer>
860
</div>
861
 
862
</body>
863
</html>