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-1687080797"></a>
|
|
|
142 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
|
|
143 |
</div>
|
|
|
144 |
<div id="namespace-1687080797" 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>Url</h1>
|
|
|
193 |
<p><em>Classe Url, gérant le découpage des paramètres, leurs modification etc.</em></p>
|
|
|
194 |
<p>..
|
|
|
195 |
Traduction et conversion d'une classe (NET_Url2) issue de Pear</p>
|
|
|
196 |
|
|
|
197 |
<section id="summary">
|
|
|
198 |
<h2>Summary</h2>
|
|
|
199 |
<section class="row-fluid heading">
|
|
|
200 |
<section class="span4">
|
|
|
201 |
<a href="#methods">Methods</a>
|
|
|
202 |
</section>
|
|
|
203 |
<section class="span4">
|
|
|
204 |
<a href="#properties">Properties</a>
|
|
|
205 |
</section>
|
|
|
206 |
<section class="span4">
|
|
|
207 |
<a href="#constants">Constants</a>
|
|
|
208 |
</section>
|
|
|
209 |
</section>
|
|
|
210 |
<section class="row-fluid public">
|
|
|
211 |
<section class="span4">
|
|
|
212 |
<a href="../classes/Url.html#method___construct" class="">__construct()</a><br />
|
|
|
213 |
<a href="../classes/Url.html#method_getOption" class="">getOption()</a><br />
|
|
|
214 |
<a href="../classes/Url.html#method_setOption" class="">setOption()</a><br />
|
|
|
215 |
<a href="../classes/Url.html#method_setRequete" class="">setRequete()</a><br />
|
|
|
216 |
<a href="../classes/Url.html#method_fusionnerRequete" class="">fusionnerRequete()</a><br />
|
|
|
217 |
<a href="../classes/Url.html#method_normaliser" class="">normaliser()</a><br />
|
|
|
218 |
<a href="../classes/Url.html#method_getCanonique" class="">getCanonique()</a><br />
|
|
|
219 |
<a href="../classes/Url.html#method_getDemande" class="">getDemande()</a><br />
|
|
|
220 |
<a href="../classes/Url.html#method_getURL" class="">getURL()</a><br />
|
|
|
221 |
</section>
|
|
|
222 |
<section class="span4">
|
|
|
223 |
<em>No public properties found</em>
|
|
|
224 |
</section>
|
|
|
225 |
<section class="span4">
|
|
|
226 |
<a href="../classes/Url.html#constant_OPTION_UTILISER_CROCHETS" class="">OPTION_UTILISER_CROCHETS</a><br />
|
|
|
227 |
<a href="../classes/Url.html#constant_OPTION_ENCODER_CLES" class="">OPTION_ENCODER_CLES</a><br />
|
|
|
228 |
<a href="../classes/Url.html#constant_OPTION_ENCODER_VALEURS" class="">OPTION_ENCODER_VALEURS</a><br />
|
|
|
229 |
<a href="../classes/Url.html#constant_OPTION_SEPARATEUR_ENTREE" class="">OPTION_SEPARATEUR_ENTREE</a><br />
|
|
|
230 |
<a href="../classes/Url.html#constant_OPTION_SEPARATEUR_SORTIE" class="">OPTION_SEPARATEUR_SORTIE</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/Url.html#method_getAutorite" class="">getAutorite()</a><br />
|
|
|
247 |
<a href="../classes/Url.html#method_setAutorite" class="">setAutorite()</a><br />
|
|
|
248 |
<a href="../classes/Url.html#method_etreAbsolue" class="">etreAbsolue()</a><br />
|
|
|
249 |
<a href="../classes/Url.html#method_supprimerSegmentsAPoints" class="">supprimerSegmentsAPoints()</a><br />
|
|
|
250 |
</section>
|
|
|
251 |
<section class="span4">
|
|
|
252 |
<a href="../classes/Url.html#property_options" class="">$options</a><br />
|
|
|
253 |
<a href="../classes/Url.html#property_schema" class="">$schema</a><br />
|
|
|
254 |
<a href="../classes/Url.html#property_infoUtilisateur" class="">$infoUtilisateur</a><br />
|
|
|
255 |
<a href="../classes/Url.html#property_hote" class="">$hote</a><br />
|
|
|
256 |
<a href="../classes/Url.html#property_port" class="">$port</a><br />
|
|
|
257 |
<a href="../classes/Url.html#property_chemin" class="">$chemin</a><br />
|
|
|
258 |
<a href="../classes/Url.html#property_requete" class="">$requete</a><br />
|
|
|
259 |
<a href="../classes/Url.html#property_fragment" class="">$fragment</a><br />
|
|
|
260 |
<a href="../classes/Url.html#property_parametres_obligatoires" class="">$parametres_obligatoires</a><br />
|
|
|
261 |
</section>
|
|
|
262 |
<section class="span4">
|
|
|
263 |
<em>N/A</em>
|
|
|
264 |
</section>
|
|
|
265 |
</section>
|
|
|
266 |
</section>
|
|
|
267 |
</div>
|
|
|
268 |
<aside class="span4 detailsbar">
|
|
|
269 |
|
|
|
270 |
|
|
|
271 |
<dl>
|
|
|
272 |
<dt>File</dt>
|
|
|
273 |
<dd><a href="../files/Url.php.html"><div class="path-wrapper">Url.php</div></a></dd>
|
|
|
274 |
<dt>Package</dt>
|
|
|
275 |
<dd><div class="namespace-wrapper">\Framework</div></dd>
|
|
|
276 |
<dt>Class hierarchy</dt>
|
|
|
277 |
<dd class="hierarchy">
|
|
|
278 |
<div class="namespace-wrapper">\Url</div>
|
|
|
279 |
</dd>
|
|
|
280 |
|
|
|
281 |
|
|
|
282 |
|
|
|
283 |
|
|
|
284 |
<dt>See also</dt>
|
|
|
285 |
<dd><a href="/doc/framework/"><div class="namespace-wrapper">/doc/framework/</div></a></dd>
|
|
|
286 |
|
|
|
287 |
</dl>
|
|
|
288 |
<h2>Tags</h2>
|
|
|
289 |
<table class="table table-condensed">
|
|
|
290 |
<tr>
|
|
|
291 |
<th>
|
|
|
292 |
category
|
|
|
293 |
</th>
|
|
|
294 |
<td>
|
|
|
295 |
<p>Php 5.2</p>
|
|
|
296 |
</td>
|
|
|
297 |
</tr>
|
|
|
298 |
<tr>
|
|
|
299 |
<th>
|
|
|
300 |
author
|
|
|
301 |
</th>
|
|
|
302 |
<td>
|
|
|
303 |
<p>Christian SCHMIDT <a href="mailto:schmidt@php.net">schmidt@php.net</a> (Auteur classe originale)</p>
|
|
|
304 |
<p>Aurélien PERONNET <a href="mailto:aurelien@tela-botanica.org">aurelien@tela-botanica.org</a></p>
|
|
|
305 |
<p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p>
|
|
|
306 |
</td>
|
|
|
307 |
</tr>
|
|
|
308 |
<tr>
|
|
|
309 |
<th>
|
|
|
310 |
copyright
|
|
|
311 |
</th>
|
|
|
312 |
<td>
|
|
|
313 |
<p>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</p>
|
|
|
314 |
</td>
|
|
|
315 |
</tr>
|
|
|
316 |
<tr>
|
|
|
317 |
<th>
|
|
|
318 |
license
|
|
|
319 |
</th>
|
|
|
320 |
<td>
|
|
|
321 |
<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>
|
|
|
322 |
<p><a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a> Licence GNU-GPL</p>
|
|
|
323 |
</td>
|
|
|
324 |
</tr>
|
|
|
325 |
<tr>
|
|
|
326 |
<th>
|
|
|
327 |
version
|
|
|
328 |
</th>
|
|
|
329 |
<td>
|
|
|
330 |
|
|
|
331 |
</td>
|
|
|
332 |
</tr>
|
|
|
333 |
<tr>
|
|
|
334 |
<th>
|
|
|
335 |
todo
|
|
|
336 |
</th>
|
|
|
337 |
<td>
|
|
|
338 |
</td>
|
|
|
339 |
</tr>
|
|
|
340 |
</table>
|
|
|
341 |
</aside>
|
|
|
342 |
</div>
|
|
|
343 |
|
|
|
344 |
<a id="constants" name="constants"></a>
|
|
|
345 |
<div class="row-fluid">
|
|
|
346 |
<div class="span8 content class">
|
|
|
347 |
<h2>Constants</h2>
|
|
|
348 |
</div>
|
|
|
349 |
<aside class="span4 detailsbar"></aside>
|
|
|
350 |
</div>
|
|
|
351 |
|
|
|
352 |
<div class="row-fluid">
|
|
|
353 |
<div class="span8 content class">
|
|
|
354 |
<a id="constant_OPTION_UTILISER_CROCHETS" name="constant_OPTION_UTILISER_CROCHETS" class="anchor"></a>
|
|
|
355 |
<article id="constant_OPTION_UTILISER_CROCHETS" class="constant">
|
|
|
356 |
<h3 class="">OPTION_UTILISER_CROCHETS</h3>
|
|
|
357 |
<pre class="signature">OPTION_UTILISER_CROCHETS</pre>
|
|
|
358 |
<p><em>Répresenter les tableaux dans les requêtes en utilisant la notation php []. Par défaut à true.</em></p>
|
|
|
359 |
|
|
|
360 |
</article>
|
|
|
361 |
</div>
|
|
|
362 |
<aside class="span4 detailsbar">
|
|
|
363 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
364 |
<dl>
|
|
|
365 |
</dl>
|
|
|
366 |
<h2>Tags</h2>
|
|
|
367 |
<table class="table table-condensed">
|
|
|
368 |
<tr>
|
|
|
369 |
<th>
|
|
|
370 |
todo
|
|
|
371 |
</th>
|
|
|
372 |
<td>
|
|
|
373 |
</td>
|
|
|
374 |
</tr>
|
|
|
375 |
</table>
|
|
|
376 |
</aside>
|
|
|
377 |
</div>
|
|
|
378 |
|
|
|
379 |
<div class="row-fluid">
|
|
|
380 |
<div class="span8 content class">
|
|
|
381 |
<a id="constant_OPTION_ENCODER_CLES" name="constant_OPTION_ENCODER_CLES" class="anchor"></a>
|
|
|
382 |
<article id="constant_OPTION_ENCODER_CLES" class="constant">
|
|
|
383 |
<h3 class="">OPTION_ENCODER_CLES</h3>
|
|
|
384 |
<pre class="signature">OPTION_ENCODER_CLES</pre>
|
|
|
385 |
<p><em>URL-encoder les clés des variables dans les requêtes. Par défaut à true.</em></p>
|
|
|
386 |
|
|
|
387 |
</article>
|
|
|
388 |
</div>
|
|
|
389 |
<aside class="span4 detailsbar">
|
|
|
390 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
391 |
<dl>
|
|
|
392 |
</dl>
|
|
|
393 |
<h2>Tags</h2>
|
|
|
394 |
<table class="table table-condensed">
|
|
|
395 |
<tr>
|
|
|
396 |
<th>
|
|
|
397 |
todo
|
|
|
398 |
</th>
|
|
|
399 |
<td>
|
|
|
400 |
</td>
|
|
|
401 |
</tr>
|
|
|
402 |
</table>
|
|
|
403 |
</aside>
|
|
|
404 |
</div>
|
|
|
405 |
|
|
|
406 |
<div class="row-fluid">
|
|
|
407 |
<div class="span8 content class">
|
|
|
408 |
<a id="constant_OPTION_ENCODER_VALEURS" name="constant_OPTION_ENCODER_VALEURS" class="anchor"></a>
|
|
|
409 |
<article id="constant_OPTION_ENCODER_VALEURS" class="constant">
|
|
|
410 |
<h3 class="">OPTION_ENCODER_VALEURS</h3>
|
|
|
411 |
<pre class="signature">OPTION_ENCODER_VALEURS</pre>
|
|
|
412 |
<p><em>URL-encoder les valeurs des variables dans les requêtes. Par défaut à false.</em></p>
|
|
|
413 |
|
|
|
414 |
</article>
|
|
|
415 |
</div>
|
|
|
416 |
<aside class="span4 detailsbar">
|
|
|
417 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
418 |
<dl>
|
|
|
419 |
</dl>
|
|
|
420 |
<h2>Tags</h2>
|
|
|
421 |
<table class="table table-condensed">
|
|
|
422 |
<tr>
|
|
|
423 |
<th>
|
|
|
424 |
todo
|
|
|
425 |
</th>
|
|
|
426 |
<td>
|
|
|
427 |
</td>
|
|
|
428 |
</tr>
|
|
|
429 |
</table>
|
|
|
430 |
</aside>
|
|
|
431 |
</div>
|
|
|
432 |
|
|
|
433 |
<div class="row-fluid">
|
|
|
434 |
<div class="span8 content class">
|
|
|
435 |
<a id="constant_OPTION_SEPARATEUR_ENTREE" name="constant_OPTION_SEPARATEUR_ENTREE" class="anchor"></a>
|
|
|
436 |
<article id="constant_OPTION_SEPARATEUR_ENTREE" class="constant">
|
|
|
437 |
<h3 class="">OPTION_SEPARATEUR_ENTREE</h3>
|
|
|
438 |
<pre class="signature">OPTION_SEPARATEUR_ENTREE</pre>
|
|
|
439 |
<p><em>Séparateurs de variables lors du parsing de la requête. Chaque caractère
|
|
|
440 |
est considéré comme un séparateur. Par défaut, spécifié par le paramêtre
|
|
|
441 |
arg_separator.input dans php.ini (par défaut "&").</em></p>
|
|
|
442 |
|
|
|
443 |
</article>
|
|
|
444 |
</div>
|
|
|
445 |
<aside class="span4 detailsbar">
|
|
|
446 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
447 |
<dl>
|
|
|
448 |
</dl>
|
|
|
449 |
<h2>Tags</h2>
|
|
|
450 |
<table class="table table-condensed">
|
|
|
451 |
<tr>
|
|
|
452 |
<th>
|
|
|
453 |
todo
|
|
|
454 |
</th>
|
|
|
455 |
<td>
|
|
|
456 |
</td>
|
|
|
457 |
</tr>
|
|
|
458 |
</table>
|
|
|
459 |
</aside>
|
|
|
460 |
</div>
|
|
|
461 |
|
|
|
462 |
<div class="row-fluid">
|
|
|
463 |
<div class="span8 content class">
|
|
|
464 |
<a id="constant_OPTION_SEPARATEUR_SORTIE" name="constant_OPTION_SEPARATEUR_SORTIE" class="anchor"></a>
|
|
|
465 |
<article id="constant_OPTION_SEPARATEUR_SORTIE" class="constant">
|
|
|
466 |
<h3 class="">OPTION_SEPARATEUR_SORTIE</h3>
|
|
|
467 |
<pre class="signature">OPTION_SEPARATEUR_SORTIE</pre>
|
|
|
468 |
<p><em>Séparateur de variables lors de la génération de la requête. Par défaut, spécifié
|
|
|
469 |
par le paramètre arg_separator.output dans php.ini (par défaut "&").</em></p>
|
|
|
470 |
|
|
|
471 |
</article>
|
|
|
472 |
</div>
|
|
|
473 |
<aside class="span4 detailsbar">
|
|
|
474 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
475 |
<dl>
|
|
|
476 |
</dl>
|
|
|
477 |
<h2>Tags</h2>
|
|
|
478 |
<table class="table table-condensed">
|
|
|
479 |
<tr>
|
|
|
480 |
<th>
|
|
|
481 |
todo
|
|
|
482 |
</th>
|
|
|
483 |
<td>
|
|
|
484 |
</td>
|
|
|
485 |
</tr>
|
|
|
486 |
</table>
|
|
|
487 |
</aside>
|
|
|
488 |
</div>
|
|
|
489 |
|
|
|
490 |
|
|
|
491 |
<a id="properties" name="properties"></a>
|
|
|
492 |
<div class="row-fluid">
|
|
|
493 |
<div class="span8 content class">
|
|
|
494 |
<h2>Properties</h2>
|
|
|
495 |
</div>
|
|
|
496 |
<aside class="span4 detailsbar"></aside>
|
|
|
497 |
</div>
|
|
|
498 |
|
|
|
499 |
<div class="row-fluid">
|
|
|
500 |
<div class="span8 content class">
|
|
|
501 |
<a id="property_options" name="property_options" class="anchor"></a>
|
|
|
502 |
<article class="property">
|
|
|
503 |
<h3 class="private ">$options</h3>
|
|
|
504 |
<pre class="signature">$options</pre>
|
|
|
505 |
<p><em>Options par défaut correspondant au comportement de php
|
|
|
506 |
vis à vis de $_GET</em></p>
|
|
|
507 |
|
|
|
508 |
|
|
|
509 |
</article>
|
|
|
510 |
</div>
|
|
|
511 |
<aside class="span4 detailsbar">
|
|
|
512 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
513 |
<dl>
|
|
|
514 |
</dl>
|
|
|
515 |
<h2>Tags</h2>
|
|
|
516 |
<table class="table table-condensed">
|
|
|
517 |
<tr>
|
|
|
518 |
<th>
|
|
|
519 |
todo
|
|
|
520 |
</th>
|
|
|
521 |
<td>
|
|
|
522 |
</td>
|
|
|
523 |
</tr>
|
|
|
524 |
</table>
|
|
|
525 |
</aside>
|
|
|
526 |
</div>
|
|
|
527 |
|
|
|
528 |
<div class="row-fluid">
|
|
|
529 |
<div class="span8 content class">
|
|
|
530 |
<a id="property_schema" name="property_schema" class="anchor"></a>
|
|
|
531 |
<article class="property">
|
|
|
532 |
<h3 class="private ">$schema</h3>
|
|
|
533 |
<pre class="signature">$schema : string|bool</pre>
|
|
|
534 |
<p><em></em></p>
|
|
|
535 |
|
|
|
536 |
|
|
|
537 |
<h4>Type</h4>
|
|
|
538 |
string|bool
|
|
|
539 |
</article>
|
|
|
540 |
</div>
|
|
|
541 |
<aside class="span4 detailsbar">
|
|
|
542 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
543 |
<dl>
|
|
|
544 |
</dl>
|
|
|
545 |
<h2>Tags</h2>
|
|
|
546 |
<table class="table table-condensed">
|
|
|
547 |
<tr>
|
|
|
548 |
<th>
|
|
|
549 |
todo
|
|
|
550 |
</th>
|
|
|
551 |
<td>
|
|
|
552 |
</td>
|
|
|
553 |
</tr>
|
|
|
554 |
</table>
|
|
|
555 |
</aside>
|
|
|
556 |
</div>
|
|
|
557 |
|
|
|
558 |
<div class="row-fluid">
|
|
|
559 |
<div class="span8 content class">
|
|
|
560 |
<a id="property_infoUtilisateur" name="property_infoUtilisateur" class="anchor"></a>
|
|
|
561 |
<article class="property">
|
|
|
562 |
<h3 class="private ">$infoUtilisateur</h3>
|
|
|
563 |
<pre class="signature">$infoUtilisateur : string|bool</pre>
|
|
|
564 |
<p><em></em></p>
|
|
|
565 |
|
|
|
566 |
|
|
|
567 |
<h4>Type</h4>
|
|
|
568 |
string|bool
|
|
|
569 |
</article>
|
|
|
570 |
</div>
|
|
|
571 |
<aside class="span4 detailsbar">
|
|
|
572 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
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="property_hote" name="property_hote" class="anchor"></a>
|
|
|
591 |
<article class="property">
|
|
|
592 |
<h3 class="private ">$hote</h3>
|
|
|
593 |
<pre class="signature">$hote : string|bool</pre>
|
|
|
594 |
<p><em></em></p>
|
|
|
595 |
|
|
|
596 |
|
|
|
597 |
<h4>Type</h4>
|
|
|
598 |
string|bool
|
|
|
599 |
</article>
|
|
|
600 |
</div>
|
|
|
601 |
<aside class="span4 detailsbar">
|
|
|
602 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
603 |
<dl>
|
|
|
604 |
</dl>
|
|
|
605 |
<h2>Tags</h2>
|
|
|
606 |
<table class="table table-condensed">
|
|
|
607 |
<tr>
|
|
|
608 |
<th>
|
|
|
609 |
todo
|
|
|
610 |
</th>
|
|
|
611 |
<td>
|
|
|
612 |
</td>
|
|
|
613 |
</tr>
|
|
|
614 |
</table>
|
|
|
615 |
</aside>
|
|
|
616 |
</div>
|
|
|
617 |
|
|
|
618 |
<div class="row-fluid">
|
|
|
619 |
<div class="span8 content class">
|
|
|
620 |
<a id="property_port" name="property_port" class="anchor"></a>
|
|
|
621 |
<article class="property">
|
|
|
622 |
<h3 class="private ">$port</h3>
|
|
|
623 |
<pre class="signature">$port : int|bool</pre>
|
|
|
624 |
<p><em></em></p>
|
|
|
625 |
|
|
|
626 |
|
|
|
627 |
<h4>Type</h4>
|
|
|
628 |
int|bool
|
|
|
629 |
</article>
|
|
|
630 |
</div>
|
|
|
631 |
<aside class="span4 detailsbar">
|
|
|
632 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
633 |
<dl>
|
|
|
634 |
</dl>
|
|
|
635 |
<h2>Tags</h2>
|
|
|
636 |
<table class="table table-condensed">
|
|
|
637 |
<tr>
|
|
|
638 |
<th>
|
|
|
639 |
todo
|
|
|
640 |
</th>
|
|
|
641 |
<td>
|
|
|
642 |
</td>
|
|
|
643 |
</tr>
|
|
|
644 |
</table>
|
|
|
645 |
</aside>
|
|
|
646 |
</div>
|
|
|
647 |
|
|
|
648 |
<div class="row-fluid">
|
|
|
649 |
<div class="span8 content class">
|
|
|
650 |
<a id="property_chemin" name="property_chemin" class="anchor"></a>
|
|
|
651 |
<article class="property">
|
|
|
652 |
<h3 class="private ">$chemin</h3>
|
|
|
653 |
<pre class="signature">$chemin : string</pre>
|
|
|
654 |
<p><em></em></p>
|
|
|
655 |
|
|
|
656 |
|
|
|
657 |
<h4>Type</h4>
|
|
|
658 |
string
|
|
|
659 |
</article>
|
|
|
660 |
</div>
|
|
|
661 |
<aside class="span4 detailsbar">
|
|
|
662 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
663 |
<dl>
|
|
|
664 |
</dl>
|
|
|
665 |
<h2>Tags</h2>
|
|
|
666 |
<table class="table table-condensed">
|
|
|
667 |
<tr>
|
|
|
668 |
<th>
|
|
|
669 |
todo
|
|
|
670 |
</th>
|
|
|
671 |
<td>
|
|
|
672 |
</td>
|
|
|
673 |
</tr>
|
|
|
674 |
</table>
|
|
|
675 |
</aside>
|
|
|
676 |
</div>
|
|
|
677 |
|
|
|
678 |
<div class="row-fluid">
|
|
|
679 |
<div class="span8 content class">
|
|
|
680 |
<a id="property_requete" name="property_requete" class="anchor"></a>
|
|
|
681 |
<article class="property">
|
|
|
682 |
<h3 class="private ">$requete</h3>
|
|
|
683 |
<pre class="signature">$requete : string|bool</pre>
|
|
|
684 |
<p><em></em></p>
|
|
|
685 |
|
|
|
686 |
|
|
|
687 |
<h4>Type</h4>
|
|
|
688 |
string|bool
|
|
|
689 |
</article>
|
|
|
690 |
</div>
|
|
|
691 |
<aside class="span4 detailsbar">
|
|
|
692 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
693 |
<dl>
|
|
|
694 |
</dl>
|
|
|
695 |
<h2>Tags</h2>
|
|
|
696 |
<table class="table table-condensed">
|
|
|
697 |
<tr>
|
|
|
698 |
<th>
|
|
|
699 |
todo
|
|
|
700 |
</th>
|
|
|
701 |
<td>
|
|
|
702 |
</td>
|
|
|
703 |
</tr>
|
|
|
704 |
</table>
|
|
|
705 |
</aside>
|
|
|
706 |
</div>
|
|
|
707 |
|
|
|
708 |
<div class="row-fluid">
|
|
|
709 |
<div class="span8 content class">
|
|
|
710 |
<a id="property_fragment" name="property_fragment" class="anchor"></a>
|
|
|
711 |
<article class="property">
|
|
|
712 |
<h3 class="private ">$fragment</h3>
|
|
|
713 |
<pre class="signature">$fragment : string|bool</pre>
|
|
|
714 |
<p><em></em></p>
|
|
|
715 |
|
|
|
716 |
|
|
|
717 |
<h4>Type</h4>
|
|
|
718 |
string|bool
|
|
|
719 |
</article>
|
|
|
720 |
</div>
|
|
|
721 |
<aside class="span4 detailsbar">
|
|
|
722 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
723 |
<dl>
|
|
|
724 |
</dl>
|
|
|
725 |
<h2>Tags</h2>
|
|
|
726 |
<table class="table table-condensed">
|
|
|
727 |
<tr>
|
|
|
728 |
<th>
|
|
|
729 |
todo
|
|
|
730 |
</th>
|
|
|
731 |
<td>
|
|
|
732 |
</td>
|
|
|
733 |
</tr>
|
|
|
734 |
</table>
|
|
|
735 |
</aside>
|
|
|
736 |
</div>
|
|
|
737 |
|
|
|
738 |
<div class="row-fluid">
|
|
|
739 |
<div class="span8 content class">
|
|
|
740 |
<a id="property_parametres_obligatoires" name="property_parametres_obligatoires" class="anchor"></a>
|
|
|
741 |
<article class="property">
|
|
|
742 |
<h3 class="private ">$parametres_obligatoires</h3>
|
|
|
743 |
<pre class="signature">$parametres_obligatoires</pre>
|
|
|
744 |
<p><em>Tableau des noms des paramètres à définir dans le fichier de config car obligatoirement nécessaire à cette classe.</em></p>
|
|
|
745 |
|
|
|
746 |
|
|
|
747 |
</article>
|
|
|
748 |
</div>
|
|
|
749 |
<aside class="span4 detailsbar">
|
|
|
750 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
751 |
<dl>
|
|
|
752 |
</dl>
|
|
|
753 |
<h2>Tags</h2>
|
|
|
754 |
<table class="table table-condensed">
|
|
|
755 |
<tr>
|
|
|
756 |
<th>
|
|
|
757 |
todo
|
|
|
758 |
</th>
|
|
|
759 |
<td>
|
|
|
760 |
</td>
|
|
|
761 |
</tr>
|
|
|
762 |
</table>
|
|
|
763 |
</aside>
|
|
|
764 |
</div>
|
|
|
765 |
|
|
|
766 |
|
|
|
767 |
<a id="methods" name="methods"></a>
|
|
|
768 |
<div class="row-fluid">
|
|
|
769 |
<div class="span8 content class"><h2>Methods</h2></div>
|
|
|
770 |
<aside class="span4 detailsbar"></aside>
|
|
|
771 |
</div>
|
|
|
772 |
|
|
|
773 |
<div class="row-fluid">
|
|
|
774 |
<div class="span8 content class">
|
|
|
775 |
<a id="method___construct" name="method___construct" class="anchor"></a>
|
|
|
776 |
<article class="method">
|
|
|
777 |
<h3 class="public ">__construct()</h3>
|
|
|
778 |
<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>
|
|
|
779 |
<pre class="signature" style="margin-right: 54px;">__construct(string <span class="argument">$url</span>, array <span class="argument">$options</span>)</pre>
|
|
|
780 |
<p><em></em></p>
|
|
|
781 |
|
|
|
782 |
|
|
|
783 |
<h4>Parameters</h4>
|
|
|
784 |
<table class="table table-condensed table-hover">
|
|
|
785 |
<tr>
|
|
|
786 |
<td>string</td>
|
|
|
787 |
<td>$url</td>
|
|
|
788 |
<td><p>une URL relative ou absolue</p></td>
|
|
|
789 |
</tr>
|
|
|
790 |
<tr>
|
|
|
791 |
<td>array</td>
|
|
|
792 |
<td>$options</td>
|
|
|
793 |
<td></td>
|
|
|
794 |
</tr>
|
|
|
795 |
</table>
|
|
|
796 |
|
|
|
797 |
|
|
|
798 |
</article>
|
|
|
799 |
</div>
|
|
|
800 |
<aside class="span4 detailsbar">
|
|
|
801 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
802 |
<dl>
|
|
|
803 |
</dl>
|
|
|
804 |
<h2>Tags</h2>
|
|
|
805 |
<table class="table table-condensed">
|
|
|
806 |
<tr>
|
|
|
807 |
<th>
|
|
|
808 |
todo
|
|
|
809 |
</th>
|
|
|
810 |
<td>
|
|
|
811 |
</td>
|
|
|
812 |
</tr>
|
|
|
813 |
</table>
|
|
|
814 |
</aside>
|
|
|
815 |
</div>
|
|
|
816 |
|
|
|
817 |
<div class="row-fluid">
|
|
|
818 |
<div class="span8 content class">
|
|
|
819 |
<a id="method_getOption" name="method_getOption" class="anchor"></a>
|
|
|
820 |
<article class="method">
|
|
|
821 |
<h3 class="public ">getOption()</h3>
|
|
|
822 |
<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>
|
|
|
823 |
<pre class="signature" style="margin-right: 54px;">getOption(string <span class="argument">$nomOption</span>) : mixed</pre>
|
|
|
824 |
<p><em>Renvoie la valeur de l'option specifiée.</em></p>
|
|
|
825 |
|
|
|
826 |
|
|
|
827 |
<h4>Parameters</h4>
|
|
|
828 |
<table class="table table-condensed table-hover">
|
|
|
829 |
<tr>
|
|
|
830 |
<td>string</td>
|
|
|
831 |
<td>$nomOption</td>
|
|
|
832 |
<td><p>Nom de l'option demandée</p></td>
|
|
|
833 |
</tr>
|
|
|
834 |
</table>
|
|
|
835 |
|
|
|
836 |
|
|
|
837 |
<h4>Returns</h4>
|
|
|
838 |
mixed
|
|
|
839 |
</article>
|
|
|
840 |
</div>
|
|
|
841 |
<aside class="span4 detailsbar">
|
|
|
842 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
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_setOption" name="method_setOption" class="anchor"></a>
|
|
|
861 |
<article class="method">
|
|
|
862 |
<h3 class="public ">setOption()</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;">setOption(string <span class="argument">$nomOption</span>, mixed <span class="argument">$valeur</span>) : void</pre>
|
|
|
865 |
<p><em>Met à jour la valeur de l'option spécifiée.</em></p>
|
|
|
866 |
|
|
|
867 |
|
|
|
868 |
<h4>Parameters</h4>
|
|
|
869 |
<table class="table table-condensed table-hover">
|
|
|
870 |
<tr>
|
|
|
871 |
<td>string</td>
|
|
|
872 |
<td>$nomOption</td>
|
|
|
873 |
<td><p>une des constantes commençant par self::OPTION_</p></td>
|
|
|
874 |
</tr>
|
|
|
875 |
<tr>
|
|
|
876 |
<td>mixed</td>
|
|
|
877 |
<td>$valeur</td>
|
|
|
878 |
<td><p>valeur de l'option</p></td>
|
|
|
879 |
</tr>
|
|
|
880 |
</table>
|
|
|
881 |
|
|
|
882 |
|
|
|
883 |
</article>
|
|
|
884 |
</div>
|
|
|
885 |
<aside class="span4 detailsbar">
|
|
|
886 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
887 |
<dl>
|
|
|
888 |
<dt>See also</dt>
|
|
|
889 |
<dd><a href=""><span class="namespace-wrapper"></span></a></dd>
|
|
|
890 |
<dd><a href=""><span class="namespace-wrapper"></span></a></dd>
|
|
|
891 |
<dd><a href=""><span class="namespace-wrapper"></span></a></dd>
|
|
|
892 |
</dl>
|
|
|
893 |
<h2>Tags</h2>
|
|
|
894 |
<table class="table table-condensed">
|
|
|
895 |
<tr>
|
|
|
896 |
<th>
|
|
|
897 |
todo
|
|
|
898 |
</th>
|
|
|
899 |
<td>
|
|
|
900 |
</td>
|
|
|
901 |
</tr>
|
|
|
902 |
</table>
|
|
|
903 |
</aside>
|
|
|
904 |
</div>
|
|
|
905 |
|
|
|
906 |
<div class="row-fluid">
|
|
|
907 |
<div class="span8 content class">
|
|
|
908 |
<a id="method_setRequete" name="method_setRequete" class="anchor"></a>
|
|
|
909 |
<article class="method">
|
|
|
910 |
<h3 class="public ">setRequete()</h3>
|
|
|
911 |
<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>
|
|
|
912 |
<pre class="signature" style="margin-right: 54px;">setRequete(array <span class="argument">$parametres</span>) : void</pre>
|
|
|
913 |
<p><em>(Re-)Création de la partie requête de l'URL à partir des données du tableau (passé en paramètre).</em></p>
|
|
|
914 |
|
|
|
915 |
|
|
|
916 |
<h4>Parameters</h4>
|
|
|
917 |
<table class="table table-condensed table-hover">
|
|
|
918 |
<tr>
|
|
|
919 |
<td>array</td>
|
|
|
920 |
<td>$parametres</td>
|
|
|
921 |
<td></td>
|
|
|
922 |
</tr>
|
|
|
923 |
</table>
|
|
|
924 |
|
|
|
925 |
|
|
|
926 |
</article>
|
|
|
927 |
</div>
|
|
|
928 |
<aside class="span4 detailsbar">
|
|
|
929 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
930 |
<dl>
|
|
|
931 |
</dl>
|
|
|
932 |
<h2>Tags</h2>
|
|
|
933 |
<table class="table table-condensed">
|
|
|
934 |
<tr>
|
|
|
935 |
<th>
|
|
|
936 |
todo
|
|
|
937 |
</th>
|
|
|
938 |
<td>
|
|
|
939 |
</td>
|
|
|
940 |
</tr>
|
|
|
941 |
</table>
|
|
|
942 |
</aside>
|
|
|
943 |
</div>
|
|
|
944 |
|
|
|
945 |
<div class="row-fluid">
|
|
|
946 |
<div class="span8 content class">
|
|
|
947 |
<a id="method_fusionnerRequete" name="method_fusionnerRequete" class="anchor"></a>
|
|
|
948 |
<article class="method">
|
|
|
949 |
<h3 class="public ">fusionnerRequete()</h3>
|
|
|
950 |
<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>
|
|
|
951 |
<pre class="signature" style="margin-right: 54px;">fusionnerRequete(array <span class="argument">$parametres</span>) : void</pre>
|
|
|
952 |
<p><em>(Re-)Création de la partie requête de l'URL à partir de la fusion du tableau (passé en paramètre) et
|
|
|
953 |
les valeurs présentes dans $_GET.</em></p>
|
|
|
954 |
|
|
|
955 |
|
|
|
956 |
<h4>Parameters</h4>
|
|
|
957 |
<table class="table table-condensed table-hover">
|
|
|
958 |
<tr>
|
|
|
959 |
<td>array</td>
|
|
|
960 |
<td>$parametres</td>
|
|
|
961 |
<td></td>
|
|
|
962 |
</tr>
|
|
|
963 |
</table>
|
|
|
964 |
|
|
|
965 |
|
|
|
966 |
</article>
|
|
|
967 |
</div>
|
|
|
968 |
<aside class="span4 detailsbar">
|
|
|
969 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
970 |
<dl>
|
|
|
971 |
</dl>
|
|
|
972 |
<h2>Tags</h2>
|
|
|
973 |
<table class="table table-condensed">
|
|
|
974 |
<tr>
|
|
|
975 |
<th>
|
|
|
976 |
todo
|
|
|
977 |
</th>
|
|
|
978 |
<td>
|
|
|
979 |
</td>
|
|
|
980 |
</tr>
|
|
|
981 |
</table>
|
|
|
982 |
</aside>
|
|
|
983 |
</div>
|
|
|
984 |
|
|
|
985 |
<div class="row-fluid">
|
|
|
986 |
<div class="span8 content class">
|
|
|
987 |
<a id="method_normaliser" name="method_normaliser" class="anchor"></a>
|
|
|
988 |
<article class="method">
|
|
|
989 |
<h3 class="public ">normaliser()</h3>
|
|
|
990 |
<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>
|
|
|
991 |
<pre class="signature" style="margin-right: 54px;">normaliser() : void</pre>
|
|
|
992 |
<p><em>Normalise les données de l'instance d'Url faisant appel à cette méthode.</em></p>
|
|
|
993 |
|
|
|
994 |
|
|
|
995 |
|
|
|
996 |
|
|
|
997 |
</article>
|
|
|
998 |
</div>
|
|
|
999 |
<aside class="span4 detailsbar">
|
|
|
1000 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1001 |
<dl>
|
|
|
1002 |
</dl>
|
|
|
1003 |
<h2>Tags</h2>
|
|
|
1004 |
<table class="table table-condensed">
|
|
|
1005 |
<tr>
|
|
|
1006 |
<th>
|
|
|
1007 |
todo
|
|
|
1008 |
</th>
|
|
|
1009 |
<td>
|
|
|
1010 |
</td>
|
|
|
1011 |
</tr>
|
|
|
1012 |
</table>
|
|
|
1013 |
</aside>
|
|
|
1014 |
</div>
|
|
|
1015 |
|
|
|
1016 |
<div class="row-fluid">
|
|
|
1017 |
<div class="span8 content class">
|
|
|
1018 |
<a id="method_getCanonique" name="method_getCanonique" class="anchor"></a>
|
|
|
1019 |
<article class="method">
|
|
|
1020 |
<h3 class="public ">getCanonique()</h3>
|
|
|
1021 |
<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>
|
|
|
1022 |
<pre class="signature" style="margin-right: 54px;">getCanonique() : \Url</pre>
|
|
|
1023 |
<p><em>Renvoie une instance d'objet Url representant l'URL canonique du script PHP en cours d'éxécution.</em></p>
|
|
|
1024 |
|
|
|
1025 |
|
|
|
1026 |
|
|
|
1027 |
|
|
|
1028 |
<h4>Returns</h4>
|
|
|
1029 |
<a href="../classes/Url.html">\Url</a>
|
|
|
1030 |
— <p>retourne un objet Url ou null en cas d'erreur.</p>
|
|
|
1031 |
</article>
|
|
|
1032 |
</div>
|
|
|
1033 |
<aside class="span4 detailsbar">
|
|
|
1034 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1035 |
<span class="label label-info">static</span>
|
|
|
1036 |
<dl>
|
|
|
1037 |
</dl>
|
|
|
1038 |
<h2>Tags</h2>
|
|
|
1039 |
<table class="table table-condensed">
|
|
|
1040 |
<tr>
|
|
|
1041 |
<th>
|
|
|
1042 |
todo
|
|
|
1043 |
</th>
|
|
|
1044 |
<td>
|
|
|
1045 |
</td>
|
|
|
1046 |
</tr>
|
|
|
1047 |
</table>
|
|
|
1048 |
</aside>
|
|
|
1049 |
</div>
|
|
|
1050 |
|
|
|
1051 |
<div class="row-fluid">
|
|
|
1052 |
<div class="span8 content class">
|
|
|
1053 |
<a id="method_getDemande" name="method_getDemande" class="anchor"></a>
|
|
|
1054 |
<article class="method">
|
|
|
1055 |
<h3 class="public ">getDemande()</h3>
|
|
|
1056 |
<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>
|
|
|
1057 |
<pre class="signature" style="margin-right: 54px;">getDemande() : \Url</pre>
|
|
|
1058 |
<p><em>Renvoie une instance d'objet Url representant l'URL utilisée pour récupérer la requête en cours.</em></p>
|
|
|
1059 |
|
|
|
1060 |
|
|
|
1061 |
|
|
|
1062 |
|
|
|
1063 |
<h4>Returns</h4>
|
|
|
1064 |
<a href="../classes/Url.html">\Url</a>
|
|
|
1065 |
— <p>retourne un objet Url ou null en cas d'erreur.</p>
|
|
|
1066 |
</article>
|
|
|
1067 |
</div>
|
|
|
1068 |
<aside class="span4 detailsbar">
|
|
|
1069 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1070 |
<span class="label label-info">static</span>
|
|
|
1071 |
<dl>
|
|
|
1072 |
</dl>
|
|
|
1073 |
<h2>Tags</h2>
|
|
|
1074 |
<table class="table table-condensed">
|
|
|
1075 |
<tr>
|
|
|
1076 |
<th>
|
|
|
1077 |
todo
|
|
|
1078 |
</th>
|
|
|
1079 |
<td>
|
|
|
1080 |
</td>
|
|
|
1081 |
</tr>
|
|
|
1082 |
</table>
|
|
|
1083 |
</aside>
|
|
|
1084 |
</div>
|
|
|
1085 |
|
|
|
1086 |
<div class="row-fluid">
|
|
|
1087 |
<div class="span8 content class">
|
|
|
1088 |
<a id="method_getURL" name="method_getURL" class="anchor"></a>
|
|
|
1089 |
<article class="method">
|
|
|
1090 |
<h3 class="public ">getURL()</h3>
|
|
|
1091 |
<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>
|
|
|
1092 |
<pre class="signature" style="margin-right: 54px;">getURL() : string</pre>
|
|
|
1093 |
<p><em>Renvoie un représentation sous forme de chaine de l'URL.</em></p>
|
|
|
1094 |
|
|
|
1095 |
|
|
|
1096 |
|
|
|
1097 |
|
|
|
1098 |
<h4>Returns</h4>
|
|
|
1099 |
string
|
|
|
1100 |
— <p>l'url</p>
|
|
|
1101 |
</article>
|
|
|
1102 |
</div>
|
|
|
1103 |
<aside class="span4 detailsbar">
|
|
|
1104 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1105 |
<dl>
|
|
|
1106 |
</dl>
|
|
|
1107 |
<h2>Tags</h2>
|
|
|
1108 |
<table class="table table-condensed">
|
|
|
1109 |
<tr>
|
|
|
1110 |
<th>
|
|
|
1111 |
todo
|
|
|
1112 |
</th>
|
|
|
1113 |
<td>
|
|
|
1114 |
</td>
|
|
|
1115 |
</tr>
|
|
|
1116 |
</table>
|
|
|
1117 |
</aside>
|
|
|
1118 |
</div>
|
|
|
1119 |
|
|
|
1120 |
<div class="row-fluid">
|
|
|
1121 |
<div class="span8 content class">
|
|
|
1122 |
<a id="method_getAutorite" name="method_getAutorite" class="anchor"></a>
|
|
|
1123 |
<article class="method">
|
|
|
1124 |
<h3 class="private ">getAutorite()</h3>
|
|
|
1125 |
<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>
|
|
|
1126 |
<pre class="signature" style="margin-right: 54px;">getAutorite() : string|bool</pre>
|
|
|
1127 |
<p><em>Renvoie la partie autorité, i.e. [ infoUtilisateur "@" ] hote [ ":" port ], ou
|
|
|
1128 |
false si celle-ci est absente.</em></p>
|
|
|
1129 |
|
|
|
1130 |
|
|
|
1131 |
|
|
|
1132 |
|
|
|
1133 |
<h4>Returns</h4>
|
|
|
1134 |
string|bool
|
|
|
1135 |
</article>
|
|
|
1136 |
</div>
|
|
|
1137 |
<aside class="span4 detailsbar">
|
|
|
1138 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1139 |
<dl>
|
|
|
1140 |
</dl>
|
|
|
1141 |
<h2>Tags</h2>
|
|
|
1142 |
<table class="table table-condensed">
|
|
|
1143 |
<tr>
|
|
|
1144 |
<th>
|
|
|
1145 |
todo
|
|
|
1146 |
</th>
|
|
|
1147 |
<td>
|
|
|
1148 |
</td>
|
|
|
1149 |
</tr>
|
|
|
1150 |
</table>
|
|
|
1151 |
</aside>
|
|
|
1152 |
</div>
|
|
|
1153 |
|
|
|
1154 |
<div class="row-fluid">
|
|
|
1155 |
<div class="span8 content class">
|
|
|
1156 |
<a id="method_setAutorite" name="method_setAutorite" class="anchor"></a>
|
|
|
1157 |
<article class="method">
|
|
|
1158 |
<h3 class="private ">setAutorite()</h3>
|
|
|
1159 |
<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>
|
|
|
1160 |
<pre class="signature" style="margin-right: 54px;">setAutorite(string|false <span class="argument">$autorite</span>) : void</pre>
|
|
|
1161 |
<p><em></em></p>
|
|
|
1162 |
|
|
|
1163 |
|
|
|
1164 |
<h4>Parameters</h4>
|
|
|
1165 |
<table class="table table-condensed table-hover">
|
|
|
1166 |
<tr>
|
|
|
1167 |
<td>string|false</td>
|
|
|
1168 |
<td>$autorite</td>
|
|
|
1169 |
<td></td>
|
|
|
1170 |
</tr>
|
|
|
1171 |
</table>
|
|
|
1172 |
|
|
|
1173 |
|
|
|
1174 |
</article>
|
|
|
1175 |
</div>
|
|
|
1176 |
<aside class="span4 detailsbar">
|
|
|
1177 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1178 |
<dl>
|
|
|
1179 |
</dl>
|
|
|
1180 |
<h2>Tags</h2>
|
|
|
1181 |
<table class="table table-condensed">
|
|
|
1182 |
<tr>
|
|
|
1183 |
<th>
|
|
|
1184 |
todo
|
|
|
1185 |
</th>
|
|
|
1186 |
<td>
|
|
|
1187 |
</td>
|
|
|
1188 |
</tr>
|
|
|
1189 |
</table>
|
|
|
1190 |
</aside>
|
|
|
1191 |
</div>
|
|
|
1192 |
|
|
|
1193 |
<div class="row-fluid">
|
|
|
1194 |
<div class="span8 content class">
|
|
|
1195 |
<a id="method_etreAbsolue" name="method_etreAbsolue" class="anchor"></a>
|
|
|
1196 |
<article class="method">
|
|
|
1197 |
<h3 class="private ">etreAbsolue()</h3>
|
|
|
1198 |
<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>
|
|
|
1199 |
<pre class="signature" style="margin-right: 54px;">etreAbsolue() : bool</pre>
|
|
|
1200 |
<p><em>Renvoie vrai ou faux suivant que l'instance en cours représente une URL relative ou absolue.</em></p>
|
|
|
1201 |
|
|
|
1202 |
|
|
|
1203 |
|
|
|
1204 |
|
|
|
1205 |
<h4>Returns</h4>
|
|
|
1206 |
bool
|
|
|
1207 |
</article>
|
|
|
1208 |
</div>
|
|
|
1209 |
<aside class="span4 detailsbar">
|
|
|
1210 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1211 |
<dl>
|
|
|
1212 |
</dl>
|
|
|
1213 |
<h2>Tags</h2>
|
|
|
1214 |
<table class="table table-condensed">
|
|
|
1215 |
<tr>
|
|
|
1216 |
<th>
|
|
|
1217 |
todo
|
|
|
1218 |
</th>
|
|
|
1219 |
<td>
|
|
|
1220 |
</td>
|
|
|
1221 |
</tr>
|
|
|
1222 |
</table>
|
|
|
1223 |
</aside>
|
|
|
1224 |
</div>
|
|
|
1225 |
|
|
|
1226 |
<div class="row-fluid">
|
|
|
1227 |
<div class="span8 content class">
|
|
|
1228 |
<a id="method_supprimerSegmentsAPoints" name="method_supprimerSegmentsAPoints" class="anchor"></a>
|
|
|
1229 |
<article class="method">
|
|
|
1230 |
<h3 class="private ">supprimerSegmentsAPoints()</h3>
|
|
|
1231 |
<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>
|
|
|
1232 |
<pre class="signature" style="margin-right: 54px;">supprimerSegmentsAPoints(string <span class="argument">$chemin</span>) : string</pre>
|
|
|
1233 |
<p><em>La suppression des segments à points est décrite dans la RFC 3986, section 5.2.4, e.g.</em></p>
|
|
|
1234 |
<p>"/foo/../bar/baz" => "/bar/baz"</p>
|
|
|
1235 |
|
|
|
1236 |
<h4>Parameters</h4>
|
|
|
1237 |
<table class="table table-condensed table-hover">
|
|
|
1238 |
<tr>
|
|
|
1239 |
<td>string</td>
|
|
|
1240 |
<td>$chemin</td>
|
|
|
1241 |
<td><p>un chemin</p></td>
|
|
|
1242 |
</tr>
|
|
|
1243 |
</table>
|
|
|
1244 |
|
|
|
1245 |
|
|
|
1246 |
<h4>Returns</h4>
|
|
|
1247 |
string
|
|
|
1248 |
— <p>un chemin</p>
|
|
|
1249 |
</article>
|
|
|
1250 |
</div>
|
|
|
1251 |
<aside class="span4 detailsbar">
|
|
|
1252 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1253 |
<span class="label label-info">static</span>
|
|
|
1254 |
<dl>
|
|
|
1255 |
</dl>
|
|
|
1256 |
<h2>Tags</h2>
|
|
|
1257 |
<table class="table table-condensed">
|
|
|
1258 |
<tr>
|
|
|
1259 |
<th>
|
|
|
1260 |
todo
|
|
|
1261 |
</th>
|
|
|
1262 |
<td>
|
|
|
1263 |
</td>
|
|
|
1264 |
</tr>
|
|
|
1265 |
</table>
|
|
|
1266 |
</aside>
|
|
|
1267 |
</div>
|
|
|
1268 |
|
|
|
1269 |
</div>
|
|
|
1270 |
</section>
|
|
|
1271 |
|
|
|
1272 |
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
|
|
1273 |
<div class="modal-header">
|
|
|
1274 |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
1275 |
<h3 id="source-view-label">Url.php</h3>
|
|
|
1276 |
</div>
|
|
|
1277 |
<div class="modal-body">
|
|
|
1278 |
<pre data-src="../files/Url.php.txt" class="language-php line-numbers"></pre>
|
|
|
1279 |
</div>
|
|
|
1280 |
</div>
|
|
|
1281 |
|
|
|
1282 |
<footer class="row-fluid">
|
|
|
1283 |
<section class="span10 offset2">
|
|
|
1284 |
<section class="row-fluid">
|
|
|
1285 |
<section class="span10 offset1">
|
|
|
1286 |
<section class="row-fluid footer-sections">
|
|
|
1287 |
<section class="span4">
|
|
|
1288 |
<h1><i class="icon-code"></i></h1>
|
|
|
1289 |
<div>
|
|
|
1290 |
<ul>
|
|
|
1291 |
</ul>
|
|
|
1292 |
</div>
|
|
|
1293 |
</section>
|
|
|
1294 |
<section class="span4">
|
|
|
1295 |
<h1><i class="icon-bar-chart"></i></h1>
|
|
|
1296 |
<div>
|
|
|
1297 |
<ul>
|
|
|
1298 |
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
|
|
1299 |
</ul>
|
|
|
1300 |
</div>
|
|
|
1301 |
</section>
|
|
|
1302 |
<section class="span4">
|
|
|
1303 |
<h1><i class="icon-pushpin"></i></h1>
|
|
|
1304 |
<div>
|
|
|
1305 |
<ul>
|
|
|
1306 |
<li><a href="../reports/errors.html">Errors</a></li>
|
|
|
1307 |
<li><a href="../reports/markers.html">Markers</a></li>
|
|
|
1308 |
</ul>
|
|
|
1309 |
</div>
|
|
|
1310 |
</section>
|
|
|
1311 |
</section>
|
|
|
1312 |
</section>
|
|
|
1313 |
</section>
|
|
|
1314 |
<section class="row-fluid">
|
|
|
1315 |
<section class="span10 offset1">
|
|
|
1316 |
<hr />
|
|
|
1317 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
|
|
1318 |
on March 12th, 2014 at 15:57.
|
|
|
1319 |
</section>
|
|
|
1320 |
</section>
|
|
|
1321 |
</section>
|
|
|
1322 |
</footer>
|
|
|
1323 |
</div>
|
|
|
1324 |
|
|
|
1325 |
</body>
|
|
|
1326 |
</html>
|