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