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-1898789351"></a>
142
                                <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
143
            </div>
144
            <div id="namespace-1898789351" 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>Bdd</h1>
193
                    <p><em>Classe Bdd, d&#039;accés au base de données.</em></p>
194
                    <p>Elle fait office d'abstraction légère de base de données en utilisant diverses possibilités d'accès aux
195
bases de données (PDO, mysql, mysqli, SQLite3).
196
Les valeurs pour le paramètre 'bdd_abstraction' du fichier config.ini sont : pdo, mysql, mysqli, sqlite3
197
Vous pouvez aussi utiliser : "php:Bdd::ABSTRACTION_PDO","php:Bdd::ABSTRACTION_MYSQL", "php:Bdd::ABSTRACTION_MYSQLI",
198
"php:Bdd::ABSTRACTION_SQLITE3".
199
Elle peut être étendue, pour ajouter le support d'autres bases de données où prendre en compte des méthodes spécifique à
200
un type d'abstraction.</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/Bdd.html#method___construct" class="">__construct()</a><br />
218
                                                                    <a href="../classes/Bdd.html#method_requeter" class="">requeter()</a><br />
219
                                                                    <a href="../classes/Bdd.html#method_recuperer" class="">recuperer()</a><br />
220
                                                                    <a href="../classes/Bdd.html#method_recupererTous" class="">recupererTous()</a><br />
221
                                                                    <a href="../classes/Bdd.html#method_proteger" class="">proteger()</a><br />
222
                                                                    <a href="../classes/Bdd.html#method_protegerTableau" class="deprecated">protegerTableau()</a><br />
223
                                                                    <a href="../classes/Bdd.html#method_recupererIdDernierAjout" class="">recupererIdDernierAjout()</a><br />
224
                                                                    <a href="../classes/Bdd.html#method___destruct" class="">__destruct()</a><br />
225
                                                            </section>
226
                            <section class="span4">
227
                                                                    <em>No public properties found</em>
228
                                                            </section>
229
                            <section class="span4">
230
                                                                    <a href="../classes/Bdd.html#constant_ERREUR_REQUETE_TPL" class="">ERREUR_REQUETE_TPL</a><br />
231
                                                                    <a href="../classes/Bdd.html#constant_ERREUR_CONNEXION_TPL" class="">ERREUR_CONNEXION_TPL</a><br />
232
                                                                    <a href="../classes/Bdd.html#constant_ERREUR_SELECTION_BDD_TPL" class="">ERREUR_SELECTION_BDD_TPL</a><br />
233
                                                                    <a href="../classes/Bdd.html#constant_ABSTRACTION_PDO" class="">ABSTRACTION_PDO</a><br />
234
                                                                    <a href="../classes/Bdd.html#constant_ABSTRACTION_MYSQL" class="">ABSTRACTION_MYSQL</a><br />
235
                                                                    <a href="../classes/Bdd.html#constant_ABSTRACTION_MYSQLI" class="">ABSTRACTION_MYSQLI</a><br />
236
                                                                    <a href="../classes/Bdd.html#constant_ABSTRACTION_SQLITE3" class="">ABSTRACTION_SQLITE3</a><br />
237
                                                                    <a href="../classes/Bdd.html#constant_MODE_ASSOC" class="">MODE_ASSOC</a><br />
238
                                                                    <a href="../classes/Bdd.html#constant_MODE_OBJET" class="">MODE_OBJET</a><br />
239
                                                            </section>
240
                        </section>
241
                        <section class="row-fluid protected">
242
                            <section class="span4">
243
                                                                    <a href="../classes/Bdd.html#method_initialiserProtocole" class="">initialiserProtocole()</a><br />
244
                                                                    <a href="../classes/Bdd.html#method_connecter" class="">connecter()</a><br />
245
                                                                    <a href="../classes/Bdd.html#method_requete" class="deprecated">requete()</a><br />
246
                                                                    <a href="../classes/Bdd.html#method_requeteUn" class="deprecated">requeteUn()</a><br />
247
                                                                    <a href="../classes/Bdd.html#method_requeteTous" class="deprecated">requeteTous()</a><br />
248
                                                            </section>
249
                            <section class="span4">
250
                                                                    <a href="../classes/Bdd.html#property_ASSOC" class="">$ASSOC</a><br />
251
                                                                    <a href="../classes/Bdd.html#property_OBJECT" class="">$OBJECT</a><br />
252
                                                                    <a href="../classes/Bdd.html#property_abstraction" class="">$abstraction</a><br />
253
                                                                    <a href="../classes/Bdd.html#property_dsn" class="">$dsn</a><br />
254
                                                                    <a href="../classes/Bdd.html#property_type" class="">$type</a><br />
255
                                                                    <a href="../classes/Bdd.html#property_hote" class="">$hote</a><br />
256
                                                                    <a href="../classes/Bdd.html#property_bdd_nom" class="">$bdd_nom</a><br />
257
                                                                    <a href="../classes/Bdd.html#property_utilisateur" class="">$utilisateur</a><br />
258
                                                                    <a href="../classes/Bdd.html#property_pass" class="">$pass</a><br />
259
                                                                    <a href="../classes/Bdd.html#property_encodage" class="">$encodage</a><br />
260
                                                                    <a href="../classes/Bdd.html#property_connexion" class="">$connexion</a><br />
261
                                                                    <a href="../classes/Bdd.html#property_parametres_obligatoires" class="">$parametres_obligatoires</a><br />
262
                                                            </section>
263
                            <section class="span4">
264
                                <em>N/A</em>
265
                            </section>
266
                        </section>
267
                        <section class="row-fluid private">
268
                            <section class="span4">
269
                                                                    <a href="../classes/Bdd.html#method_protegerChaine" class="">protegerChaine()</a><br />
270
                                                            </section>
271
                            <section class="span4">
272
                                                                    <em>No private properties found</em>
273
                                                            </section>
274
                            <section class="span4">
275
                                <em>N/A</em>
276
                            </section>
277
                        </section>
278
                    </section>
279
                </div>
280
                <aside class="span4 detailsbar">
281
 
282
 
283
                    <dl>
284
                        <dt>File</dt>
285
                            <dd><a href="../files/Bdd.php.html"><div class="path-wrapper">Bdd.php</div></a></dd>
286
                                                <dt>Package</dt>
287
                            <dd><div class="namespace-wrapper">\Framework</div></dd>
288
                                                <dt>Class hierarchy</dt>
289
                            <dd class="hierarchy">
290
                                                                                                                                                                    <div class="namespace-wrapper">\Bdd</div>
291
                            </dd>
292
 
293
 
294
 
295
 
296
                                                                            <dt>See also</dt>
297
                                                                                    <dd><a href="/doc/framework/"><div class="namespace-wrapper">/doc/framework/</div></a></dd>
298
 
299
                                                                        </dl>
300
                    <h2>Tags</h2>
301
                    <table class="table table-condensed">
302
                                            <tr>
303
                            <th>
304
                                category
305
                            </th>
306
                            <td>
307
                                                                    <p>php 5.2</p>
308
                                                            </td>
309
                        </tr>
310
                                            <tr>
311
                            <th>
312
                                author
313
                            </th>
314
                            <td>
315
                                                                    <p>Aurélien PERONNET <a href="mailto:aurelien@tela-botanica.org">aurelien@tela-botanica.org</a></p>
316
                                                                    <p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p>
317
                                                            </td>
318
                        </tr>
319
                                            <tr>
320
                            <th>
321
                                copyright
322
                            </th>
323
                            <td>
324
                                                                    <p>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</p>
325
                                                            </td>
326
                        </tr>
327
                                            <tr>
328
                            <th>
329
                                license
330
                            </th>
331
                            <td>
332
                                                                    <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>
333
                                                                    <p><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL</p>
334
                                                            </td>
335
                        </tr>
336
                                            <tr>
337
                            <th>
338
                                version
339
                            </th>
340
                            <td>
341
                                                                    <p>$Id: Bdd.php 461 2014-03-05 16:13:16Z jpm $</p>
342
                                                            </td>
343
                        </tr>
344
                                            <tr>
345
                            <th>
346
                                todo
347
                            </th>
348
                            <td>
349
                                                            </td>
350
                        </tr>
351
                                        </table>
352
                </aside>
353
            </div>
354
 
355
                                    <a id="constants" name="constants"></a>
356
            <div class="row-fluid">
357
                <div class="span8 content class">
358
                    <h2>Constants</h2>
359
                </div>
360
                <aside class="span4 detailsbar"></aside>
361
            </div>
362
 
363
                                <div class="row-fluid">
364
        <div class="span8 content class">
365
            <a id="constant_ERREUR_REQUETE_TPL" name="constant_ERREUR_REQUETE_TPL" class="anchor"></a>
366
            <article id="constant_ERREUR_REQUETE_TPL" class="constant">
367
                <h3 class="">ERREUR_REQUETE_TPL</h3>
368
                <pre class="signature">ERREUR_REQUETE_TPL</pre>
369
                <p><em>Constante stockant le squelette du message en cas d&#039;erreur de requête sql.</em></p>
370
 
371
            </article>
372
        </div>
373
        <aside class="span4 detailsbar">
374
            <h1><i class="icon-arrow-down"></i></h1>
375
                        <dl>
376
                                                                            </dl>
377
            <h2>Tags</h2>
378
            <table class="table table-condensed">
379
                                    <tr>
380
                        <th>
381
                            todo
382
                        </th>
383
                        <td>
384
                                                    </td>
385
                    </tr>
386
                            </table>
387
        </aside>
388
    </div>
389
 
390
                                    <div class="row-fluid">
391
        <div class="span8 content class">
392
            <a id="constant_ERREUR_CONNEXION_TPL" name="constant_ERREUR_CONNEXION_TPL" class="anchor"></a>
393
            <article id="constant_ERREUR_CONNEXION_TPL" class="constant">
394
                <h3 class="">ERREUR_CONNEXION_TPL</h3>
395
                <pre class="signature">ERREUR_CONNEXION_TPL</pre>
396
                <p><em>Constante stockant le squelette du message en cas d&#039;erreur de connexion à la base de données.</em></p>
397
 
398
            </article>
399
        </div>
400
        <aside class="span4 detailsbar">
401
            <h1><i class="icon-arrow-down"></i></h1>
402
                        <dl>
403
                                                                            </dl>
404
            <h2>Tags</h2>
405
            <table class="table table-condensed">
406
                                    <tr>
407
                        <th>
408
                            todo
409
                        </th>
410
                        <td>
411
                                                    </td>
412
                    </tr>
413
                            </table>
414
        </aside>
415
    </div>
416
 
417
                                    <div class="row-fluid">
418
        <div class="span8 content class">
419
            <a id="constant_ERREUR_SELECTION_BDD_TPL" name="constant_ERREUR_SELECTION_BDD_TPL" class="anchor"></a>
420
            <article id="constant_ERREUR_SELECTION_BDD_TPL" class="constant">
421
                <h3 class="">ERREUR_SELECTION_BDD_TPL</h3>
422
                <pre class="signature">ERREUR_SELECTION_BDD_TPL</pre>
423
                <p><em>Constante stockant le squelette du message en cas d&#039;erreur de sélection de la base de données.</em></p>
424
 
425
            </article>
426
        </div>
427
        <aside class="span4 detailsbar">
428
            <h1><i class="icon-arrow-down"></i></h1>
429
                        <dl>
430
                                                                            </dl>
431
            <h2>Tags</h2>
432
            <table class="table table-condensed">
433
                                    <tr>
434
                        <th>
435
                            todo
436
                        </th>
437
                        <td>
438
                                                    </td>
439
                    </tr>
440
                            </table>
441
        </aside>
442
    </div>
443
 
444
                                    <div class="row-fluid">
445
        <div class="span8 content class">
446
            <a id="constant_ABSTRACTION_PDO" name="constant_ABSTRACTION_PDO" class="anchor"></a>
447
            <article id="constant_ABSTRACTION_PDO" class="constant">
448
                <h3 class="">ABSTRACTION_PDO</h3>
449
                <pre class="signature">ABSTRACTION_PDO</pre>
450
                <p><em>Constante stockant le code pour l&#039;abstraction de PDO.</em></p>
451
 
452
            </article>
453
        </div>
454
        <aside class="span4 detailsbar">
455
            <h1><i class="icon-arrow-down"></i></h1>
456
                        <dl>
457
                                                                            </dl>
458
            <h2>Tags</h2>
459
            <table class="table table-condensed">
460
                                    <tr>
461
                        <th>
462
                            todo
463
                        </th>
464
                        <td>
465
                                                    </td>
466
                    </tr>
467
                            </table>
468
        </aside>
469
    </div>
470
 
471
                                    <div class="row-fluid">
472
        <div class="span8 content class">
473
            <a id="constant_ABSTRACTION_MYSQL" name="constant_ABSTRACTION_MYSQL" class="anchor"></a>
474
            <article id="constant_ABSTRACTION_MYSQL" class="constant">
475
                <h3 class="">ABSTRACTION_MYSQL</h3>
476
                <pre class="signature">ABSTRACTION_MYSQL</pre>
477
                <p><em>Constante stockant le code pour l&#039;abstraction de mysql.</em></p>
478
 
479
            </article>
480
        </div>
481
        <aside class="span4 detailsbar">
482
            <h1><i class="icon-arrow-down"></i></h1>
483
                        <dl>
484
                                                                            </dl>
485
            <h2>Tags</h2>
486
            <table class="table table-condensed">
487
                                    <tr>
488
                        <th>
489
                            todo
490
                        </th>
491
                        <td>
492
                                                    </td>
493
                    </tr>
494
                            </table>
495
        </aside>
496
    </div>
497
 
498
                                    <div class="row-fluid">
499
        <div class="span8 content class">
500
            <a id="constant_ABSTRACTION_MYSQLI" name="constant_ABSTRACTION_MYSQLI" class="anchor"></a>
501
            <article id="constant_ABSTRACTION_MYSQLI" class="constant">
502
                <h3 class="">ABSTRACTION_MYSQLI</h3>
503
                <pre class="signature">ABSTRACTION_MYSQLI</pre>
504
                <p><em>Constante stockant le code pour l&#039;abstraction de mysqli.</em></p>
505
 
506
            </article>
507
        </div>
508
        <aside class="span4 detailsbar">
509
            <h1><i class="icon-arrow-down"></i></h1>
510
                        <dl>
511
                                                                            </dl>
512
            <h2>Tags</h2>
513
            <table class="table table-condensed">
514
                                    <tr>
515
                        <th>
516
                            todo
517
                        </th>
518
                        <td>
519
                                                    </td>
520
                    </tr>
521
                            </table>
522
        </aside>
523
    </div>
524
 
525
                                    <div class="row-fluid">
526
        <div class="span8 content class">
527
            <a id="constant_ABSTRACTION_SQLITE3" name="constant_ABSTRACTION_SQLITE3" class="anchor"></a>
528
            <article id="constant_ABSTRACTION_SQLITE3" class="constant">
529
                <h3 class="">ABSTRACTION_SQLITE3</h3>
530
                <pre class="signature">ABSTRACTION_SQLITE3</pre>
531
                <p><em>Constante stockant le code pour l&#039;abstraction de SQLite3.</em></p>
532
 
533
            </article>
534
        </div>
535
        <aside class="span4 detailsbar">
536
            <h1><i class="icon-arrow-down"></i></h1>
537
                        <dl>
538
                                                                            </dl>
539
            <h2>Tags</h2>
540
            <table class="table table-condensed">
541
                                    <tr>
542
                        <th>
543
                            todo
544
                        </th>
545
                        <td>
546
                                                    </td>
547
                    </tr>
548
                            </table>
549
        </aside>
550
    </div>
551
 
552
                                    <div class="row-fluid">
553
        <div class="span8 content class">
554
            <a id="constant_MODE_ASSOC" name="constant_MODE_ASSOC" class="anchor"></a>
555
            <article id="constant_MODE_ASSOC" class="constant">
556
                <h3 class="">MODE_ASSOC</h3>
557
                <pre class="signature">MODE_ASSOC</pre>
558
                <p><em>Constante stockant le code pour le mode tableau associatif des résultats des requêtes.</em></p>
559
 
560
            </article>
561
        </div>
562
        <aside class="span4 detailsbar">
563
            <h1><i class="icon-arrow-down"></i></h1>
564
                        <dl>
565
                                                                            </dl>
566
            <h2>Tags</h2>
567
            <table class="table table-condensed">
568
                                    <tr>
569
                        <th>
570
                            todo
571
                        </th>
572
                        <td>
573
                                                    </td>
574
                    </tr>
575
                            </table>
576
        </aside>
577
    </div>
578
 
579
                                    <div class="row-fluid">
580
        <div class="span8 content class">
581
            <a id="constant_MODE_OBJET" name="constant_MODE_OBJET" class="anchor"></a>
582
            <article id="constant_MODE_OBJET" class="constant">
583
                <h3 class="">MODE_OBJET</h3>
584
                <pre class="signature">MODE_OBJET</pre>
585
                <p><em>Constante stockant le code pour le mode objet des résultats des requêtes.</em></p>
586
 
587
            </article>
588
        </div>
589
        <aside class="span4 detailsbar">
590
            <h1><i class="icon-arrow-down"></i></h1>
591
                        <dl>
592
                                                                            </dl>
593
            <h2>Tags</h2>
594
            <table class="table table-condensed">
595
                                    <tr>
596
                        <th>
597
                            todo
598
                        </th>
599
                        <td>
600
                                                    </td>
601
                    </tr>
602
                            </table>
603
        </aside>
604
    </div>
605
 
606
 
607
                                    <a id="properties" name="properties"></a>
608
            <div class="row-fluid">
609
                <div class="span8 content class">
610
                    <h2>Properties</h2>
611
                </div>
612
                <aside class="span4 detailsbar"></aside>
613
            </div>
614
 
615
                                                    <div class="row-fluid">
616
        <div class="span8 content class">
617
            <a id="property_ASSOC" name="property_ASSOC" class="anchor"></a>
618
            <article class="property">
619
                <h3 class="protected ">$ASSOC</h3>
620
                <pre class="signature">$ASSOC</pre>
621
                <p><em>Mode de fetch associatif</em></p>
622
 
623
 
624
                            </article>
625
        </div>
626
        <aside class="span4 detailsbar">
627
            <h1><i class="icon-arrow-down"></i></h1>
628
                        <dl>
629
                                                            </dl>
630
            <h2>Tags</h2>
631
            <table class="table table-condensed">
632
                                    <tr>
633
                        <th>
634
                            todo
635
                        </th>
636
                        <td>
637
                                                    </td>
638
                    </tr>
639
                            </table>
640
        </aside>
641
    </div>
642
 
643
                                    <div class="row-fluid">
644
        <div class="span8 content class">
645
            <a id="property_OBJECT" name="property_OBJECT" class="anchor"></a>
646
            <article class="property">
647
                <h3 class="protected ">$OBJECT</h3>
648
                <pre class="signature">$OBJECT</pre>
649
                <p><em>Mode de fetch objet</em></p>
650
 
651
 
652
                            </article>
653
        </div>
654
        <aside class="span4 detailsbar">
655
            <h1><i class="icon-arrow-down"></i></h1>
656
                        <dl>
657
                                                            </dl>
658
            <h2>Tags</h2>
659
            <table class="table table-condensed">
660
                                    <tr>
661
                        <th>
662
                            todo
663
                        </th>
664
                        <td>
665
                                                    </td>
666
                    </tr>
667
                            </table>
668
        </aside>
669
    </div>
670
 
671
                                    <div class="row-fluid">
672
        <div class="span8 content class">
673
            <a id="property_abstraction" name="property_abstraction" class="anchor"></a>
674
            <article class="property">
675
                <h3 class="protected ">$abstraction</h3>
676
                <pre class="signature">$abstraction</pre>
677
                <p><em>abstraction de base de données utilisée</em></p>
678
 
679
 
680
                            </article>
681
        </div>
682
        <aside class="span4 detailsbar">
683
            <h1><i class="icon-arrow-down"></i></h1>
684
                        <dl>
685
                                                            </dl>
686
            <h2>Tags</h2>
687
            <table class="table table-condensed">
688
                                    <tr>
689
                        <th>
690
                            todo
691
                        </th>
692
                        <td>
693
                                                    </td>
694
                    </tr>
695
                            </table>
696
        </aside>
697
    </div>
698
 
699
                                    <div class="row-fluid">
700
        <div class="span8 content class">
701
            <a id="property_dsn" name="property_dsn" class="anchor"></a>
702
            <article class="property">
703
                <h3 class="protected ">$dsn</h3>
704
                <pre class="signature">$dsn</pre>
705
                <p><em>DSN pour accéder à la base de données</em></p>
706
 
707
 
708
                            </article>
709
        </div>
710
        <aside class="span4 detailsbar">
711
            <h1><i class="icon-arrow-down"></i></h1>
712
                        <dl>
713
                                                            </dl>
714
            <h2>Tags</h2>
715
            <table class="table table-condensed">
716
                                    <tr>
717
                        <th>
718
                            todo
719
                        </th>
720
                        <td>
721
                                                    </td>
722
                    </tr>
723
                            </table>
724
        </aside>
725
    </div>
726
 
727
                                    <div class="row-fluid">
728
        <div class="span8 content class">
729
            <a id="property_type" name="property_type" class="anchor"></a>
730
            <article class="property">
731
                <h3 class="protected ">$type</h3>
732
                <pre class="signature">$type</pre>
733
                <p><em>Type de base de données (mysql, mysqli, etc .</em></p>
734
                <p>..)</p>
735
 
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
                            todo
747
                        </th>
748
                        <td>
749
                                                    </td>
750
                    </tr>
751
                            </table>
752
        </aside>
753
    </div>
754
 
755
                                    <div class="row-fluid">
756
        <div class="span8 content class">
757
            <a id="property_hote" name="property_hote" class="anchor"></a>
758
            <article class="property">
759
                <h3 class="protected ">$hote</h3>
760
                <pre class="signature">$hote</pre>
761
                <p><em>Hote herbergeant la base de données</em></p>
762
 
763
 
764
                            </article>
765
        </div>
766
        <aside class="span4 detailsbar">
767
            <h1><i class="icon-arrow-down"></i></h1>
768
                        <dl>
769
                                                            </dl>
770
            <h2>Tags</h2>
771
            <table class="table table-condensed">
772
                                    <tr>
773
                        <th>
774
                            todo
775
                        </th>
776
                        <td>
777
                                                    </td>
778
                    </tr>
779
                            </table>
780
        </aside>
781
    </div>
782
 
783
                                    <div class="row-fluid">
784
        <div class="span8 content class">
785
            <a id="property_bdd_nom" name="property_bdd_nom" class="anchor"></a>
786
            <article class="property">
787
                <h3 class="protected ">$bdd_nom</h3>
788
                <pre class="signature">$bdd_nom</pre>
789
                <p><em>Nom de la base de données à laquelle le modèle doit se connecter</em></p>
790
 
791
 
792
                            </article>
793
        </div>
794
        <aside class="span4 detailsbar">
795
            <h1><i class="icon-arrow-down"></i></h1>
796
                        <dl>
797
                                                            </dl>
798
            <h2>Tags</h2>
799
            <table class="table table-condensed">
800
                                    <tr>
801
                        <th>
802
                            todo
803
                        </th>
804
                        <td>
805
                                                    </td>
806
                    </tr>
807
                            </table>
808
        </aside>
809
    </div>
810
 
811
                                    <div class="row-fluid">
812
        <div class="span8 content class">
813
            <a id="property_utilisateur" name="property_utilisateur" class="anchor"></a>
814
            <article class="property">
815
                <h3 class="protected ">$utilisateur</h3>
816
                <pre class="signature">$utilisateur</pre>
817
                <p><em>Nom d&#039;utilisateur</em></p>
818
 
819
 
820
                            </article>
821
        </div>
822
        <aside class="span4 detailsbar">
823
            <h1><i class="icon-arrow-down"></i></h1>
824
                        <dl>
825
                                                            </dl>
826
            <h2>Tags</h2>
827
            <table class="table table-condensed">
828
                                    <tr>
829
                        <th>
830
                            todo
831
                        </th>
832
                        <td>
833
                                                    </td>
834
                    </tr>
835
                            </table>
836
        </aside>
837
    </div>
838
 
839
                                    <div class="row-fluid">
840
        <div class="span8 content class">
841
            <a id="property_pass" name="property_pass" class="anchor"></a>
842
            <article class="property">
843
                <h3 class="protected ">$pass</h3>
844
                <pre class="signature">$pass</pre>
845
                <p><em>Mot de passe</em></p>
846
 
847
 
848
                            </article>
849
        </div>
850
        <aside class="span4 detailsbar">
851
            <h1><i class="icon-arrow-down"></i></h1>
852
                        <dl>
853
                                                            </dl>
854
            <h2>Tags</h2>
855
            <table class="table table-condensed">
856
                                    <tr>
857
                        <th>
858
                            todo
859
                        </th>
860
                        <td>
861
                                                    </td>
862
                    </tr>
863
                            </table>
864
        </aside>
865
    </div>
866
 
867
                                    <div class="row-fluid">
868
        <div class="span8 content class">
869
            <a id="property_encodage" name="property_encodage" class="anchor"></a>
870
            <article class="property">
871
                <h3 class="protected ">$encodage</h3>
872
                <pre class="signature">$encodage</pre>
873
                <p><em>Encodage de la base de données</em></p>
874
 
875
 
876
                            </article>
877
        </div>
878
        <aside class="span4 detailsbar">
879
            <h1><i class="icon-arrow-down"></i></h1>
880
                        <dl>
881
                                                            </dl>
882
            <h2>Tags</h2>
883
            <table class="table table-condensed">
884
                                    <tr>
885
                        <th>
886
                            todo
887
                        </th>
888
                        <td>
889
                                                    </td>
890
                    </tr>
891
                            </table>
892
        </aside>
893
    </div>
894
 
895
                                    <div class="row-fluid">
896
        <div class="span8 content class">
897
            <a id="property_connexion" name="property_connexion" class="anchor"></a>
898
            <article class="property">
899
                <h3 class="protected ">$connexion</h3>
900
                <pre class="signature">$connexion</pre>
901
                <p><em>Connexion à la base de données</em></p>
902
 
903
 
904
                            </article>
905
        </div>
906
        <aside class="span4 detailsbar">
907
            <h1><i class="icon-arrow-down"></i></h1>
908
                        <dl>
909
                                                            </dl>
910
            <h2>Tags</h2>
911
            <table class="table table-condensed">
912
                                    <tr>
913
                        <th>
914
                            todo
915
                        </th>
916
                        <td>
917
                                                    </td>
918
                    </tr>
919
                            </table>
920
        </aside>
921
    </div>
922
 
923
                                    <div class="row-fluid">
924
        <div class="span8 content class">
925
            <a id="property_parametres_obligatoires" name="property_parametres_obligatoires" class="anchor"></a>
926
            <article class="property">
927
                <h3 class="protected ">$parametres_obligatoires</h3>
928
                <pre class="signature">$parametres_obligatoires</pre>
929
                <p><em>Tableau des noms des paramètres à définir dans le fichier de config car obligatoirement nécessaire à cette classe.</em></p>
930
 
931
 
932
                            </article>
933
        </div>
934
        <aside class="span4 detailsbar">
935
            <h1><i class="icon-arrow-down"></i></h1>
936
                        <dl>
937
                                                            </dl>
938
            <h2>Tags</h2>
939
            <table class="table table-condensed">
940
                                    <tr>
941
                        <th>
942
                            todo
943
                        </th>
944
                        <td>
945
                                                    </td>
946
                    </tr>
947
                            </table>
948
        </aside>
949
    </div>
950
 
951
 
952
                                    <a id="methods" name="methods"></a>
953
            <div class="row-fluid">
954
                <div class="span8 content class"><h2>Methods</h2></div>
955
                <aside class="span4 detailsbar"></aside>
956
            </div>
957
 
958
                                    <div class="row-fluid">
959
        <div class="span8 content class">
960
            <a id="method___construct" name="method___construct" class="anchor"></a>
961
            <article class="method">
962
                <h3 class="public ">__construct()</h3>
963
                <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>
964
                <pre class="signature" style="margin-right: 54px;">__construct()</pre>
965
                <p><em>Constructeur par défaut, appelé à l&#039;initialisation.</em></p>
966
 
967
 
968
 
969
 
970
                            </article>
971
        </div>
972
        <aside class="span4 detailsbar">
973
            <h1><i class="icon-arrow-down"></i></h1>
974
                                                            <dl>
975
                                                                            </dl>
976
            <h2>Tags</h2>
977
            <table class="table table-condensed">
978
                                    <tr>
979
                        <th>
980
                            todo
981
                        </th>
982
                        <td>
983
                                                    </td>
984
                    </tr>
985
                            </table>
986
        </aside>
987
    </div>
988
 
989
                                    <div class="row-fluid">
990
        <div class="span8 content class">
991
            <a id="method_requeter" name="method_requeter" class="anchor"></a>
992
            <article class="method">
993
                <h3 class="public ">requeter()</h3>
994
                <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>
995
                <pre class="signature" style="margin-right: 54px;">requeter( <span class="argument">$requete</span>) : mixed</pre>
996
                <p><em>Execute une requête et retourne le résultat tel que renvoyé par l&#039;abstraction courante.</em></p>
997
 
998
 
999
                                    <h4>Parameters</h4>
1000
                    <table class="table table-condensed table-hover">
1001
                                                    <tr>
1002
                                <td></td>
1003
                                <td>$requete</td>
1004
                                <td></td>
1005
                            </tr>
1006
                                            </table>
1007
 
1008
 
1009
                                    <h4>Returns</h4>
1010
                    mixed
1011
                                            &mdash; <p>un objet contenant le résultat de la requête</p>
1012
                                                </article>
1013
        </div>
1014
        <aside class="span4 detailsbar">
1015
            <h1><i class="icon-arrow-down"></i></h1>
1016
                                                            <dl>
1017
                                                                            </dl>
1018
            <h2>Tags</h2>
1019
            <table class="table table-condensed">
1020
                                    <tr>
1021
                        <th>
1022
                            todo
1023
                        </th>
1024
                        <td>
1025
                                                    </td>
1026
                    </tr>
1027
                            </table>
1028
        </aside>
1029
    </div>
1030
 
1031
                                    <div class="row-fluid">
1032
        <div class="span8 content class">
1033
            <a id="method_recuperer" name="method_recuperer" class="anchor"></a>
1034
            <article class="method">
1035
                <h3 class="public ">recuperer()</h3>
1036
                <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>
1037
                <pre class="signature" style="margin-right: 54px;">recuperer( <span class="argument">$requete</span>,  <span class="argument">$mode</span>) : mixed</pre>
1038
                <p><em>Execute une requête et retourne le premier résultat sous forme de tableau (par défaut) ou d&#039;objet.</em></p>
1039
                <p>Les noms des champs de la base de données correspondent aux noms des clés du tableau ou aux noms des attributs de l'objet.</p>
1040
 
1041
                                    <h4>Parameters</h4>
1042
                    <table class="table table-condensed table-hover">
1043
                                                    <tr>
1044
                                <td></td>
1045
                                <td>$requete</td>
1046
                                <td></td>
1047
                            </tr>
1048
                                                    <tr>
1049
                                <td></td>
1050
                                <td>$mode</td>
1051
                                <td></td>
1052
                            </tr>
1053
                                            </table>
1054
 
1055
 
1056
                                    <h4>Returns</h4>
1057
                    mixed
1058
                                            &mdash; <p>un objet ou un tableau contenant le résultat de la requête</p>
1059
                                                </article>
1060
        </div>
1061
        <aside class="span4 detailsbar">
1062
            <h1><i class="icon-arrow-down"></i></h1>
1063
                                                            <dl>
1064
                                                                            </dl>
1065
            <h2>Tags</h2>
1066
            <table class="table table-condensed">
1067
                                    <tr>
1068
                        <th>
1069
                            todo
1070
                        </th>
1071
                        <td>
1072
                                                    </td>
1073
                    </tr>
1074
                            </table>
1075
        </aside>
1076
    </div>
1077
 
1078
                                    <div class="row-fluid">
1079
        <div class="span8 content class">
1080
            <a id="method_recupererTous" name="method_recupererTous" class="anchor"></a>
1081
            <article class="method">
1082
                <h3 class="public ">recupererTous()</h3>
1083
                <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>
1084
                <pre class="signature" style="margin-right: 54px;">recupererTous( <span class="argument">$requete</span>,  <span class="argument">$mode</span>) : array</pre>
1085
                <p><em>Execute une requête et retourne un tableau de résultats. Un résultat peut être présentés sous forme
1086
de tableau (par défaut) ou d&#039;objet.</em></p>
1087
                <p>Les noms des champs de la base de données correspondent aux noms des clés du tableau résultat ou
1088
aux noms des attributs de l'objet résultat.</p>
1089
 
1090
                                    <h4>Parameters</h4>
1091
                    <table class="table table-condensed table-hover">
1092
                                                    <tr>
1093
                                <td></td>
1094
                                <td>$requete</td>
1095
                                <td></td>
1096
                            </tr>
1097
                                                    <tr>
1098
                                <td></td>
1099
                                <td>$mode</td>
1100
                                <td></td>
1101
                            </tr>
1102
                                            </table>
1103
 
1104
 
1105
                                    <h4>Returns</h4>
1106
                    array
1107
                                            &mdash; <p>un tableau contenant les résultats sous forme d'objets ou de tableau (par défaut).</p>
1108
                                                </article>
1109
        </div>
1110
        <aside class="span4 detailsbar">
1111
            <h1><i class="icon-arrow-down"></i></h1>
1112
                                                            <dl>
1113
                                                                            </dl>
1114
            <h2>Tags</h2>
1115
            <table class="table table-condensed">
1116
                                    <tr>
1117
                        <th>
1118
                            todo
1119
                        </th>
1120
                        <td>
1121
                                                    </td>
1122
                    </tr>
1123
                            </table>
1124
        </aside>
1125
    </div>
1126
 
1127
                                    <div class="row-fluid">
1128
        <div class="span8 content class">
1129
            <a id="method_proteger" name="method_proteger" class="anchor"></a>
1130
            <article class="method">
1131
                <h3 class="public ">proteger()</h3>
1132
                <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>
1133
                <pre class="signature" style="margin-right: 54px;">proteger( <span class="argument">$donnees</span>) : mixed</pre>
1134
                <p><em>Protège une chaine de caractères ou le contenu d&#039;un tablea avant l&#039;insertion dans la base de données
1135
(ajout de quotes ou guillemets).</em></p>
1136
 
1137
 
1138
                                    <h4>Parameters</h4>
1139
                    <table class="table table-condensed table-hover">
1140
                                                    <tr>
1141
                                <td></td>
1142
                                <td>$donnees</td>
1143
                                <td></td>
1144
                            </tr>
1145
                                            </table>
1146
 
1147
 
1148
                                    <h4>Returns</h4>
1149
                    mixed
1150
                                            &mdash; <p>la chaine ou le tableau à protégé</p>
1151
                                                </article>
1152
        </div>
1153
        <aside class="span4 detailsbar">
1154
            <h1><i class="icon-arrow-down"></i></h1>
1155
                                                            <dl>
1156
                                                                            </dl>
1157
            <h2>Tags</h2>
1158
            <table class="table table-condensed">
1159
                                    <tr>
1160
                        <th>
1161
                            todo
1162
                        </th>
1163
                        <td>
1164
                                                    </td>
1165
                    </tr>
1166
                            </table>
1167
        </aside>
1168
    </div>
1169
 
1170
                                    <div class="row-fluid">
1171
        <div class="span8 content class">
1172
            <a id="method_protegerTableau" name="method_protegerTableau" class="anchor"></a>
1173
            <article class="method">
1174
                <h3 class="public deprecated">protegerTableau()</h3>
1175
                <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>
1176
                <pre class="signature" style="margin-right: 54px;">protegerTableau(array <span class="argument">$tableau</span>)</pre>
1177
                <p><em></em></p>
1178
 
1179
 
1180
                                    <h4>Parameters</h4>
1181
                    <table class="table table-condensed table-hover">
1182
                                                    <tr>
1183
                                <td>array</td>
1184
                                <td>$tableau</td>
1185
                                <td></td>
1186
                            </tr>
1187
                                            </table>
1188
 
1189
 
1190
                            </article>
1191
        </div>
1192
        <aside class="span4 detailsbar">
1193
            <h1><i class="icon-arrow-down"></i></h1>
1194
                                                                <aside class="alert alert-block alert-error">
1195
                    <h4>Deprecated</h4>
1196
                    changement de nom. Deviendra &quot;private&quot; dans la version 0.5. Utiliser à la place : @see proteger
1197
                </aside>
1198
                        <dl>
1199
                                                                            </dl>
1200
            <h2>Tags</h2>
1201
            <table class="table table-condensed">
1202
                                    <tr>
1203
                        <th>
1204
                            todo
1205
                        </th>
1206
                        <td>
1207
                                                    </td>
1208
                    </tr>
1209
                            </table>
1210
        </aside>
1211
    </div>
1212
 
1213
                                    <div class="row-fluid">
1214
        <div class="span8 content class">
1215
            <a id="method_recupererIdDernierAjout" name="method_recupererIdDernierAjout" class="anchor"></a>
1216
            <article class="method">
1217
                <h3 class="public ">recupererIdDernierAjout()</h3>
1218
                <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>
1219
                <pre class="signature" style="margin-right: 54px;">recupererIdDernierAjout( <span class="argument">$parametres</span>) : mixed</pre>
1220
                <p><em>Retourne l&#039;identifiant de la dernière ligne insérée, ou la dernière valeur d&#039;une séquence d&#039;objets, dépendamment, dans
1221
le cas de PDO, du driver utilisé. Les méthodes utilisées pour retourner l&#039;identifiant peuvent avoir des comportements
1222
différent. Consulter la documentation PHP correspondant à l&#039;abstraction choisie avant de l&#039;utiliser :</em></p>
1223
 
1224
 
1225
                                    <h4>Parameters</h4>
1226
                    <table class="table table-condensed table-hover">
1227
                                                    <tr>
1228
                                <td></td>
1229
                                <td>$parametres</td>
1230
                                <td></td>
1231
                            </tr>
1232
                                            </table>
1233
 
1234
 
1235
                                    <h4>Returns</h4>
1236
                    mixed
1237
                                            &mdash; <p>le dernier identifiant de clé primaire ajouté dans la base de données (string ou int).</p>
1238
                                                </article>
1239
        </div>
1240
        <aside class="span4 detailsbar">
1241
            <h1><i class="icon-arrow-down"></i></h1>
1242
                                                            <dl>
1243
                                                                                            <dt>See also</dt>
1244
                                                                <dd><a href="(http://fr.php.net/manual/fr/pdo.lastinsertid.php,"><span class="namespace-wrapper">PDO::lastInsertId([ string $name = NULL ]))</span></a></dd>
1245
                                            <dd><a href="(http://php.net/manual/en/mysqli.insert-id.php,"><span class="namespace-wrapper">mysqli-&gt;insert_id())</span></a></dd>
1246
                                            <dd><a href="(http://fr.php.net/manual/fr/function.mysql-insert-id.php,"><span class="namespace-wrapper">mysql_insert_id())</span></a></dd>
1247
                                            <dd><a href="(http://fr.php.net/manual/fr/sqlite3.lastinsertrowid.php,"><span class="namespace-wrapper">SQLite3::lastInsertRowID())</span></a></dd>
1248
                                                                </dl>
1249
            <h2>Tags</h2>
1250
            <table class="table table-condensed">
1251
                                    <tr>
1252
                        <th>
1253
                            todo
1254
                        </th>
1255
                        <td>
1256
                                                    </td>
1257
                    </tr>
1258
                            </table>
1259
        </aside>
1260
    </div>
1261
 
1262
                                    <div class="row-fluid">
1263
        <div class="span8 content class">
1264
            <a id="method___destruct" name="method___destruct" class="anchor"></a>
1265
            <article class="method">
1266
                <h3 class="public ">__destruct()</h3>
1267
                <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>
1268
                <pre class="signature" style="margin-right: 54px;">__destruct()</pre>
1269
                <p><em>Destructeur de classe, se contente de fermer explicitement la connexion à la base de donnée.</em></p>
1270
 
1271
 
1272
 
1273
 
1274
                            </article>
1275
        </div>
1276
        <aside class="span4 detailsbar">
1277
            <h1><i class="icon-arrow-down"></i></h1>
1278
                                                            <dl>
1279
                                                                            </dl>
1280
            <h2>Tags</h2>
1281
            <table class="table table-condensed">
1282
                                    <tr>
1283
                        <th>
1284
                            todo
1285
                        </th>
1286
                        <td>
1287
                                                    </td>
1288
                    </tr>
1289
                            </table>
1290
        </aside>
1291
    </div>
1292
 
1293
                                                    <div class="row-fluid">
1294
        <div class="span8 content class">
1295
            <a id="method_initialiserProtocole" name="method_initialiserProtocole" class="anchor"></a>
1296
            <article class="method">
1297
                <h3 class="protected ">initialiserProtocole()</h3>
1298
                <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>
1299
                <pre class="signature" style="margin-right: 54px;">initialiserProtocole()</pre>
1300
                <p><em>Initialise les constantes de classe à leur bonne valeur et déclenche une erreur si le protocole n&#039;est pas bien défini.</em></p>
1301
 
1302
 
1303
 
1304
 
1305
                            </article>
1306
        </div>
1307
        <aside class="span4 detailsbar">
1308
            <h1><i class="icon-arrow-down"></i></h1>
1309
                                                            <dl>
1310
                                                                            </dl>
1311
            <h2>Tags</h2>
1312
            <table class="table table-condensed">
1313
                                    <tr>
1314
                        <th>
1315
                            todo
1316
                        </th>
1317
                        <td>
1318
                                                    </td>
1319
                    </tr>
1320
                            </table>
1321
        </aside>
1322
    </div>
1323
 
1324
                                    <div class="row-fluid">
1325
        <div class="span8 content class">
1326
            <a id="method_connecter" name="method_connecter" class="anchor"></a>
1327
            <article class="method">
1328
                <h3 class="protected ">connecter()</h3>
1329
                <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>
1330
                <pre class="signature" style="margin-right: 54px;">connecter()</pre>
1331
                <p><em>Connection à la base de données en utilisant les informations fournies par
1332
le fichier de configuration.</em></p>
1333
                <p>Cette méthode est private et final car elle n'a pas vocation a être appelée par l'utilisateur.
1334
TODO : il est peut être nécessaire pour MYSQL, MYSQLi et SQLITE3 afin d'éviter les boucles infinis
1335
d'erreur quand la bdd n'est pas configuré d'utiliser : $this->connexion->query (comme pour PDO)</p>
1336
 
1337
 
1338
 
1339
                            </article>
1340
        </div>
1341
        <aside class="span4 detailsbar">
1342
            <h1><i class="icon-arrow-down"></i></h1>
1343
                                                            <dl>
1344
                                                                            </dl>
1345
            <h2>Tags</h2>
1346
            <table class="table table-condensed">
1347
                                    <tr>
1348
                        <th>
1349
                            todo
1350
                        </th>
1351
                        <td>
1352
                                                    </td>
1353
                    </tr>
1354
                            </table>
1355
        </aside>
1356
    </div>
1357
 
1358
                                    <div class="row-fluid">
1359
        <div class="span8 content class">
1360
            <a id="method_requete" name="method_requete" class="anchor"></a>
1361
            <article class="method">
1362
                <h3 class="protected deprecated">requete()</h3>
1363
                <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>
1364
                <pre class="signature" style="margin-right: 54px;">requete( <span class="argument">$requete</span>)</pre>
1365
                <p><em></em></p>
1366
 
1367
 
1368
                                    <h4>Parameters</h4>
1369
                    <table class="table table-condensed table-hover">
1370
                                                    <tr>
1371
                                <td></td>
1372
                                <td>$requete</td>
1373
                                <td></td>
1374
                            </tr>
1375
                                            </table>
1376
 
1377
 
1378
                            </article>
1379
        </div>
1380
        <aside class="span4 detailsbar">
1381
            <h1><i class="icon-arrow-down"></i></h1>
1382
                                                    <span class="label label-info">final</span>
1383
                                        <aside class="alert alert-block alert-error">
1384
                    <h4>Deprecated</h4>
1385
                    changement de nom. Disparaîtra dans la version 0.4. Utiliser à la place : @see requeter
1386
                </aside>
1387
                        <dl>
1388
                                                                            </dl>
1389
            <h2>Tags</h2>
1390
            <table class="table table-condensed">
1391
                                    <tr>
1392
                        <th>
1393
                            todo
1394
                        </th>
1395
                        <td>
1396
                                                    </td>
1397
                    </tr>
1398
                            </table>
1399
        </aside>
1400
    </div>
1401
 
1402
                                    <div class="row-fluid">
1403
        <div class="span8 content class">
1404
            <a id="method_requeteUn" name="method_requeteUn" class="anchor"></a>
1405
            <article class="method">
1406
                <h3 class="protected deprecated">requeteUn()</h3>
1407
                <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>
1408
                <pre class="signature" style="margin-right: 54px;">requeteUn( <span class="argument">$requete</span>,  <span class="argument">$mode</span>)</pre>
1409
                <p><em></em></p>
1410
 
1411
 
1412
                                    <h4>Parameters</h4>
1413
                    <table class="table table-condensed table-hover">
1414
                                                    <tr>
1415
                                <td></td>
1416
                                <td>$requete</td>
1417
                                <td></td>
1418
                            </tr>
1419
                                                    <tr>
1420
                                <td></td>
1421
                                <td>$mode</td>
1422
                                <td></td>
1423
                            </tr>
1424
                                            </table>
1425
 
1426
 
1427
                            </article>
1428
        </div>
1429
        <aside class="span4 detailsbar">
1430
            <h1><i class="icon-arrow-down"></i></h1>
1431
                                                    <span class="label label-info">final</span>
1432
                                        <aside class="alert alert-block alert-error">
1433
                    <h4>Deprecated</h4>
1434
                    changement de nom. Disparaîtra dans la version 0.4. Utiliser à la place : @see recuperer
1435
                </aside>
1436
                        <dl>
1437
                                                                            </dl>
1438
            <h2>Tags</h2>
1439
            <table class="table table-condensed">
1440
                                    <tr>
1441
                        <th>
1442
                            todo
1443
                        </th>
1444
                        <td>
1445
                                                    </td>
1446
                    </tr>
1447
                            </table>
1448
        </aside>
1449
    </div>
1450
 
1451
                                    <div class="row-fluid">
1452
        <div class="span8 content class">
1453
            <a id="method_requeteTous" name="method_requeteTous" class="anchor"></a>
1454
            <article class="method">
1455
                <h3 class="protected deprecated">requeteTous()</h3>
1456
                <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>
1457
                <pre class="signature" style="margin-right: 54px;">requeteTous( <span class="argument">$requete</span>,  <span class="argument">$mode</span>)</pre>
1458
                <p><em></em></p>
1459
 
1460
 
1461
                                    <h4>Parameters</h4>
1462
                    <table class="table table-condensed table-hover">
1463
                                                    <tr>
1464
                                <td></td>
1465
                                <td>$requete</td>
1466
                                <td></td>
1467
                            </tr>
1468
                                                    <tr>
1469
                                <td></td>
1470
                                <td>$mode</td>
1471
                                <td></td>
1472
                            </tr>
1473
                                            </table>
1474
 
1475
 
1476
                            </article>
1477
        </div>
1478
        <aside class="span4 detailsbar">
1479
            <h1><i class="icon-arrow-down"></i></h1>
1480
                                                    <span class="label label-info">final</span>
1481
                                        <aside class="alert alert-block alert-error">
1482
                    <h4>Deprecated</h4>
1483
                    changement de nom. Disparaîtra dans la version 0.4. Utiliser à la place : @see recupererTous
1484
                </aside>
1485
                        <dl>
1486
                                                                            </dl>
1487
            <h2>Tags</h2>
1488
            <table class="table table-condensed">
1489
                                    <tr>
1490
                        <th>
1491
                            todo
1492
                        </th>
1493
                        <td>
1494
                                                    </td>
1495
                    </tr>
1496
                            </table>
1497
        </aside>
1498
    </div>
1499
 
1500
                                                    <div class="row-fluid">
1501
        <div class="span8 content class">
1502
            <a id="method_protegerChaine" name="method_protegerChaine" class="anchor"></a>
1503
            <article class="method">
1504
                <h3 class="private ">protegerChaine()</h3>
1505
                <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>
1506
                <pre class="signature" style="margin-right: 54px;">protegerChaine( <span class="argument">$chaine</span>) : string</pre>
1507
                <p><em>Protège une chaine de caractères avant l&#039;insertion dans la base de données (ajout de quotes ou guillemets).</em></p>
1508
 
1509
 
1510
                                    <h4>Parameters</h4>
1511
                    <table class="table table-condensed table-hover">
1512
                                                    <tr>
1513
                                <td></td>
1514
                                <td>$chaine</td>
1515
                                <td></td>
1516
                            </tr>
1517
                                            </table>
1518
 
1519
 
1520
                                    <h4>Returns</h4>
1521
                    string
1522
                                            &mdash; <p>la chaine protégée</p>
1523
                                                </article>
1524
        </div>
1525
        <aside class="span4 detailsbar">
1526
            <h1><i class="icon-arrow-down"></i></h1>
1527
                                                            <dl>
1528
                                                                            </dl>
1529
            <h2>Tags</h2>
1530
            <table class="table table-condensed">
1531
                                    <tr>
1532
                        <th>
1533
                            todo
1534
                        </th>
1535
                        <td>
1536
                                                    </td>
1537
                    </tr>
1538
                            </table>
1539
        </aside>
1540
    </div>
1541
 
1542
                                    </div>
1543
    </section>
1544
 
1545
    <div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
1546
        <div class="modal-header">
1547
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
1548
            <h3 id="source-view-label">Bdd.php</h3>
1549
        </div>
1550
        <div class="modal-body">
1551
            <pre data-src="../files/Bdd.php.txt" class="language-php line-numbers"></pre>
1552
        </div>
1553
    </div>
1554
 
1555
    <footer class="row-fluid">
1556
        <section class="span10 offset2">
1557
            <section class="row-fluid">
1558
                <section class="span10 offset1">
1559
                    <section class="row-fluid footer-sections">
1560
                        <section class="span4">
1561
                                                        <h1><i class="icon-code"></i></h1>
1562
                            <div>
1563
                                <ul>
1564
                                                                    </ul>
1565
                            </div>
1566
                        </section>
1567
                        <section class="span4">
1568
                                                        <h1><i class="icon-bar-chart"></i></h1>
1569
                            <div>
1570
                                <ul>
1571
                                    <li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
1572
                                </ul>
1573
                            </div>
1574
                        </section>
1575
                        <section class="span4">
1576
                                                        <h1><i class="icon-pushpin"></i></h1>
1577
                            <div>
1578
                                <ul>
1579
                                    <li><a href="../reports/errors.html">Errors</a></li>
1580
                                    <li><a href="../reports/markers.html">Markers</a></li>
1581
                                </ul>
1582
                            </div>
1583
                        </section>
1584
                    </section>
1585
                </section>
1586
            </section>
1587
            <section class="row-fluid">
1588
                <section class="span10 offset1">
1589
                    <hr />
1590
                    Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
1591
                    on March 12th, 2014 at 15:57.
1592
                </section>
1593
            </section>
1594
        </section>
1595
    </footer>
1596
</div>
1597
 
1598
</body>
1599
</html>