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-1726026430"></a>
|
|
|
142 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
|
|
143 |
</div>
|
|
|
144 |
<div id="namespace-1726026430" 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>GestionnaireException</h1>
|
|
|
193 |
<p><em>Classe de gestion des exceptions.</em></p>
|
|
|
194 |
<p>C'est un Singleton.</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/GestionnaireException.html#method_initialiser" class="">initialiser()</a><br />
|
|
|
212 |
<a href="../classes/GestionnaireException.html#method_configurer" class="">configurer()</a><br />
|
|
|
213 |
<a href="../classes/GestionnaireException.html#method_getExceptionsNbre" class="">getExceptionsNbre()</a><br />
|
|
|
214 |
<a href="../classes/GestionnaireException.html#method_getContexte" class="">getContexte()</a><br />
|
|
|
215 |
<a href="../classes/GestionnaireException.html#method_setContexte" class="">setContexte()</a><br />
|
|
|
216 |
<a href="../classes/GestionnaireException.html#method_gererException" class="">gererException()</a><br />
|
|
|
217 |
<a href="../classes/GestionnaireException.html#method_gererErreur" class="">gererErreur()</a><br />
|
|
|
218 |
<a href="../classes/GestionnaireException.html#method_getExceptions" class="deprecated">getExceptions()</a><br />
|
|
|
219 |
<a href="../classes/GestionnaireException.html#method_getExceptionsFormatees" class="">getExceptionsFormatees()</a><br />
|
|
|
220 |
<a href="../classes/GestionnaireException.html#method_getExceptionsTriees" class="">getExceptionsTriees()</a><br />
|
|
|
221 |
<a href="../classes/GestionnaireException.html#method_formaterExceptionDebug" class="">formaterExceptionDebug()</a><br />
|
|
|
222 |
<a href="../classes/GestionnaireException.html#method_formaterExceptionTxt" class="">formaterExceptionTxt()</a><br />
|
|
|
223 |
<a href="../classes/GestionnaireException.html#method_formaterExceptionXhtml" class="">formaterExceptionXhtml()</a><br />
|
|
|
224 |
<a href="../classes/GestionnaireException.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/GestionnaireException.html#constant_MODE_CLI" class="">MODE_CLI</a><br />
|
|
|
231 |
</section>
|
|
|
232 |
</section>
|
|
|
233 |
<section class="row-fluid protected">
|
|
|
234 |
<section class="span4">
|
|
|
235 |
<em>No protected methods found</em>
|
|
|
236 |
</section>
|
|
|
237 |
<section class="span4">
|
|
|
238 |
<em>No protected properties found</em>
|
|
|
239 |
</section>
|
|
|
240 |
<section class="span4">
|
|
|
241 |
<em>N/A</em>
|
|
|
242 |
</section>
|
|
|
243 |
</section>
|
|
|
244 |
<section class="row-fluid private">
|
|
|
245 |
<section class="span4">
|
|
|
246 |
<a href="../classes/GestionnaireException.html#method_loggerException" class="">loggerException()</a><br />
|
|
|
247 |
</section>
|
|
|
248 |
<section class="span4">
|
|
|
249 |
<a href="../classes/GestionnaireException.html#property_exceptions" class="">$exceptions</a><br />
|
|
|
250 |
<a href="../classes/GestionnaireException.html#property_contexte" class="">$contexte</a><br />
|
|
|
251 |
<a href="../classes/GestionnaireException.html#property_logger" class="">$logger</a><br />
|
|
|
252 |
<a href="../classes/GestionnaireException.html#property_afficher" class="">$afficher</a><br />
|
|
|
253 |
<a href="../classes/GestionnaireException.html#property_mode" class="">$mode</a><br />
|
|
|
254 |
<a href="../classes/GestionnaireException.html#property_parametres_obligatoires" class="">$parametres_obligatoires</a><br />
|
|
|
255 |
</section>
|
|
|
256 |
<section class="span4">
|
|
|
257 |
<em>N/A</em>
|
|
|
258 |
</section>
|
|
|
259 |
</section>
|
|
|
260 |
</section>
|
|
|
261 |
</div>
|
|
|
262 |
<aside class="span4 detailsbar">
|
|
|
263 |
|
|
|
264 |
|
|
|
265 |
<dl>
|
|
|
266 |
<dt>File</dt>
|
|
|
267 |
<dd><a href="../files/GestionnaireException.php.html"><div class="path-wrapper">GestionnaireException.php</div></a></dd>
|
|
|
268 |
<dt>Package</dt>
|
|
|
269 |
<dd><div class="namespace-wrapper">\Framework</div></dd>
|
|
|
270 |
<dt>Class hierarchy</dt>
|
|
|
271 |
<dd class="hierarchy">
|
|
|
272 |
<div class="namespace-wrapper">\GestionnaireException</div>
|
|
|
273 |
</dd>
|
|
|
274 |
|
|
|
275 |
|
|
|
276 |
|
|
|
277 |
|
|
|
278 |
<dt>See also</dt>
|
|
|
279 |
<dd><a href="/doc/framework/"><div class="namespace-wrapper">/doc/framework/</div></a></dd>
|
|
|
280 |
|
|
|
281 |
</dl>
|
|
|
282 |
<h2>Tags</h2>
|
|
|
283 |
<table class="table table-condensed">
|
|
|
284 |
<tr>
|
|
|
285 |
<th>
|
|
|
286 |
category
|
|
|
287 |
</th>
|
|
|
288 |
<td>
|
|
|
289 |
<p>PHP 5.2</p>
|
|
|
290 |
</td>
|
|
|
291 |
</tr>
|
|
|
292 |
<tr>
|
|
|
293 |
<th>
|
|
|
294 |
author
|
|
|
295 |
</th>
|
|
|
296 |
<td>
|
|
|
297 |
<p>Aurélien PERONNET <a href="mailto:aurelien@tela-botanica.org">aurelien@tela-botanica.org</a></p>
|
|
|
298 |
<p>Jean-Pascal MILCENT <a href="mailto:jmp@tela-botanica.org">jmp@tela-botanica.org</a></p>
|
|
|
299 |
</td>
|
|
|
300 |
</tr>
|
|
|
301 |
<tr>
|
|
|
302 |
<th>
|
|
|
303 |
copyright
|
|
|
304 |
</th>
|
|
|
305 |
<td>
|
|
|
306 |
<p>Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</p>
|
|
|
307 |
</td>
|
|
|
308 |
</tr>
|
|
|
309 |
<tr>
|
|
|
310 |
<th>
|
|
|
311 |
license
|
|
|
312 |
</th>
|
|
|
313 |
<td>
|
|
|
314 |
<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>
|
|
|
315 |
<p><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL</p>
|
|
|
316 |
</td>
|
|
|
317 |
</tr>
|
|
|
318 |
<tr>
|
|
|
319 |
<th>
|
|
|
320 |
version
|
|
|
321 |
</th>
|
|
|
322 |
<td>
|
|
|
323 |
<p>$Id: GestionnaireException.php 369 2011-10-03 12:47:17Z jpm $$</p>
|
|
|
324 |
</td>
|
|
|
325 |
</tr>
|
|
|
326 |
<tr>
|
|
|
327 |
<th>
|
|
|
328 |
todo
|
|
|
329 |
</th>
|
|
|
330 |
<td>
|
|
|
331 |
</td>
|
|
|
332 |
</tr>
|
|
|
333 |
</table>
|
|
|
334 |
</aside>
|
|
|
335 |
</div>
|
|
|
336 |
|
|
|
337 |
<a id="constants" name="constants"></a>
|
|
|
338 |
<div class="row-fluid">
|
|
|
339 |
<div class="span8 content class">
|
|
|
340 |
<h2>Constants</h2>
|
|
|
341 |
</div>
|
|
|
342 |
<aside class="span4 detailsbar"></aside>
|
|
|
343 |
</div>
|
|
|
344 |
|
|
|
345 |
<div class="row-fluid">
|
|
|
346 |
<div class="span8 content class">
|
|
|
347 |
<a id="constant_MODE_CLI" name="constant_MODE_CLI" class="anchor"></a>
|
|
|
348 |
<article id="constant_MODE_CLI" class="constant">
|
|
|
349 |
<h3 class="">MODE_CLI</h3>
|
|
|
350 |
<pre class="signature">MODE_CLI</pre>
|
|
|
351 |
<p><em></em></p>
|
|
|
352 |
|
|
|
353 |
</article>
|
|
|
354 |
</div>
|
|
|
355 |
<aside class="span4 detailsbar">
|
|
|
356 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
357 |
<dl>
|
|
|
358 |
</dl>
|
|
|
359 |
<h2>Tags</h2>
|
|
|
360 |
<table class="table table-condensed">
|
|
|
361 |
<tr>
|
|
|
362 |
<th>
|
|
|
363 |
todo
|
|
|
364 |
</th>
|
|
|
365 |
<td>
|
|
|
366 |
</td>
|
|
|
367 |
</tr>
|
|
|
368 |
</table>
|
|
|
369 |
</aside>
|
|
|
370 |
</div>
|
|
|
371 |
|
|
|
372 |
|
|
|
373 |
<a id="properties" name="properties"></a>
|
|
|
374 |
<div class="row-fluid">
|
|
|
375 |
<div class="span8 content class">
|
|
|
376 |
<h2>Properties</h2>
|
|
|
377 |
</div>
|
|
|
378 |
<aside class="span4 detailsbar"></aside>
|
|
|
379 |
</div>
|
|
|
380 |
|
|
|
381 |
<div class="row-fluid">
|
|
|
382 |
<div class="span8 content class">
|
|
|
383 |
<a id="property_exceptions" name="property_exceptions" class="anchor"></a>
|
|
|
384 |
<article class="property">
|
|
|
385 |
<h3 class="private ">$exceptions</h3>
|
|
|
386 |
<pre class="signature">$exceptions</pre>
|
|
|
387 |
<p><em>Liste des exceptions enregistrées</em></p>
|
|
|
388 |
|
|
|
389 |
|
|
|
390 |
</article>
|
|
|
391 |
</div>
|
|
|
392 |
<aside class="span4 detailsbar">
|
|
|
393 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
394 |
<dl>
|
|
|
395 |
</dl>
|
|
|
396 |
<h2>Tags</h2>
|
|
|
397 |
<table class="table table-condensed">
|
|
|
398 |
<tr>
|
|
|
399 |
<th>
|
|
|
400 |
todo
|
|
|
401 |
</th>
|
|
|
402 |
<td>
|
|
|
403 |
</td>
|
|
|
404 |
</tr>
|
|
|
405 |
</table>
|
|
|
406 |
</aside>
|
|
|
407 |
</div>
|
|
|
408 |
|
|
|
409 |
<div class="row-fluid">
|
|
|
410 |
<div class="span8 content class">
|
|
|
411 |
<a id="property_contexte" name="property_contexte" class="anchor"></a>
|
|
|
412 |
<article class="property">
|
|
|
413 |
<h3 class="private ">$contexte</h3>
|
|
|
414 |
<pre class="signature">$contexte</pre>
|
|
|
415 |
<p><em>Détermine si l'on affiche ou non le contexte</em></p>
|
|
|
416 |
|
|
|
417 |
|
|
|
418 |
</article>
|
|
|
419 |
</div>
|
|
|
420 |
<aside class="span4 detailsbar">
|
|
|
421 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
422 |
<dl>
|
|
|
423 |
</dl>
|
|
|
424 |
<h2>Tags</h2>
|
|
|
425 |
<table class="table table-condensed">
|
|
|
426 |
<tr>
|
|
|
427 |
<th>
|
|
|
428 |
todo
|
|
|
429 |
</th>
|
|
|
430 |
<td>
|
|
|
431 |
</td>
|
|
|
432 |
</tr>
|
|
|
433 |
</table>
|
|
|
434 |
</aside>
|
|
|
435 |
</div>
|
|
|
436 |
|
|
|
437 |
<div class="row-fluid">
|
|
|
438 |
<div class="span8 content class">
|
|
|
439 |
<a id="property_logger" name="property_logger" class="anchor"></a>
|
|
|
440 |
<article class="property">
|
|
|
441 |
<h3 class="private ">$logger</h3>
|
|
|
442 |
<pre class="signature">$logger</pre>
|
|
|
443 |
<p><em>Détermine si l'on loggue ou non les erreurs</em></p>
|
|
|
444 |
|
|
|
445 |
|
|
|
446 |
</article>
|
|
|
447 |
</div>
|
|
|
448 |
<aside class="span4 detailsbar">
|
|
|
449 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
450 |
<dl>
|
|
|
451 |
</dl>
|
|
|
452 |
<h2>Tags</h2>
|
|
|
453 |
<table class="table table-condensed">
|
|
|
454 |
<tr>
|
|
|
455 |
<th>
|
|
|
456 |
todo
|
|
|
457 |
</th>
|
|
|
458 |
<td>
|
|
|
459 |
</td>
|
|
|
460 |
</tr>
|
|
|
461 |
</table>
|
|
|
462 |
</aside>
|
|
|
463 |
</div>
|
|
|
464 |
|
|
|
465 |
<div class="row-fluid">
|
|
|
466 |
<div class="span8 content class">
|
|
|
467 |
<a id="property_afficher" name="property_afficher" class="anchor"></a>
|
|
|
468 |
<article class="property">
|
|
|
469 |
<h3 class="private ">$afficher</h3>
|
|
|
470 |
<pre class="signature">$afficher</pre>
|
|
|
471 |
<p><em>Détermine si l'affichage des erreurs est forcé (true) ou pas (false) à la destruction de la classe</em></p>
|
|
|
472 |
|
|
|
473 |
|
|
|
474 |
</article>
|
|
|
475 |
</div>
|
|
|
476 |
<aside class="span4 detailsbar">
|
|
|
477 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
478 |
<dl>
|
|
|
479 |
</dl>
|
|
|
480 |
<h2>Tags</h2>
|
|
|
481 |
<table class="table table-condensed">
|
|
|
482 |
<tr>
|
|
|
483 |
<th>
|
|
|
484 |
todo
|
|
|
485 |
</th>
|
|
|
486 |
<td>
|
|
|
487 |
</td>
|
|
|
488 |
</tr>
|
|
|
489 |
</table>
|
|
|
490 |
</aside>
|
|
|
491 |
</div>
|
|
|
492 |
|
|
|
493 |
<div class="row-fluid">
|
|
|
494 |
<div class="span8 content class">
|
|
|
495 |
<a id="property_mode" name="property_mode" class="anchor"></a>
|
|
|
496 |
<article class="property">
|
|
|
497 |
<h3 class="private ">$mode</h3>
|
|
|
498 |
<pre class="signature">$mode</pre>
|
|
|
499 |
<p><em>Definit si php est lancé en ligne de commande ou en mode serveur</em></p>
|
|
|
500 |
|
|
|
501 |
|
|
|
502 |
</article>
|
|
|
503 |
</div>
|
|
|
504 |
<aside class="span4 detailsbar">
|
|
|
505 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
506 |
<dl>
|
|
|
507 |
</dl>
|
|
|
508 |
<h2>Tags</h2>
|
|
|
509 |
<table class="table table-condensed">
|
|
|
510 |
<tr>
|
|
|
511 |
<th>
|
|
|
512 |
todo
|
|
|
513 |
</th>
|
|
|
514 |
<td>
|
|
|
515 |
</td>
|
|
|
516 |
</tr>
|
|
|
517 |
</table>
|
|
|
518 |
</aside>
|
|
|
519 |
</div>
|
|
|
520 |
|
|
|
521 |
<div class="row-fluid">
|
|
|
522 |
<div class="span8 content class">
|
|
|
523 |
<a id="property_parametres_obligatoires" name="property_parametres_obligatoires" class="anchor"></a>
|
|
|
524 |
<article class="property">
|
|
|
525 |
<h3 class="private ">$parametres_obligatoires</h3>
|
|
|
526 |
<pre class="signature">$parametres_obligatoires</pre>
|
|
|
527 |
<p><em>Tableau des noms des paramètres à définir dans le fichier de config car obligatoirement nécessaire à cette classe.</em></p>
|
|
|
528 |
|
|
|
529 |
|
|
|
530 |
</article>
|
|
|
531 |
</div>
|
|
|
532 |
<aside class="span4 detailsbar">
|
|
|
533 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
534 |
<dl>
|
|
|
535 |
</dl>
|
|
|
536 |
<h2>Tags</h2>
|
|
|
537 |
<table class="table table-condensed">
|
|
|
538 |
<tr>
|
|
|
539 |
<th>
|
|
|
540 |
todo
|
|
|
541 |
</th>
|
|
|
542 |
<td>
|
|
|
543 |
</td>
|
|
|
544 |
</tr>
|
|
|
545 |
</table>
|
|
|
546 |
</aside>
|
|
|
547 |
</div>
|
|
|
548 |
|
|
|
549 |
|
|
|
550 |
<a id="methods" name="methods"></a>
|
|
|
551 |
<div class="row-fluid">
|
|
|
552 |
<div class="span8 content class"><h2>Methods</h2></div>
|
|
|
553 |
<aside class="span4 detailsbar"></aside>
|
|
|
554 |
</div>
|
|
|
555 |
|
|
|
556 |
<div class="row-fluid">
|
|
|
557 |
<div class="span8 content class">
|
|
|
558 |
<a id="method_initialiser" name="method_initialiser" class="anchor"></a>
|
|
|
559 |
<article class="method">
|
|
|
560 |
<h3 class="public ">initialiser()</h3>
|
|
|
561 |
<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>
|
|
|
562 |
<pre class="signature" style="margin-right: 54px;">initialiser()</pre>
|
|
|
563 |
<p><em>Initialise le Gestionnaire d'exceptions et d'erreur sans tenir comptes des paramêtres de config.</em></p>
|
|
|
564 |
|
|
|
565 |
|
|
|
566 |
|
|
|
567 |
|
|
|
568 |
</article>
|
|
|
569 |
</div>
|
|
|
570 |
<aside class="span4 detailsbar">
|
|
|
571 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
572 |
<span class="label label-info">static</span>
|
|
|
573 |
<dl>
|
|
|
574 |
</dl>
|
|
|
575 |
<h2>Tags</h2>
|
|
|
576 |
<table class="table table-condensed">
|
|
|
577 |
<tr>
|
|
|
578 |
<th>
|
|
|
579 |
todo
|
|
|
580 |
</th>
|
|
|
581 |
<td>
|
|
|
582 |
</td>
|
|
|
583 |
</tr>
|
|
|
584 |
</table>
|
|
|
585 |
</aside>
|
|
|
586 |
</div>
|
|
|
587 |
|
|
|
588 |
<div class="row-fluid">
|
|
|
589 |
<div class="span8 content class">
|
|
|
590 |
<a id="method_configurer" name="method_configurer" class="anchor"></a>
|
|
|
591 |
<article class="method">
|
|
|
592 |
<h3 class="public ">configurer()</h3>
|
|
|
593 |
<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>
|
|
|
594 |
<pre class="signature" style="margin-right: 54px;">configurer()</pre>
|
|
|
595 |
<p><em>Configure le Gestionnaire d'exceptions et d'erreur à partir des paramêtres de config.</em></p>
|
|
|
596 |
|
|
|
597 |
|
|
|
598 |
|
|
|
599 |
|
|
|
600 |
</article>
|
|
|
601 |
</div>
|
|
|
602 |
<aside class="span4 detailsbar">
|
|
|
603 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
604 |
<span class="label label-info">static</span>
|
|
|
605 |
<dl>
|
|
|
606 |
</dl>
|
|
|
607 |
<h2>Tags</h2>
|
|
|
608 |
<table class="table table-condensed">
|
|
|
609 |
<tr>
|
|
|
610 |
<th>
|
|
|
611 |
todo
|
|
|
612 |
</th>
|
|
|
613 |
<td>
|
|
|
614 |
</td>
|
|
|
615 |
</tr>
|
|
|
616 |
</table>
|
|
|
617 |
</aside>
|
|
|
618 |
</div>
|
|
|
619 |
|
|
|
620 |
<div class="row-fluid">
|
|
|
621 |
<div class="span8 content class">
|
|
|
622 |
<a id="method_getExceptionsNbre" name="method_getExceptionsNbre" class="anchor"></a>
|
|
|
623 |
<article class="method">
|
|
|
624 |
<h3 class="public ">getExceptionsNbre()</h3>
|
|
|
625 |
<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>
|
|
|
626 |
<pre class="signature" style="margin-right: 54px;">getExceptionsNbre() : int</pre>
|
|
|
627 |
<p><em>Renvoie le nombre d'exceptions et d'erreurs levées.</em></p>
|
|
|
628 |
|
|
|
629 |
|
|
|
630 |
|
|
|
631 |
|
|
|
632 |
<h4>Returns</h4>
|
|
|
633 |
int
|
|
|
634 |
— <p>le nombre d'exception actuellement levées</p>
|
|
|
635 |
</article>
|
|
|
636 |
</div>
|
|
|
637 |
<aside class="span4 detailsbar">
|
|
|
638 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
639 |
<span class="label label-info">static</span>
|
|
|
640 |
<dl>
|
|
|
641 |
<dt>See also</dt>
|
|
|
642 |
<dd><a href=""><span class="namespace-wrapper">pour obtenir les exceptions formatées.</span></a></dd>
|
|
|
643 |
</dl>
|
|
|
644 |
<h2>Tags</h2>
|
|
|
645 |
<table class="table table-condensed">
|
|
|
646 |
<tr>
|
|
|
647 |
<th>
|
|
|
648 |
since
|
|
|
649 |
</th>
|
|
|
650 |
<td>
|
|
|
651 |
0.3
|
|
|
652 |
</td>
|
|
|
653 |
</tr>
|
|
|
654 |
<tr>
|
|
|
655 |
<th>
|
|
|
656 |
todo
|
|
|
657 |
</th>
|
|
|
658 |
<td>
|
|
|
659 |
</td>
|
|
|
660 |
</tr>
|
|
|
661 |
</table>
|
|
|
662 |
</aside>
|
|
|
663 |
</div>
|
|
|
664 |
|
|
|
665 |
<div class="row-fluid">
|
|
|
666 |
<div class="span8 content class">
|
|
|
667 |
<a id="method_getContexte" name="method_getContexte" class="anchor"></a>
|
|
|
668 |
<article class="method">
|
|
|
669 |
<h3 class="public ">getContexte()</h3>
|
|
|
670 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
671 |
<pre class="signature" style="margin-right: 54px;">getContexte() : bool</pre>
|
|
|
672 |
<p><em>Renvoie le booleen définissant si l'on affiche le contexte ou non</em></p>
|
|
|
673 |
|
|
|
674 |
|
|
|
675 |
|
|
|
676 |
|
|
|
677 |
<h4>Returns</h4>
|
|
|
678 |
bool
|
|
|
679 |
— <p>true si on affiche le contexte sinon false.</p>
|
|
|
680 |
</article>
|
|
|
681 |
</div>
|
|
|
682 |
<aside class="span4 detailsbar">
|
|
|
683 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
684 |
<span class="label label-info">static</span>
|
|
|
685 |
<dl>
|
|
|
686 |
</dl>
|
|
|
687 |
<h2>Tags</h2>
|
|
|
688 |
<table class="table table-condensed">
|
|
|
689 |
<tr>
|
|
|
690 |
<th>
|
|
|
691 |
todo
|
|
|
692 |
</th>
|
|
|
693 |
<td>
|
|
|
694 |
</td>
|
|
|
695 |
</tr>
|
|
|
696 |
</table>
|
|
|
697 |
</aside>
|
|
|
698 |
</div>
|
|
|
699 |
|
|
|
700 |
<div class="row-fluid">
|
|
|
701 |
<div class="span8 content class">
|
|
|
702 |
<a id="method_setContexte" name="method_setContexte" class="anchor"></a>
|
|
|
703 |
<article class="method">
|
|
|
704 |
<h3 class="public ">setContexte()</h3>
|
|
|
705 |
<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>
|
|
|
706 |
<pre class="signature" style="margin-right: 54px;">setContexte( <span class="argument">$contexte</span>)</pre>
|
|
|
707 |
<p><em>Definit si l'on veut afficher le contexte ou non</em></p>
|
|
|
708 |
|
|
|
709 |
|
|
|
710 |
<h4>Parameters</h4>
|
|
|
711 |
<table class="table table-condensed table-hover">
|
|
|
712 |
<tr>
|
|
|
713 |
<td></td>
|
|
|
714 |
<td>$contexte</td>
|
|
|
715 |
<td></td>
|
|
|
716 |
</tr>
|
|
|
717 |
</table>
|
|
|
718 |
|
|
|
719 |
|
|
|
720 |
</article>
|
|
|
721 |
</div>
|
|
|
722 |
<aside class="span4 detailsbar">
|
|
|
723 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
724 |
<span class="label label-info">static</span>
|
|
|
725 |
<dl>
|
|
|
726 |
</dl>
|
|
|
727 |
<h2>Tags</h2>
|
|
|
728 |
<table class="table table-condensed">
|
|
|
729 |
<tr>
|
|
|
730 |
<th>
|
|
|
731 |
todo
|
|
|
732 |
</th>
|
|
|
733 |
<td>
|
|
|
734 |
</td>
|
|
|
735 |
</tr>
|
|
|
736 |
</table>
|
|
|
737 |
</aside>
|
|
|
738 |
</div>
|
|
|
739 |
|
|
|
740 |
<div class="row-fluid">
|
|
|
741 |
<div class="span8 content class">
|
|
|
742 |
<a id="method_gererException" name="method_gererException" class="anchor"></a>
|
|
|
743 |
<article class="method">
|
|
|
744 |
<h3 class="public ">gererException()</h3>
|
|
|
745 |
<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>
|
|
|
746 |
<pre class="signature" style="margin-right: 54px;">gererException(\Exception <span class="argument">$e</span>)</pre>
|
|
|
747 |
<p><em>Fonction de gestion des exceptions, remplace le handler par défaut.</em></p>
|
|
|
748 |
<p>Si une boucle génère de multiple exception (ou erreur) identique une seule sera stockée.</p>
|
|
|
749 |
|
|
|
750 |
<h4>Parameters</h4>
|
|
|
751 |
<table class="table table-condensed table-hover">
|
|
|
752 |
<tr>
|
|
|
753 |
<td>\Exception</td>
|
|
|
754 |
<td>$e</td>
|
|
|
755 |
<td><p>l'exception à traiter</p></td>
|
|
|
756 |
</tr>
|
|
|
757 |
</table>
|
|
|
758 |
|
|
|
759 |
|
|
|
760 |
</article>
|
|
|
761 |
</div>
|
|
|
762 |
<aside class="span4 detailsbar">
|
|
|
763 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
764 |
<span class="label label-info">static</span>
|
|
|
765 |
<dl>
|
|
|
766 |
</dl>
|
|
|
767 |
<h2>Tags</h2>
|
|
|
768 |
<table class="table table-condensed">
|
|
|
769 |
<tr>
|
|
|
770 |
<th>
|
|
|
771 |
todo
|
|
|
772 |
</th>
|
|
|
773 |
<td>
|
|
|
774 |
</td>
|
|
|
775 |
</tr>
|
|
|
776 |
</table>
|
|
|
777 |
</aside>
|
|
|
778 |
</div>
|
|
|
779 |
|
|
|
780 |
<div class="row-fluid">
|
|
|
781 |
<div class="span8 content class">
|
|
|
782 |
<a id="method_gererErreur" name="method_gererErreur" class="anchor"></a>
|
|
|
783 |
<article class="method">
|
|
|
784 |
<h3 class="public ">gererErreur()</h3>
|
|
|
785 |
<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>
|
|
|
786 |
<pre class="signature" style="margin-right: 54px;">gererErreur(int <span class="argument">$niveau</span>, string <span class="argument">$message</span>, string <span class="argument">$fichier</span>, int <span class="argument">$ligne</span>, string <span class="argument">$contexte</span>)</pre>
|
|
|
787 |
<p><em>Gère les erreurs en les convertissant en exceptions (remplace la fonction gestion d'erreurs native de php)</em></p>
|
|
|
788 |
|
|
|
789 |
|
|
|
790 |
<h4>Parameters</h4>
|
|
|
791 |
<table class="table table-condensed table-hover">
|
|
|
792 |
<tr>
|
|
|
793 |
<td>int</td>
|
|
|
794 |
<td>$niveau</td>
|
|
|
795 |
<td><p>le niveau de l'erreur</p></td>
|
|
|
796 |
</tr>
|
|
|
797 |
<tr>
|
|
|
798 |
<td>string</td>
|
|
|
799 |
<td>$message</td>
|
|
|
800 |
<td><p>le message associé à l'erreur</p></td>
|
|
|
801 |
</tr>
|
|
|
802 |
<tr>
|
|
|
803 |
<td>string</td>
|
|
|
804 |
<td>$fichier</td>
|
|
|
805 |
<td><p>le nom du fichier où l'erreur s'est produite</p></td>
|
|
|
806 |
</tr>
|
|
|
807 |
<tr>
|
|
|
808 |
<td>int</td>
|
|
|
809 |
<td>$ligne</td>
|
|
|
810 |
<td><p>la ligne où l'erreur s'est produite</p></td>
|
|
|
811 |
</tr>
|
|
|
812 |
<tr>
|
|
|
813 |
<td>string</td>
|
|
|
814 |
<td>$contexte</td>
|
|
|
815 |
<td><p>le contexte associé à l'erreur</p></td>
|
|
|
816 |
</tr>
|
|
|
817 |
</table>
|
|
|
818 |
|
|
|
819 |
|
|
|
820 |
</article>
|
|
|
821 |
</div>
|
|
|
822 |
<aside class="span4 detailsbar">
|
|
|
823 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
824 |
<span class="label label-info">static</span>
|
|
|
825 |
<dl>
|
|
|
826 |
</dl>
|
|
|
827 |
<h2>Tags</h2>
|
|
|
828 |
<table class="table table-condensed">
|
|
|
829 |
<tr>
|
|
|
830 |
<th>
|
|
|
831 |
todo
|
|
|
832 |
</th>
|
|
|
833 |
<td>
|
|
|
834 |
</td>
|
|
|
835 |
</tr>
|
|
|
836 |
</table>
|
|
|
837 |
</aside>
|
|
|
838 |
</div>
|
|
|
839 |
|
|
|
840 |
<div class="row-fluid">
|
|
|
841 |
<div class="span8 content class">
|
|
|
842 |
<a id="method_getExceptions" name="method_getExceptions" class="anchor"></a>
|
|
|
843 |
<article class="method">
|
|
|
844 |
<h3 class="public deprecated">getExceptions()</h3>
|
|
|
845 |
<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>
|
|
|
846 |
<pre class="signature" style="margin-right: 54px;">getExceptions() : string</pre>
|
|
|
847 |
<p><em>Renvoie les exceptions au format (X)HTML ou bien au format texte suivant le mode d'utilisation de PHP.</em></p>
|
|
|
848 |
|
|
|
849 |
|
|
|
850 |
|
|
|
851 |
|
|
|
852 |
<h4>Returns</h4>
|
|
|
853 |
string
|
|
|
854 |
— <p>les exceptions formatées en texte ou (X)HTML.</p>
|
|
|
855 |
</article>
|
|
|
856 |
</div>
|
|
|
857 |
<aside class="span4 detailsbar">
|
|
|
858 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
859 |
<span class="label label-info">static</span>
|
|
|
860 |
<aside class="alert alert-block alert-error">
|
|
|
861 |
<h4>Deprecated</h4>
|
|
|
862 |
|
|
|
863 |
</aside>
|
|
|
864 |
<dl>
|
|
|
865 |
<dt>See also</dt>
|
|
|
866 |
<dd><a href=""><span class="namespace-wrapper"></span></a></dd>
|
|
|
867 |
</dl>
|
|
|
868 |
<h2>Tags</h2>
|
|
|
869 |
<table class="table table-condensed">
|
|
|
870 |
<tr>
|
|
|
871 |
<th>
|
|
|
872 |
since
|
|
|
873 |
</th>
|
|
|
874 |
<td>
|
|
|
875 |
0.3
|
|
|
876 |
</td>
|
|
|
877 |
</tr>
|
|
|
878 |
<tr>
|
|
|
879 |
<th>
|
|
|
880 |
todo
|
|
|
881 |
</th>
|
|
|
882 |
<td>
|
|
|
883 |
</td>
|
|
|
884 |
</tr>
|
|
|
885 |
</table>
|
|
|
886 |
</aside>
|
|
|
887 |
</div>
|
|
|
888 |
|
|
|
889 |
<div class="row-fluid">
|
|
|
890 |
<div class="span8 content class">
|
|
|
891 |
<a id="method_getExceptionsFormatees" name="method_getExceptionsFormatees" class="anchor"></a>
|
|
|
892 |
<article class="method">
|
|
|
893 |
<h3 class="public ">getExceptionsFormatees()</h3>
|
|
|
894 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
|
|
895 |
<pre class="signature" style="margin-right: 54px;">getExceptionsFormatees() : string</pre>
|
|
|
896 |
<p><em>Renvoie les exceptions au format (X)HTML ou bien au format texte suivant le mode d'utilisation de PHP.</em></p>
|
|
|
897 |
|
|
|
898 |
|
|
|
899 |
|
|
|
900 |
|
|
|
901 |
<h4>Returns</h4>
|
|
|
902 |
string
|
|
|
903 |
— <p>les exceptions formatées en texte ou (X)HTML.</p>
|
|
|
904 |
</article>
|
|
|
905 |
</div>
|
|
|
906 |
<aside class="span4 detailsbar">
|
|
|
907 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
908 |
<span class="label label-info">static</span>
|
|
|
909 |
<dl>
|
|
|
910 |
</dl>
|
|
|
911 |
<h2>Tags</h2>
|
|
|
912 |
<table class="table table-condensed">
|
|
|
913 |
<tr>
|
|
|
914 |
<th>
|
|
|
915 |
since
|
|
|
916 |
</th>
|
|
|
917 |
<td>
|
|
|
918 |
0.3
|
|
|
919 |
</td>
|
|
|
920 |
</tr>
|
|
|
921 |
<tr>
|
|
|
922 |
<th>
|
|
|
923 |
todo
|
|
|
924 |
</th>
|
|
|
925 |
<td>
|
|
|
926 |
</td>
|
|
|
927 |
</tr>
|
|
|
928 |
</table>
|
|
|
929 |
</aside>
|
|
|
930 |
</div>
|
|
|
931 |
|
|
|
932 |
<div class="row-fluid">
|
|
|
933 |
<div class="span8 content class">
|
|
|
934 |
<a id="method_getExceptionsTriees" name="method_getExceptionsTriees" class="anchor"></a>
|
|
|
935 |
<article class="method">
|
|
|
936 |
<h3 class="public ">getExceptionsTriees()</h3>
|
|
|
937 |
<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>
|
|
|
938 |
<pre class="signature" style="margin-right: 54px;">getExceptionsTriees() : array</pre>
|
|
|
939 |
<p><em>Renvoie le tableau d'objets Exception générées par le script PHP triées du niveau de sévérité le plus élevé au moins élevé.</em></p>
|
|
|
940 |
<p>Format du tableau :
|
|
|
941 |
array{sévérité_1 = array{Exception1, Exception2, Exception3,...}, sévérité_1 = array{Exception1, Exception2, ...}, ...};
|
|
|
942 |
ATTENTION : si vous utilisez cette méthode, c'est à vous de gérer l'affichage des Exceptions. Le gestionnaire d'exception
|
|
|
943 |
n'enverra plus rien au navigateur ou à la console.</p>
|
|
|
944 |
|
|
|
945 |
|
|
|
946 |
|
|
|
947 |
<h4>Returns</h4>
|
|
|
948 |
array
|
|
|
949 |
— <p>le tableau trié d'objet Exception.</p>
|
|
|
950 |
</article>
|
|
|
951 |
</div>
|
|
|
952 |
<aside class="span4 detailsbar">
|
|
|
953 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
954 |
<span class="label label-info">static</span>
|
|
|
955 |
<dl>
|
|
|
956 |
</dl>
|
|
|
957 |
<h2>Tags</h2>
|
|
|
958 |
<table class="table table-condensed">
|
|
|
959 |
<tr>
|
|
|
960 |
<th>
|
|
|
961 |
since
|
|
|
962 |
</th>
|
|
|
963 |
<td>
|
|
|
964 |
0.3
|
|
|
965 |
</td>
|
|
|
966 |
</tr>
|
|
|
967 |
<tr>
|
|
|
968 |
<th>
|
|
|
969 |
todo
|
|
|
970 |
</th>
|
|
|
971 |
<td>
|
|
|
972 |
</td>
|
|
|
973 |
</tr>
|
|
|
974 |
</table>
|
|
|
975 |
</aside>
|
|
|
976 |
</div>
|
|
|
977 |
|
|
|
978 |
<div class="row-fluid">
|
|
|
979 |
<div class="span8 content class">
|
|
|
980 |
<a id="method_formaterExceptionDebug" name="method_formaterExceptionDebug" class="anchor"></a>
|
|
|
981 |
<article class="method">
|
|
|
982 |
<h3 class="public ">formaterExceptionDebug()</h3>
|
|
|
983 |
<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>
|
|
|
984 |
<pre class="signature" style="margin-right: 54px;">formaterExceptionDebug(\Exception <span class="argument">$e</span>)</pre>
|
|
|
985 |
<p><em>Formate une exception de type Notice générée par la classe Debug.</em></p>
|
|
|
986 |
<p>Seul le message est gardé car les autres infos font référence à la classe Debug et non à l'endroit où
|
|
|
987 |
le débug est lancée.
|
|
|
988 |
TODO : faire en sorte d'afficher le fichier et la ligne où le débug est lancé.</p>
|
|
|
989 |
|
|
|
990 |
<h4>Parameters</h4>
|
|
|
991 |
<table class="table table-condensed table-hover">
|
|
|
992 |
<tr>
|
|
|
993 |
<td>\Exception</td>
|
|
|
994 |
<td>$e</td>
|
|
|
995 |
<td></td>
|
|
|
996 |
</tr>
|
|
|
997 |
</table>
|
|
|
998 |
|
|
|
999 |
|
|
|
1000 |
</article>
|
|
|
1001 |
</div>
|
|
|
1002 |
<aside class="span4 detailsbar">
|
|
|
1003 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1004 |
<span class="label label-info">static</span>
|
|
|
1005 |
<dl>
|
|
|
1006 |
</dl>
|
|
|
1007 |
<h2>Tags</h2>
|
|
|
1008 |
<table class="table table-condensed">
|
|
|
1009 |
<tr>
|
|
|
1010 |
<th>
|
|
|
1011 |
since
|
|
|
1012 |
</th>
|
|
|
1013 |
<td>
|
|
|
1014 |
0.3
|
|
|
1015 |
</td>
|
|
|
1016 |
</tr>
|
|
|
1017 |
<tr>
|
|
|
1018 |
<th>
|
|
|
1019 |
todo
|
|
|
1020 |
</th>
|
|
|
1021 |
<td>
|
|
|
1022 |
</td>
|
|
|
1023 |
</tr>
|
|
|
1024 |
</table>
|
|
|
1025 |
</aside>
|
|
|
1026 |
</div>
|
|
|
1027 |
|
|
|
1028 |
<div class="row-fluid">
|
|
|
1029 |
<div class="span8 content class">
|
|
|
1030 |
<a id="method_formaterExceptionTxt" name="method_formaterExceptionTxt" class="anchor"></a>
|
|
|
1031 |
<article class="method">
|
|
|
1032 |
<h3 class="public ">formaterExceptionTxt()</h3>
|
|
|
1033 |
<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>
|
|
|
1034 |
<pre class="signature" style="margin-right: 54px;">formaterExceptionTxt(\Exception <span class="argument">$e</span>)</pre>
|
|
|
1035 |
<p><em>Formate en texte une exception passée en paramètre.</em></p>
|
|
|
1036 |
|
|
|
1037 |
|
|
|
1038 |
<h4>Parameters</h4>
|
|
|
1039 |
<table class="table table-condensed table-hover">
|
|
|
1040 |
<tr>
|
|
|
1041 |
<td>\Exception</td>
|
|
|
1042 |
<td>$e</td>
|
|
|
1043 |
<td></td>
|
|
|
1044 |
</tr>
|
|
|
1045 |
</table>
|
|
|
1046 |
|
|
|
1047 |
|
|
|
1048 |
</article>
|
|
|
1049 |
</div>
|
|
|
1050 |
<aside class="span4 detailsbar">
|
|
|
1051 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1052 |
<span class="label label-info">static</span>
|
|
|
1053 |
<dl>
|
|
|
1054 |
</dl>
|
|
|
1055 |
<h2>Tags</h2>
|
|
|
1056 |
<table class="table table-condensed">
|
|
|
1057 |
<tr>
|
|
|
1058 |
<th>
|
|
|
1059 |
since
|
|
|
1060 |
</th>
|
|
|
1061 |
<td>
|
|
|
1062 |
0.3
|
|
|
1063 |
</td>
|
|
|
1064 |
</tr>
|
|
|
1065 |
<tr>
|
|
|
1066 |
<th>
|
|
|
1067 |
todo
|
|
|
1068 |
</th>
|
|
|
1069 |
<td>
|
|
|
1070 |
</td>
|
|
|
1071 |
</tr>
|
|
|
1072 |
</table>
|
|
|
1073 |
</aside>
|
|
|
1074 |
</div>
|
|
|
1075 |
|
|
|
1076 |
<div class="row-fluid">
|
|
|
1077 |
<div class="span8 content class">
|
|
|
1078 |
<a id="method_formaterExceptionXhtml" name="method_formaterExceptionXhtml" class="anchor"></a>
|
|
|
1079 |
<article class="method">
|
|
|
1080 |
<h3 class="public ">formaterExceptionXhtml()</h3>
|
|
|
1081 |
<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>
|
|
|
1082 |
<pre class="signature" style="margin-right: 54px;">formaterExceptionXhtml(\Exception <span class="argument">$e</span>)</pre>
|
|
|
1083 |
<p><em>Formate en (X)HTML une exception passée en paramètre.</em></p>
|
|
|
1084 |
|
|
|
1085 |
|
|
|
1086 |
<h4>Parameters</h4>
|
|
|
1087 |
<table class="table table-condensed table-hover">
|
|
|
1088 |
<tr>
|
|
|
1089 |
<td>\Exception</td>
|
|
|
1090 |
<td>$e</td>
|
|
|
1091 |
<td></td>
|
|
|
1092 |
</tr>
|
|
|
1093 |
</table>
|
|
|
1094 |
|
|
|
1095 |
|
|
|
1096 |
</article>
|
|
|
1097 |
</div>
|
|
|
1098 |
<aside class="span4 detailsbar">
|
|
|
1099 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1100 |
<span class="label label-info">static</span>
|
|
|
1101 |
<dl>
|
|
|
1102 |
</dl>
|
|
|
1103 |
<h2>Tags</h2>
|
|
|
1104 |
<table class="table table-condensed">
|
|
|
1105 |
<tr>
|
|
|
1106 |
<th>
|
|
|
1107 |
since
|
|
|
1108 |
</th>
|
|
|
1109 |
<td>
|
|
|
1110 |
0.3
|
|
|
1111 |
</td>
|
|
|
1112 |
</tr>
|
|
|
1113 |
<tr>
|
|
|
1114 |
<th>
|
|
|
1115 |
todo
|
|
|
1116 |
</th>
|
|
|
1117 |
<td>
|
|
|
1118 |
</td>
|
|
|
1119 |
</tr>
|
|
|
1120 |
</table>
|
|
|
1121 |
</aside>
|
|
|
1122 |
</div>
|
|
|
1123 |
|
|
|
1124 |
<div class="row-fluid">
|
|
|
1125 |
<div class="span8 content class">
|
|
|
1126 |
<a id="method___destruct" name="method___destruct" class="anchor"></a>
|
|
|
1127 |
<article class="method">
|
|
|
1128 |
<h3 class="public ">__destruct()</h3>
|
|
|
1129 |
<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>
|
|
|
1130 |
<pre class="signature" style="margin-right: 54px;">__destruct()</pre>
|
|
|
1131 |
<p><em>Lors de la destruction de la classe si des exceptions n'ont pas été affichées, et si le débogage est à true, elles sont
|
|
|
1132 |
affichées.</em></p>
|
|
|
1133 |
|
|
|
1134 |
|
|
|
1135 |
|
|
|
1136 |
|
|
|
1137 |
</article>
|
|
|
1138 |
</div>
|
|
|
1139 |
<aside class="span4 detailsbar">
|
|
|
1140 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1141 |
<dl>
|
|
|
1142 |
</dl>
|
|
|
1143 |
<h2>Tags</h2>
|
|
|
1144 |
<table class="table table-condensed">
|
|
|
1145 |
<tr>
|
|
|
1146 |
<th>
|
|
|
1147 |
todo
|
|
|
1148 |
</th>
|
|
|
1149 |
<td>
|
|
|
1150 |
</td>
|
|
|
1151 |
</tr>
|
|
|
1152 |
</table>
|
|
|
1153 |
</aside>
|
|
|
1154 |
</div>
|
|
|
1155 |
|
|
|
1156 |
<div class="row-fluid">
|
|
|
1157 |
<div class="span8 content class">
|
|
|
1158 |
<a id="method_loggerException" name="method_loggerException" class="anchor"></a>
|
|
|
1159 |
<article class="method">
|
|
|
1160 |
<h3 class="private ">loggerException()</h3>
|
|
|
1161 |
<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>
|
|
|
1162 |
<pre class="signature" style="margin-right: 54px;">loggerException(\Exception <span class="argument">$e</span>)</pre>
|
|
|
1163 |
<p><em>Logue une exception donnée sous une forme lisible si self::logger vaut true.</em></p>
|
|
|
1164 |
|
|
|
1165 |
|
|
|
1166 |
<h4>Parameters</h4>
|
|
|
1167 |
<table class="table table-condensed table-hover">
|
|
|
1168 |
<tr>
|
|
|
1169 |
<td>\Exception</td>
|
|
|
1170 |
<td>$e</td>
|
|
|
1171 |
<td><p>l'exception à logger</p></td>
|
|
|
1172 |
</tr>
|
|
|
1173 |
</table>
|
|
|
1174 |
|
|
|
1175 |
|
|
|
1176 |
</article>
|
|
|
1177 |
</div>
|
|
|
1178 |
<aside class="span4 detailsbar">
|
|
|
1179 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1180 |
<span class="label label-info">static</span>
|
|
|
1181 |
<dl>
|
|
|
1182 |
</dl>
|
|
|
1183 |
<h2>Tags</h2>
|
|
|
1184 |
<table class="table table-condensed">
|
|
|
1185 |
<tr>
|
|
|
1186 |
<th>
|
|
|
1187 |
todo
|
|
|
1188 |
</th>
|
|
|
1189 |
<td>
|
|
|
1190 |
</td>
|
|
|
1191 |
</tr>
|
|
|
1192 |
</table>
|
|
|
1193 |
</aside>
|
|
|
1194 |
</div>
|
|
|
1195 |
|
|
|
1196 |
</div>
|
|
|
1197 |
</section>
|
|
|
1198 |
|
|
|
1199 |
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
|
|
1200 |
<div class="modal-header">
|
|
|
1201 |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
1202 |
<h3 id="source-view-label">GestionnaireException.php</h3>
|
|
|
1203 |
</div>
|
|
|
1204 |
<div class="modal-body">
|
|
|
1205 |
<pre data-src="../files/GestionnaireException.php.txt" class="language-php line-numbers"></pre>
|
|
|
1206 |
</div>
|
|
|
1207 |
</div>
|
|
|
1208 |
|
|
|
1209 |
<footer class="row-fluid">
|
|
|
1210 |
<section class="span10 offset2">
|
|
|
1211 |
<section class="row-fluid">
|
|
|
1212 |
<section class="span10 offset1">
|
|
|
1213 |
<section class="row-fluid footer-sections">
|
|
|
1214 |
<section class="span4">
|
|
|
1215 |
<h1><i class="icon-code"></i></h1>
|
|
|
1216 |
<div>
|
|
|
1217 |
<ul>
|
|
|
1218 |
</ul>
|
|
|
1219 |
</div>
|
|
|
1220 |
</section>
|
|
|
1221 |
<section class="span4">
|
|
|
1222 |
<h1><i class="icon-bar-chart"></i></h1>
|
|
|
1223 |
<div>
|
|
|
1224 |
<ul>
|
|
|
1225 |
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
|
|
1226 |
</ul>
|
|
|
1227 |
</div>
|
|
|
1228 |
</section>
|
|
|
1229 |
<section class="span4">
|
|
|
1230 |
<h1><i class="icon-pushpin"></i></h1>
|
|
|
1231 |
<div>
|
|
|
1232 |
<ul>
|
|
|
1233 |
<li><a href="../reports/errors.html">Errors</a></li>
|
|
|
1234 |
<li><a href="../reports/markers.html">Markers</a></li>
|
|
|
1235 |
</ul>
|
|
|
1236 |
</div>
|
|
|
1237 |
</section>
|
|
|
1238 |
</section>
|
|
|
1239 |
</section>
|
|
|
1240 |
</section>
|
|
|
1241 |
<section class="row-fluid">
|
|
|
1242 |
<section class="span10 offset1">
|
|
|
1243 |
<hr />
|
|
|
1244 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
|
|
1245 |
on March 12th, 2014 at 15:57.
|
|
|
1246 |
</section>
|
|
|
1247 |
</section>
|
|
|
1248 |
</section>
|
|
|
1249 |
</footer>
|
|
|
1250 |
</div>
|
|
|
1251 |
|
|
|
1252 |
</body>
|
|
|
1253 |
</html>
|