Subversion Repositories Applications.framework

Rev

Rev 464 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
464 jpm 1
<!DOCTYPE html>
2
<html>
3
<head>
4
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5
	<meta name="generator" content="ApiGen 2.8.0">
6
 
465 jpm 7
	<title>Class RestClient</title>
464 jpm 8
 
9
	<script type="text/javascript" src="resources/combined.js?4205936287"></script>
465 jpm 10
	<script type="text/javascript" src="elementlist.js?4111837732"></script>
464 jpm 11
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
12
 
13
</head>
14
 
15
<body>
16
<div id="left">
17
	<div id="menu">
18
		<a href="index.html" title="Overview"><span>Overview</span></a>
19
 
20
 
21
		<div id="groups">
22
			<h3>Packages</h3>
23
			<ul>
24
				<li class="active"><a href="package-Framework.html">Framework</a>
25
						</li>
26
				<li><a href="package-None.html">None</a>
27
						</li>
28
				<li><a href="package-PHP.html">PHP</a>
29
						</li>
30
				<li><a href="package-Utilitaire.html">Utilitaire</a>
31
						</li>
32
			</ul>
33
		</div>
34
 
35
		<hr>
36
 
37
 
38
		<div id="elements">
39
			<h3>Classes</h3>
40
			<ul>
41
				<li><a href="class-Bdd.html">Bdd</a></li>
42
				<li><a href="class-Cache.html">Cache</a></li>
43
				<li><a href="class-CacheSimple.html">CacheSimple</a></li>
44
				<li><a href="class-Chronometre.html">Chronometre</a></li>
45
				<li><a href="class-Cli.html">Cli</a></li>
46
				<li><a href="class-Config.html">Config</a></li>
47
				<li><a href="class-Controleur.html">Controleur</a></li>
48
				<li><a href="class-Debug.html">Debug</a></li>
49
				<li><a href="class-Framework.html">Framework</a></li>
50
				<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
51
				<li><a href="class-I18n.html">I18n</a></li>
52
				<li><a href="class-Log.html">Log</a></li>
53
				<li><a href="class-Registre.html">Registre</a></li>
54
				<li class="active"><a href="class-RestClient.html">RestClient</a></li>
55
				<li><a href="class-RestServeur.html">RestServeur</a></li>
56
				<li><a href="class-RestService.html">RestService</a></li>
57
				<li><a href="class-Script.html">Script</a></li>
58
				<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
59
				<li><a href="class-Url.html">Url</a></li>
60
			</ul>
61
 
62
 
63
 
64
 
65
 
66
		</div>
67
	</div>
68
</div>
69
 
70
<div id="splitter"></div>
71
 
72
<div id="right">
73
<div id="rightInner">
74
	<form id="search">
75
		<input type="hidden" name="cx" value="">
76
		<input type="hidden" name="ie" value="UTF-8">
77
		<input type="text" name="q" class="text">
78
		<input type="submit" value="Search">
79
	</form>
80
 
81
	<div id="navigation">
82
		<ul>
83
			<li>
84
				<a href="index.html" title="Overview"><span>Overview</span></a>
85
			</li>
86
			<li>
87
				<a href="package-Framework.html" title="Summary of Framework"><span>Package</span></a>
88
			</li>
89
			<li class="active">
90
<span>Class</span>			</li>
91
		</ul>
92
		<ul>
93
			<li>
94
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
95
			</li>
96
			<li>
97
				<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
98
			</li>
99
			<li>
100
				<a href="todo.html" title="Todo list"><span>Todo</span></a>
101
			</li>
102
		</ul>
103
		<ul>
104
		</ul>
105
	</div>
106
 
107
<div id="content" class="class">
108
	<h1>Class RestClient</h1>
109
 
110
 
111
	<div class="description">
112
 
113
<p>Classe client permettant d'interroger des services web REST.</p>
114
 
115
	</div>
116
 
117
 
118
 
119
 
120
 
121
 
122
 
123
 
124
 
125
	<div class="info">
126
 
127
 
128
 
129
		<b>Package:</b> <a href="package-Framework.html">Framework</a><br>
130
 
131
				<b>Category:</b>
132
				php 5.2<br>
133
				<b>Copyright:</b>
134
				Copyright (c) 2010, Tela Botanica (<a
135
href="mailto:accueil&#64;tela-botanica.org">accueil&#64;<!-- -->tela-botanica.org</a>)<br>
136
				<b>License:</b>
137
				<a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL</a><br>
138
				<b>License:</b>
139
				<a href="http://www.gnu.org/licenses/gpl.html">Licence GNU-GPL</a><br>
140
				<b>Author:</b>
141
				Jean-Pascal MILCENT &lt;<a
142
href="mailto:jpm&#64;tela-botanica.org">jpm&#64;<!-- -->tela-botanica.org</a>&gt;<br>
143
				<b>Version:</b>
144
				$Id: RestClient.php 439 2013-10-14 15:48:41Z raphael $<br>
465 jpm 145
		<b>Located at</b> <a href="source-class-RestClient.html#3-219" title="Go to source code">RestClient.php</a><br>
464 jpm 146
	</div>
147
 
148
 
149
 
150
	<table class="summary" id="methods">
151
	<caption>Methods summary</caption>
152
	<tr data-order="getReponseEntetes" id="_getReponseEntetes">
153
 
154
		<td class="attributes"><code>
155
			 public
156
 
157
 
158
			</code>
159
		</td>
160
 
161
		<td class="name"><div>
162
		<a class="anchor" href="#_getReponseEntetes">#</a>
163
		<code><a href="source-class-RestClient.html#25-27" title="Go to source code">getReponseEntetes</a>( )</code>
164
 
165
		<div class="description short">
166
 
167
		</div>
168
 
169
		<div class="description detailed hidden">
170
 
171
 
172
 
173
 
174
 
175
 
176
 
177
 
178
		</div>
179
		</div></td>
180
	</tr>
181
	<tr data-order="getParametre" id="_getParametre">
182
 
183
		<td class="attributes"><code>
184
			 public
185
 
186
 
187
			</code>
188
		</td>
189
 
190
		<td class="name"><div>
191
		<a class="anchor" href="#_getParametre">#</a>
192
		<code><a href="source-class-RestClient.html#29-32" title="Go to source code">getParametre</a>( <span>mixed <var>$cle</var></span> )</code>
193
 
194
		<div class="description short">
195
 
196
		</div>
197
 
198
		<div class="description detailed hidden">
199
 
200
 
201
 
202
 
203
 
204
 
205
 
206
 
207
		</div>
208
		</div></td>
209
	</tr>
210
	<tr data-order="ajouterParametre" id="_ajouterParametre">
211
 
212
		<td class="attributes"><code>
213
			 public
214
 
215
 
216
			</code>
217
		</td>
218
 
219
		<td class="name"><div>
220
		<a class="anchor" href="#_ajouterParametre">#</a>
221
		<code><a href="source-class-RestClient.html#34-36" title="Go to source code">ajouterParametre</a>( <span>mixed <var>$cle</var></span>, <span>mixed <var>$valeur</var></span> )</code>
222
 
223
		<div class="description short">
224
 
225
		</div>
226
 
227
		<div class="description detailed hidden">
228
 
229
 
230
 
231
 
232
 
233
 
234
 
235
 
236
		</div>
237
		</div></td>
238
	</tr>
239
	<tr data-order="supprimerParametre" id="_supprimerParametre">
240
 
241
		<td class="attributes"><code>
242
			 public
243
 
244
 
245
			</code>
246
		</td>
247
 
248
		<td class="name"><div>
249
		<a class="anchor" href="#_supprimerParametre">#</a>
250
		<code><a href="source-class-RestClient.html#38-40" title="Go to source code">supprimerParametre</a>( <span>mixed <var>$cle</var></span> )</code>
251
 
252
		<div class="description short">
253
 
254
		</div>
255
 
256
		<div class="description detailed hidden">
257
 
258
 
259
 
260
 
261
 
262
 
263
 
264
 
265
		</div>
266
		</div></td>
267
	</tr>
268
	<tr data-order="nettoyerParametres" id="_nettoyerParametres">
269
 
270
		<td class="attributes"><code>
271
			 public
272
 
273
 
274
			</code>
275
		</td>
276
 
277
		<td class="name"><div>
278
		<a class="anchor" href="#_nettoyerParametres">#</a>
279
		<code><a href="source-class-RestClient.html#42-44" title="Go to source code">nettoyerParametres</a>( )</code>
280
 
281
		<div class="description short">
282
 
283
		</div>
284
 
285
		<div class="description detailed hidden">
286
 
287
 
288
 
289
 
290
 
291
 
292
 
293
 
294
		</div>
295
		</div></td>
296
	</tr>
297
	<tr data-order="consulter" id="_consulter">
298
 
299
		<td class="attributes"><code>
300
			 public
301
 
302
 
303
			</code>
304
		</td>
305
 
306
		<td class="name"><div>
307
		<a class="anchor" href="#_consulter">#</a>
308
		<code><a href="source-class-RestClient.html#49-52" title="Go to source code">consulter</a>( <span>mixed <var>$url</var></span> )</code>
309
 
310
		<div class="description short">
311
 
312
		</div>
313
 
314
		<div class="description detailed hidden">
315
 
316
 
317
 
318
 
319
 
320
 
321
 
322
 
323
		</div>
324
		</div></td>
325
	</tr>
326
	<tr data-order="ajouter" id="_ajouter">
327
 
328
		<td class="attributes"><code>
329
			 public
330
 
331
 
332
			</code>
333
		</td>
334
 
335
		<td class="name"><div>
336
		<a class="anchor" href="#_ajouter">#</a>
337
		<code><a href="source-class-RestClient.html#54-57" title="Go to source code">ajouter</a>( <span>mixed <var>$url</var></span>, <span>array <var>$donnees</var></span> )</code>
338
 
339
		<div class="description short">
340
 
341
		</div>
342
 
343
		<div class="description detailed hidden">
344
 
345
 
346
 
347
 
348
 
349
 
350
 
351
 
352
		</div>
353
		</div></td>
354
	</tr>
355
	<tr data-order="modifier" id="_modifier">
356
 
357
		<td class="attributes"><code>
358
			 public
359
 
360
 
361
			</code>
362
		</td>
363
 
364
		<td class="name"><div>
365
		<a class="anchor" href="#_modifier">#</a>
366
		<code><a href="source-class-RestClient.html#59-62" title="Go to source code">modifier</a>( <span>mixed <var>$url</var></span>, <span>array <var>$donnees</var></span> )</code>
367
 
368
		<div class="description short">
369
 
370
		</div>
371
 
372
		<div class="description detailed hidden">
373
 
374
 
375
 
376
 
377
 
378
 
379
 
380
 
381
		</div>
382
		</div></td>
383
	</tr>
384
	<tr data-order="supprimer" id="_supprimer">
385
 
386
		<td class="attributes"><code>
387
			 public
388
 
389
 
390
			</code>
391
		</td>
392
 
393
		<td class="name"><div>
394
		<a class="anchor" href="#_supprimer">#</a>
395
		<code><a href="source-class-RestClient.html#64-67" title="Go to source code">supprimer</a>( <span>mixed <var>$url</var></span> )</code>
396
 
397
		<div class="description short">
398
 
399
		</div>
400
 
401
		<div class="description detailed hidden">
402
 
403
 
404
 
405
 
406
 
407
 
408
 
409
 
410
		</div>
411
		</div></td>
412
	</tr>
413
	<tr data-order="envoyerCurlRequete" id="_envoyerCurlRequete">
414
 
415
		<td class="attributes"><code>
416
			 public
417
 
418
 
419
			</code>
420
		</td>
421
 
422
		<td class="name"><div>
423
		<a class="anchor" href="#_envoyerCurlRequete">#</a>
424
		<code><a href="source-class-RestClient.html#69-116" title="Go to source code">envoyerCurlRequete</a>( <span>mixed <var>$url</var></span>, <span>mixed <var>$mode</var></span>, <span>array <var>$donnees</var> = <span class="php-keyword1">array</span>()</span> )</code>
425
 
426
		<div class="description short">
427
 
428
		</div>
429
 
430
		<div class="description detailed hidden">
431
 
432
 
433
 
434
 
435
 
436
 
437
 
438
 
439
		</div>
440
		</div></td>
441
	</tr>
442
	<tr data-order="getCaller" id="_getCaller">
443
 
444
		<td class="attributes"><code>
445
			 public static
446
 
447
 
448
			</code>
449
		</td>
450
 
451
		<td class="name"><div>
452
		<a class="anchor" href="#_getCaller">#</a>
453
		<code><a href="source-class-RestClient.html#118-121" title="Go to source code">getCaller</a>( <span>mixed <var>$trace</var></span> )</code>
454
 
455
		<div class="description short">
456
 
457
		</div>
458
 
459
		<div class="description detailed hidden">
460
 
461
 
462
 
463
 
464
 
465
 
466
 
467
 
468
		</div>
469
		</div></td>
470
	</tr>
471
	<tr data-order="envoyerRequete" id="_envoyerRequete">
472
 
473
		<td class="attributes"><code>
474
			 public
475
 
476
 
477
			</code>
478
		</td>
479
 
480
		<td class="name"><div>
481
		<a class="anchor" href="#_envoyerRequete">#</a>
482
		<code><a href="source-class-RestClient.html#123-166" title="Go to source code">envoyerRequete</a>( <span>mixed <var>$url</var></span>, <span>mixed <var>$mode</var></span>, <span>array <var>$donnees</var> = <span class="php-keyword1">array</span>()</span> )</code>
483
 
484
		<div class="description short">
485
 
486
		</div>
487
 
488
		<div class="description detailed hidden">
489
 
490
 
491
 
492
 
493
 
494
 
495
 
496
 
497
		</div>
498
		</div></td>
499
	</tr>
500
	</table>
501
 
502
 
503
 
504
 
505
 
506
 
507
 
508
 
509
	<table class="summary" id="constants">
510
	<caption>Constants summary</caption>
511
	<tr data-order="HTTP_URL_REQUETE_SEPARATEUR" id="HTTP_URL_REQUETE_SEPARATEUR">
512
 
513
		<td class="attributes"><code>string</code></td>
514
		<td class="name"><code>
515
				<a href="source-class-RestClient.html#15" title="Go to source code"><b>HTTP_URL_REQUETE_SEPARATEUR</b></a>
516
		</code></td>
517
		<td class="value"><code><span class="php-quote">'&amp;'</span></code></td>
518
		<td class="description"><div>
519
			<a href="#HTTP_URL_REQUETE_SEPARATEUR" class="anchor">#</a>
520
 
521
			<div class="description short">
522
 
523
			</div>
524
 
525
			<div class="description detailed hidden">
526
 
527
 
528
			</div>
529
		</div></td>
530
	</tr>
531
	<tr data-order="HTTP_URL_REQUETE_CLE_VALEUR_SEPARATEUR" id="HTTP_URL_REQUETE_CLE_VALEUR_SEPARATEUR">
532
 
533
		<td class="attributes"><code>string</code></td>
534
		<td class="name"><code>
535
				<a href="source-class-RestClient.html#16" title="Go to source code"><b>HTTP_URL_REQUETE_CLE_VALEUR_SEPARATEUR</b></a>
536
		</code></td>
537
		<td class="value"><code><span class="php-quote">'='</span></code></td>
538
		<td class="description"><div>
539
			<a href="#HTTP_URL_REQUETE_CLE_VALEUR_SEPARATEUR" class="anchor">#</a>
540
 
541
			<div class="description short">
542
 
543
			</div>
544
 
545
			<div class="description detailed hidden">
546
 
547
 
548
			</div>
549
		</div></td>
550
	</tr>
551
	</table>
552
 
553
 
554
 
555
 
556
	<table class="summary" id="properties">
557
	<caption>Properties summary</caption>
558
	<tr data-order="parametres" id="$parametres">
559
		<td class="attributes"><code>
560
			protected
561
			mixed
562
		</code></td>
563
 
564
		<td class="name">
565
				<a href="source-class-RestClient.html#18" title="Go to source code"><var>$parametres</var></a>
566
		</td>
567
		<td class="value"><code><span class="php-keyword1">null</span></code></td>
568
		<td class="description"><div>
569
			<a href="#$parametres" class="anchor">#</a>
570
 
571
			<div class="description short">
572
 
573
			</div>
574
 
575
			<div class="description detailed hidden">
576
 
577
 
578
			</div>
579
		</div></td>
580
	</tr>
581
	</table>
582
 
583
 
584
 
585
 
586
 
587
 
588
</div>
589
 
590
	<div id="footer">
465 jpm 591
		 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
464 jpm 592
	</div>
593
</div>
594
</div>
595
</body>
596
</html>