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-410456175"></a>
142
                                <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
143
            </div>
144
            <div id="namespace-410456175" 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>SquelettePhp</h1>
193
                    <p><em>Classe SquelettePhp, traitant les squelette Php utilisant la syntaxe courte php ou pas.</em></p>
194
                    <p>Ces méthodes sont statiques.</p>
195
 
196
                    <section id="summary">
197
                        <h2>Summary</h2>
198
                        <section class="row-fluid heading">
199
                            <section class="span4">
200
                                <a href="#methods">Methods</a>
201
                            </section>
202
                            <section class="span4">
203
                                <a href="#properties">Properties</a>
204
                            </section>
205
                            <section class="span4">
206
                                <a href="#constants">Constants</a>
207
                            </section>
208
                        </section>
209
                        <section class="row-fluid public">
210
                            <section class="span4">
211
                                                                    <a href="../classes/SquelettePhp.html#method_analyser" class="">analyser()</a><br />
212
                                                            </section>
213
                            <section class="span4">
214
                                                                    <em>No public properties found</em>
215
                                                            </section>
216
                            <section class="span4">
217
                                                                    <em>No constants found</em>
218
                                                            </section>
219
                        </section>
220
                        <section class="row-fluid protected">
221
                            <section class="span4">
222
                                                                    <em>No protected methods found</em>
223
                                                            </section>
224
                            <section class="span4">
225
                                                                    <em>No protected properties found</em>
226
                                                            </section>
227
                            <section class="span4">
228
                                <em>N/A</em>
229
                            </section>
230
                        </section>
231
                        <section class="row-fluid private">
232
                            <section class="span4">
233
                                                                    <a href="../classes/SquelettePhp.html#method_traiterTagsCourts" class="">traiterTagsCourts()</a><br />
234
                                                            </section>
235
                            <section class="span4">
236
                                                                    <em>No private properties found</em>
237
                                                            </section>
238
                            <section class="span4">
239
                                <em>N/A</em>
240
                            </section>
241
                        </section>
242
                    </section>
243
                </div>
244
                <aside class="span4 detailsbar">
245
 
246
 
247
                    <dl>
248
                        <dt>File</dt>
249
                            <dd><a href="../files/SquelettePhp.php.html"><div class="path-wrapper">SquelettePhp.php</div></a></dd>
250
                                                <dt>Package</dt>
251
                            <dd><div class="namespace-wrapper">\Framework</div></dd>
252
                                                <dt>Class hierarchy</dt>
253
                            <dd class="hierarchy">
254
                                                                                                                                                                    <div class="namespace-wrapper">\SquelettePhp</div>
255
                            </dd>
256
 
257
 
258
 
259
 
260
                                                                            <dt>See also</dt>
261
                                                                                    <dd><a href="/doc/framework/"><div class="namespace-wrapper">/doc/framework/</div></a></dd>
262
 
263
                                                                        </dl>
264
                    <h2>Tags</h2>
265
                    <table class="table table-condensed">
266
                                            <tr>
267
                            <th>
268
                                category
269
                            </th>
270
                            <td>
271
                                                                    <p>php5</p>
272
                                                            </td>
273
                        </tr>
274
                                            <tr>
275
                            <th>
276
                                author
277
                            </th>
278
                            <td>
279
                                                                    <p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p>
280
                                                            </td>
281
                        </tr>
282
                                            <tr>
283
                            <th>
284
                                copyright
285
                            </th>
286
                            <td>
287
                                                                    <p>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</p>
288
                                                            </td>
289
                        </tr>
290
                                            <tr>
291
                            <th>
292
                                license
293
                            </th>
294
                            <td>
295
                                                                    <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>
296
                                                                    <p><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL</p>
297
                                                            </td>
298
                        </tr>
299
                                            <tr>
300
                            <th>
301
                                version
302
                            </th>
303
                            <td>
304
                                                                    <p>$Id: SquelettePhp.php 446 2013-10-28 14:21:50Z raphael $</p>
305
                                                            </td>
306
                        </tr>
307
                                            <tr>
308
                            <th>
309
                                todo
310
                            </th>
311
                            <td>
312
                                                            </td>
313
                        </tr>
314
                                        </table>
315
                </aside>
316
            </div>
317
 
318
 
319
 
320
                                    <a id="methods" name="methods"></a>
321
            <div class="row-fluid">
322
                <div class="span8 content class"><h2>Methods</h2></div>
323
                <aside class="span4 detailsbar"></aside>
324
            </div>
325
 
326
                                    <div class="row-fluid">
327
        <div class="span8 content class">
328
            <a id="method_analyser" name="method_analyser" class="anchor"></a>
329
            <article class="method">
330
                <h3 class="public ">analyser()</h3>
331
                <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>
332
                <pre class="signature" style="margin-right: 54px;">analyser(String <span class="argument">$fichier</span>, Array <span class="argument">$donnees</span>) : boolean</pre>
333
                <p><em>Fonction prenant en paramètre un chemin de fichier squelette et un tableau associatif de données,
334
en extrait les variables, charge le squelette et retourne le résultat des deux combinés.</em></p>
335
 
336
 
337
                                    <h4>Parameters</h4>
338
                    <table class="table table-condensed table-hover">
339
                                                    <tr>
340
                                <td>String</td>
341
                                <td>$fichier</td>
342
                                <td><p>le chemin du fichier du squelette</p></td>
343
                            </tr>
344
                                                    <tr>
345
                                <td>Array</td>
346
                                <td>$donnees</td>
347
                                <td><p>un tableau associatif contenant les variables a injecter dans le squelette.</p></td>
348
                            </tr>
349
                                            </table>
350
 
351
 
352
                                    <h4>Returns</h4>
353
                    boolean
354
                                            &mdash; <p>false si la vue n'existe pas, sinon la chaine résultat.</p>
355
                                                </article>
356
        </div>
357
        <aside class="span4 detailsbar">
358
            <h1><i class="icon-arrow-down"></i></h1>
359
                            <span class="label label-info">static</span>
360
                                                            <dl>
361
                                                                            </dl>
362
            <h2>Tags</h2>
363
            <table class="table table-condensed">
364
                                    <tr>
365
                        <th>
366
                            todo
367
                        </th>
368
                        <td>
369
                                                    </td>
370
                    </tr>
371
                            </table>
372
        </aside>
373
    </div>
374
 
375
                                                                    <div class="row-fluid">
376
        <div class="span8 content class">
377
            <a id="method_traiterTagsCourts" name="method_traiterTagsCourts" class="anchor"></a>
378
            <article class="method">
379
                <h3 class="private ">traiterTagsCourts()</h3>
380
                <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>
381
                <pre class="signature" style="margin-right: 54px;">traiterTagsCourts(String <span class="argument">$chemin_squelette</span>) : string</pre>
382
                <p><em>Fonction chargeant le contenu du squelette et remplaçant les tags court php (&lt;?= .</em></p>
383
                <p>..) par un tag long avec echo.</p>
384
 
385
                                    <h4>Parameters</h4>
386
                    <table class="table table-condensed table-hover">
387
                                                    <tr>
388
                                <td>String</td>
389
                                <td>$chemin_squelette</td>
390
                                <td><p>le chemin du fichier du squelette</p></td>
391
                            </tr>
392
                                            </table>
393
 
394
 
395
                                    <h4>Returns</h4>
396
                    string
397
                                            &mdash; <p>le contenu du fichier du squelette php avec les tags courts remplacés.</p>
398
                                                </article>
399
        </div>
400
        <aside class="span4 detailsbar">
401
            <h1><i class="icon-arrow-down"></i></h1>
402
                            <span class="label label-info">static</span>
403
                                                            <dl>
404
                                                                            </dl>
405
            <h2>Tags</h2>
406
            <table class="table table-condensed">
407
                                    <tr>
408
                        <th>
409
                            todo
410
                        </th>
411
                        <td>
412
                                                    </td>
413
                    </tr>
414
                            </table>
415
        </aside>
416
    </div>
417
 
418
                                    </div>
419
    </section>
420
 
421
    <div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
422
        <div class="modal-header">
423
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
424
            <h3 id="source-view-label">SquelettePhp.php</h3>
425
        </div>
426
        <div class="modal-body">
427
            <pre data-src="../files/SquelettePhp.php.txt" class="language-php line-numbers"></pre>
428
        </div>
429
    </div>
430
 
431
    <footer class="row-fluid">
432
        <section class="span10 offset2">
433
            <section class="row-fluid">
434
                <section class="span10 offset1">
435
                    <section class="row-fluid footer-sections">
436
                        <section class="span4">
437
                                                        <h1><i class="icon-code"></i></h1>
438
                            <div>
439
                                <ul>
440
                                                                    </ul>
441
                            </div>
442
                        </section>
443
                        <section class="span4">
444
                                                        <h1><i class="icon-bar-chart"></i></h1>
445
                            <div>
446
                                <ul>
447
                                    <li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
448
                                </ul>
449
                            </div>
450
                        </section>
451
                        <section class="span4">
452
                                                        <h1><i class="icon-pushpin"></i></h1>
453
                            <div>
454
                                <ul>
455
                                    <li><a href="../reports/errors.html">Errors</a></li>
456
                                    <li><a href="../reports/markers.html">Markers</a></li>
457
                                </ul>
458
                            </div>
459
                        </section>
460
                    </section>
461
                </section>
462
            </section>
463
            <section class="row-fluid">
464
                <section class="span10 offset1">
465
                    <hr />
466
                    Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
467
                    on March 12th, 2014 at 15:57.
468
                </section>
469
            </section>
470
        </section>
471
    </footer>
472
</div>
473
 
474
</body>
475
</html>