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-302390834"></a>
|
|
|
142 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
|
|
143 |
</div>
|
|
|
144 |
<div id="namespace-302390834" 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>RestServeur</h1>
|
|
|
193 |
<p><em>Classe principale gérant les services web de type (@link(REST, http://fr.wikipedia.org/wiki/Rest).</em></p>
|
|
|
194 |
<p>Elle contient :</p>
|
|
|
195 |
<ul>
|
|
|
196 |
<li>les constantes indiquant les différentes (@link(méthode HTTP, <a href="http://fr.wikipedia.org/wiki/Http">http://fr.wikipedia.org/wiki/Http</a>) prises en compte.</li>
|
|
|
197 |
<li>les @link(codes HTTP des réponses, <a href="http://fr.wikipedia.org/wiki/Liste_des_codes_HTTP">http://fr.wikipedia.org/wiki/Liste_des_codes_HTTP</a>)</li>
|
|
|
198 |
</ul>
|
|
|
199 |
<p>Ce serveur REST accepte 4 types de méthodes HTTP : GET, PUT, POST, DELETE.
|
|
|
200 |
GET et POST ne pose généralement pas de problème pour les clients HTTP mais ce n'est pas forcément le cas pour PUT et DELETE.
|
|
|
201 |
Vous pouvez donc pour réaliser :</p>
|
|
|
202 |
<ul>
|
|
|
203 |
<li>DELETE : utiliser la méthode POST avec action=DELETE dans le corps de la requête.</li>
|
|
|
204 |
<li>PUT : utiliser la méthode POST avec une url ne contenant aucune indication de ressource.
|
|
|
205 |
Une autre solution consiste à utiliser n'importe quelle méthode et à ajouter l'entête "X_HTTP_METHOD_OVERRIDE" avec pour
|
|
|
206 |
valeur le nom de la méthode que vous souhaitez utiliser. Exemple d'entête : "X_HTTP_METHOD_OVERRIDE: PUT".
|
|
|
207 |
Exemple : <code>curl -v -v -H "X_HTTP_METHOD_OVERRIDE: DELETE" "<a href="http://www.mondomaine.org/services/apiVersion/[mon-service]/"</code">http://www.mondomaine.org/services/apiVersion/[mon-service]/"</code</a>>
|
|
|
208 |
Cela fonctionne avec Apache.</li>
|
|
|
209 |
</ul>
|
|
|
210 |
<p>Les classes des services web doivent avoir un nom au format ChatMot "MonService" et être appelée dans l'url par le même nom
|
|
|
211 |
en minuscule où les mots sont séparés par des tirets "mon-service".</p>
|
|
|
212 |
<p>Paramètres liés dans config.ini :</p>
|
|
|
213 |
<ul>
|
|
|
214 |
<li>serveur.baseURL : morceau de l'url pour appeler le serveur relative au domaine. Exemple : pour <a href="http://www.tela-botanica.org/mon_serveur/">http://www.tela-botanica.org/mon_serveur/</a>
|
|
|
215 |
mettre : "/mon_serveur/"</li>
|
|
|
216 |
<li>serveur.baseAlternativeURL : sur le même principe que ci-dessus permet d'affecter une deuxième url (pour gérer des raccourci via htaccess)</li>
|
|
|
217 |
</ul>
|
|
|
218 |
<p>Encodage en entrée : utf8
|
|
|
219 |
Encodage en sortie : utf8</p>
|
|
|
220 |
|
|
|
221 |
<section id="summary">
|
|
|
222 |
<h2>Summary</h2>
|
|
|
223 |
<section class="row-fluid heading">
|
|
|
224 |
<section class="span4">
|
|
|
225 |
<a href="#methods">Methods</a>
|
|
|
226 |
</section>
|
|
|
227 |
<section class="span4">
|
|
|
228 |
<a href="#properties">Properties</a>
|
|
|
229 |
</section>
|
|
|
230 |
<section class="span4">
|
|
|
231 |
<a href="#constants">Constants</a>
|
|
|
232 |
</section>
|
|
|
233 |
</section>
|
|
|
234 |
<section class="row-fluid public">
|
|
|
235 |
<section class="span4">
|
|
|
236 |
<a href="../classes/RestServeur.html#method___construct" class="">__construct()</a><br />
|
|
|
237 |
<a href="../classes/RestServeur.html#method_chargerClasse" class="">chargerClasse()</a><br />
|
|
|
238 |
<a href="../classes/RestServeur.html#method_executer" class="">executer()</a><br />
|
|
|
239 |
<a href="../classes/RestServeur.html#method_envoyerEnteteStatutHttp" class="">envoyerEnteteStatutHttp()</a><br />
|
|
|
240 |
<a href="../classes/RestServeur.html#method_gererErreurs" class="">gererErreurs()</a><br />
|
|
|
241 |
<a href="../classes/RestServeur.html#method_ajouterMessage" class="">ajouterMessage()</a><br />
|
|
|
242 |
</section>
|
|
|
243 |
<section class="span4">
|
|
|
244 |
<em>No public properties found</em>
|
|
|
245 |
</section>
|
|
|
246 |
<section class="span4">
|
|
|
247 |
<a href="../classes/RestServeur.html#constant_METHODE_GET" class="">METHODE_GET</a><br />
|
|
|
248 |
<a href="../classes/RestServeur.html#constant_METHODE_POST" class="">METHODE_POST</a><br />
|
|
|
249 |
<a href="../classes/RestServeur.html#constant_METHODE_DELETE" class="">METHODE_DELETE</a><br />
|
|
|
250 |
<a href="../classes/RestServeur.html#constant_METHODE_PUT" class="">METHODE_PUT</a><br />
|
|
|
251 |
<a href="../classes/RestServeur.html#constant_HTTP_CODE_OK" class="">HTTP_CODE_OK</a><br />
|
|
|
252 |
<a href="../classes/RestServeur.html#constant_HTTP_CODE_CREATION_OK" class="">HTTP_CODE_CREATION_OK</a><br />
|
|
|
253 |
<a href="../classes/RestServeur.html#constant_HTTP_CODE_SUPPRESSION_OK" class="">HTTP_CODE_SUPPRESSION_OK</a><br />
|
|
|
254 |
<a href="../classes/RestServeur.html#constant_HTTP_CODE_MAUVAISE_REQUETE" class="">HTTP_CODE_MAUVAISE_REQUETE</a><br />
|
|
|
255 |
<a href="../classes/RestServeur.html#constant_HTTP_CODE_ACCES_NON_AUTORISE" class="">HTTP_CODE_ACCES_NON_AUTORISE</a><br />
|
|
|
256 |
<a href="../classes/RestServeur.html#constant_HTTP_CODE_RESSOURCE_INTROUVABLE" class="">HTTP_CODE_RESSOURCE_INTROUVABLE</a><br />
|
|
|
257 |
<a href="../classes/RestServeur.html#constant_HTTP_CODE_METHODE_NON_AUTORISE" class="">HTTP_CODE_METHODE_NON_AUTORISE</a><br />
|
|
|
258 |
<a href="../classes/RestServeur.html#constant_HTTP_CODE_CONFLIT" class="">HTTP_CODE_CONFLIT</a><br />
|
|
|
259 |
<a href="../classes/RestServeur.html#constant_HTTP_CODE_CONTENU_REQUIS" class="">HTTP_CODE_CONTENU_REQUIS</a><br />
|
|
|
260 |
<a href="../classes/RestServeur.html#constant_HTTP_CODE_ERREUR" class="">HTTP_CODE_ERREUR</a><br />
|
|
|
261 |
<a href="../classes/RestServeur.html#constant_MOTIF_API_VERSION" class="">MOTIF_API_VERSION</a><br />
|
|
|
262 |
<a href="../classes/RestServeur.html#constant_MOTIF_SERVICE_NOM" class="">MOTIF_SERVICE_NOM</a><br />
|
|
|
263 |
</section>
|
|
|
264 |
</section>
|
|
|
265 |
<section class="row-fluid protected">
|
|
|
266 |
<section class="span4">
|
|
|
267 |
<em>No protected methods found</em>
|
|
|
268 |
</section>
|
|
|
269 |
<section class="span4">
|
|
|
270 |
<em>No protected properties found</em>
|
|
|
271 |
</section>
|
|
|
272 |
<section class="span4">
|
|
|
273 |
<em>N/A</em>
|
|
|
274 |
</section>
|
|
|
275 |
</section>
|
|
|
276 |
<section class="row-fluid private">
|
|
|
277 |
<section class="span4">
|
|
|
278 |
<a href="../classes/RestServeur.html#method_initialiserMethode" class="">initialiserMethode()</a><br />
|
|
|
279 |
<a href="../classes/RestServeur.html#method_initialiserRequeteDonnees" class="">initialiserRequeteDonnees()</a><br />
|
|
|
280 |
<a href="../classes/RestServeur.html#method_decouperUrlChemin" class="">decouperUrlChemin()</a><br />
|
|
|
281 |
<a href="../classes/RestServeur.html#method_initialiserApiVersion" class="">initialiserApiVersion()</a><br />
|
|
|
282 |
<a href="../classes/RestServeur.html#method_verifierApiVersion" class="">verifierApiVersion()</a><br />
|
|
|
283 |
<a href="../classes/RestServeur.html#method_initialiserServiceNom" class="">initialiserServiceNom()</a><br />
|
|
|
284 |
<a href="../classes/RestServeur.html#method_verifierServiceNom" class="">verifierServiceNom()</a><br />
|
|
|
285 |
<a href="../classes/RestServeur.html#method_traiterNomService" class="">traiterNomService()</a><br />
|
|
|
286 |
<a href="../classes/RestServeur.html#method_initialiserRessource" class="">initialiserRessource()</a><br />
|
|
|
287 |
<a href="../classes/RestServeur.html#method_initialiserParametres" class="">initialiserParametres()</a><br />
|
|
|
288 |
<a href="../classes/RestServeur.html#method_recupererParametresGet" class="">recupererParametresGet()</a><br />
|
|
|
289 |
<a href="../classes/RestServeur.html#method_nettoyerParametres" class="">nettoyerParametres()</a><br />
|
|
|
290 |
<a href="../classes/RestServeur.html#method_recupererParametresBruts" class="">recupererParametresBruts()</a><br />
|
|
|
291 |
<a href="../classes/RestServeur.html#method_get" class="">get()</a><br />
|
|
|
292 |
<a href="../classes/RestServeur.html#method_post" class="">post()</a><br />
|
|
|
293 |
<a href="../classes/RestServeur.html#method_put" class="">put()</a><br />
|
|
|
294 |
<a href="../classes/RestServeur.html#method_delete" class="">delete()</a><br />
|
|
|
295 |
<a href="../classes/RestServeur.html#method_parserDonneesRequete" class="">parserDonneesRequete()</a><br />
|
|
|
296 |
<a href="../classes/RestServeur.html#method_cloreAccesServeur" class="">cloreAccesServeur()</a><br />
|
|
|
297 |
<a href="../classes/RestServeur.html#method_envoyerMessages" class="">envoyerMessages()</a><br />
|
|
|
298 |
</section>
|
|
|
299 |
<section class="span4">
|
|
|
300 |
<a href="../classes/RestServeur.html#property_debogageActivation" class="">$debogageActivation</a><br />
|
|
|
301 |
<a href="../classes/RestServeur.html#property_debogageMode" class="">$debogageMode</a><br />
|
|
|
302 |
<a href="../classes/RestServeur.html#property_methode" class="">$methode</a><br />
|
|
|
303 |
<a href="../classes/RestServeur.html#property_requeteDonnees" class="">$requeteDonnees</a><br />
|
|
|
304 |
<a href="../classes/RestServeur.html#property_requeteDonneesParsees" class="">$requeteDonneesParsees</a><br />
|
|
|
305 |
<a href="../classes/RestServeur.html#property_apiVersion" class="">$apiVersion</a><br />
|
|
|
306 |
<a href="../classes/RestServeur.html#property_service" class="">$service</a><br />
|
|
|
307 |
<a href="../classes/RestServeur.html#property_ressources" class="">$ressources</a><br />
|
|
|
308 |
<a href="../classes/RestServeur.html#property_parametres" class="">$parametres</a><br />
|
|
|
309 |
<a href="../classes/RestServeur.html#property_parametresBruts" class="">$parametresBruts</a><br />
|
|
|
310 |
<a href="../classes/RestServeur.html#property_config" class="">$config</a><br />
|
|
|
311 |
<a href="../classes/RestServeur.html#property_messages" class="">$messages</a><br />
|
|
|
312 |
<a href="../classes/RestServeur.html#property_http10" class="">$http10</a><br />
|
|
|
313 |
<a href="../classes/RestServeur.html#property_parametres_obligatoires" class="">$parametres_obligatoires</a><br />
|
|
|
314 |
</section>
|
|
|
315 |
<section class="span4">
|
|
|
316 |
<em>N/A</em>
|
|
|
317 |
</section>
|
|
|
318 |
</section>
|
|
|
319 |
</section>
|
|
|
320 |
</div>
|
|
|
321 |
<aside class="span4 detailsbar">
|
|
|
322 |
|
|
|
323 |
|
|
|
324 |
<dl>
|
|
|
325 |
<dt>File</dt>
|
|
|
326 |
<dd><a href="../files/RestServeur.php.html"><div class="path-wrapper">RestServeur.php</div></a></dd>
|
|
|
327 |
<dt>Package</dt>
|
|
|
328 |
<dd><div class="namespace-wrapper">\Framework</div></dd>
|
|
|
329 |
<dt>Class hierarchy</dt>
|
|
|
330 |
<dd class="hierarchy">
|
|
|
331 |
<div class="namespace-wrapper">\RestServeur</div>
|
|
|
332 |
</dd>
|
|
|
333 |
|
|
|
334 |
|
|
|
335 |
|
|
|
336 |
|
|
|
337 |
<dt>See also</dt>
|
|
|
338 |
<dd><a href="/doc/framework/"><div class="namespace-wrapper">/doc/framework/</div></a></dd>
|
|
|
339 |
|
|
|
340 |
</dl>
|
|
|
341 |
<h2>Tags</h2>
|
|
|
342 |
<table class="table table-condensed">
|
|
|
343 |
<tr>
|
|
|
344 |
<th>
|
|
|
345 |
category
|
|
|
346 |
</th>
|
|
|
347 |
<td>
|
|
|
348 |
<p>Php 5.2</p>
|
|
|
349 |
</td>
|
|
|
350 |
</tr>
|
|
|
351 |
<tr>
|
|
|
352 |
<th>
|
|
|
353 |
author
|
|
|
354 |
</th>
|
|
|
355 |
<td>
|
|
|
356 |
<p>Jean-Pascal MILCENT <a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a></p>
|
|
|
357 |
</td>
|
|
|
358 |
</tr>
|
|
|
359 |
<tr>
|
|
|
360 |
<th>
|
|
|
361 |
copyright
|
|
|
362 |
</th>
|
|
|
363 |
<td>
|
|
|
364 |
<p>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</p>
|
|
|
365 |
</td>
|
|
|
366 |
</tr>
|
|
|
367 |
<tr>
|
|
|
368 |
<th>
|
|
|
369 |
license
|
|
|
370 |
</th>
|
|
|
371 |
<td>
|
|
|
372 |
<p>GPL v3 <a href="http://www.gnu.org/licenses/gpl.txt">http://www.gnu.org/licenses/gpl.txt</a></p>
|
|
|
373 |
<p>CECILL v2 <a href="http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt">http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt</a></p>
|
|
|
374 |
</td>
|
|
|
375 |
</tr>
|
|
|
376 |
<tr>
|
|
|
377 |
<th>
|
|
|
378 |
since
|
|
|
379 |
</th>
|
|
|
380 |
<td>
|
|
|
381 |
|
|
|
382 |
</td>
|
|
|
383 |
</tr>
|
|
|
384 |
<tr>
|
|
|
385 |
<th>
|
|
|
386 |
version
|
|
|
387 |
</th>
|
|
|
388 |
<td>
|
|
|
389 |
<p>$Id: RestServeur.php 421 2013-04-11 14:43:49Z jpm $</p>
|
|
|
390 |
</td>
|
|
|
391 |
</tr>
|
|
|
392 |
<tr>
|
|
|
393 |
<th>
|
|
|
394 |
todo
|
|
|
395 |
</th>
|
|
|
396 |
<td>
|
|
|
397 |
</td>
|
|
|
398 |
</tr>
|
|
|
399 |
</table>
|
|
|
400 |
</aside>
|
|
|
401 |
</div>
|
|
|
402 |
|
|
|
403 |
<a id="constants" name="constants"></a>
|
|
|
404 |
<div class="row-fluid">
|
|
|
405 |
<div class="span8 content class">
|
|
|
406 |
<h2>Constants</h2>
|
|
|
407 |
</div>
|
|
|
408 |
<aside class="span4 detailsbar"></aside>
|
|
|
409 |
</div>
|
|
|
410 |
|
|
|
411 |
<div class="row-fluid">
|
|
|
412 |
<div class="span8 content class">
|
|
|
413 |
<a id="constant_METHODE_GET" name="constant_METHODE_GET" class="anchor"></a>
|
|
|
414 |
<article id="constant_METHODE_GET" class="constant">
|
|
|
415 |
<h3 class="">METHODE_GET</h3>
|
|
|
416 |
<pre class="signature">METHODE_GET</pre>
|
|
|
417 |
<p><em>Nom de la méthode appelée dans un service pour éxécuter une requête de type GET.</em></p>
|
|
|
418 |
|
|
|
419 |
</article>
|
|
|
420 |
</div>
|
|
|
421 |
<aside class="span4 detailsbar">
|
|
|
422 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
423 |
<dl>
|
|
|
424 |
</dl>
|
|
|
425 |
<h2>Tags</h2>
|
|
|
426 |
<table class="table table-condensed">
|
|
|
427 |
<tr>
|
|
|
428 |
<th>
|
|
|
429 |
todo
|
|
|
430 |
</th>
|
|
|
431 |
<td>
|
|
|
432 |
</td>
|
|
|
433 |
</tr>
|
|
|
434 |
</table>
|
|
|
435 |
</aside>
|
|
|
436 |
</div>
|
|
|
437 |
|
|
|
438 |
<div class="row-fluid">
|
|
|
439 |
<div class="span8 content class">
|
|
|
440 |
<a id="constant_METHODE_POST" name="constant_METHODE_POST" class="anchor"></a>
|
|
|
441 |
<article id="constant_METHODE_POST" class="constant">
|
|
|
442 |
<h3 class="">METHODE_POST</h3>
|
|
|
443 |
<pre class="signature">METHODE_POST</pre>
|
|
|
444 |
<p><em>Nom de la méthode appelée dans un service pour éxécuter une requête de type POST.</em></p>
|
|
|
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="constant_METHODE_DELETE" name="constant_METHODE_DELETE" class="anchor"></a>
|
|
|
468 |
<article id="constant_METHODE_DELETE" class="constant">
|
|
|
469 |
<h3 class="">METHODE_DELETE</h3>
|
|
|
470 |
<pre class="signature">METHODE_DELETE</pre>
|
|
|
471 |
<p><em>Nom de la méthode appelée dans un service pour éxécuter une requête de type DELETE.</em></p>
|
|
|
472 |
|
|
|
473 |
</article>
|
|
|
474 |
</div>
|
|
|
475 |
<aside class="span4 detailsbar">
|
|
|
476 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
477 |
<dl>
|
|
|
478 |
</dl>
|
|
|
479 |
<h2>Tags</h2>
|
|
|
480 |
<table class="table table-condensed">
|
|
|
481 |
<tr>
|
|
|
482 |
<th>
|
|
|
483 |
todo
|
|
|
484 |
</th>
|
|
|
485 |
<td>
|
|
|
486 |
</td>
|
|
|
487 |
</tr>
|
|
|
488 |
</table>
|
|
|
489 |
</aside>
|
|
|
490 |
</div>
|
|
|
491 |
|
|
|
492 |
<div class="row-fluid">
|
|
|
493 |
<div class="span8 content class">
|
|
|
494 |
<a id="constant_METHODE_PUT" name="constant_METHODE_PUT" class="anchor"></a>
|
|
|
495 |
<article id="constant_METHODE_PUT" class="constant">
|
|
|
496 |
<h3 class="">METHODE_PUT</h3>
|
|
|
497 |
<pre class="signature">METHODE_PUT</pre>
|
|
|
498 |
<p><em>Nom de la méthode appelée dans un service pour éxécuter une requête de type PUT.</em></p>
|
|
|
499 |
|
|
|
500 |
</article>
|
|
|
501 |
</div>
|
|
|
502 |
<aside class="span4 detailsbar">
|
|
|
503 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
504 |
<dl>
|
|
|
505 |
</dl>
|
|
|
506 |
<h2>Tags</h2>
|
|
|
507 |
<table class="table table-condensed">
|
|
|
508 |
<tr>
|
|
|
509 |
<th>
|
|
|
510 |
todo
|
|
|
511 |
</th>
|
|
|
512 |
<td>
|
|
|
513 |
</td>
|
|
|
514 |
</tr>
|
|
|
515 |
</table>
|
|
|
516 |
</aside>
|
|
|
517 |
</div>
|
|
|
518 |
|
|
|
519 |
<div class="row-fluid">
|
|
|
520 |
<div class="span8 content class">
|
|
|
521 |
<a id="constant_HTTP_CODE_OK" name="constant_HTTP_CODE_OK" class="anchor"></a>
|
|
|
522 |
<article id="constant_HTTP_CODE_OK" class="constant">
|
|
|
523 |
<h3 class="">HTTP_CODE_OK</h3>
|
|
|
524 |
<pre class="signature">HTTP_CODE_OK</pre>
|
|
|
525 |
<p><em>Code HTTP 200 indiquant le succès de l'accès à un service web par la méthode GET.</em></p>
|
|
|
526 |
<p>L'utiliser lors d'une requète de type GET (consulter) pour indiquer le succès de l'opération.
|
|
|
527 |
Sera renvoyée par défaut par PHP.</p>
|
|
|
528 |
</article>
|
|
|
529 |
</div>
|
|
|
530 |
<aside class="span4 detailsbar">
|
|
|
531 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
532 |
<dl>
|
|
|
533 |
</dl>
|
|
|
534 |
<h2>Tags</h2>
|
|
|
535 |
<table class="table table-condensed">
|
|
|
536 |
<tr>
|
|
|
537 |
<th>
|
|
|
538 |
todo
|
|
|
539 |
</th>
|
|
|
540 |
<td>
|
|
|
541 |
</td>
|
|
|
542 |
</tr>
|
|
|
543 |
</table>
|
|
|
544 |
</aside>
|
|
|
545 |
</div>
|
|
|
546 |
|
|
|
547 |
<div class="row-fluid">
|
|
|
548 |
<div class="span8 content class">
|
|
|
549 |
<a id="constant_HTTP_CODE_CREATION_OK" name="constant_HTTP_CODE_CREATION_OK" class="anchor"></a>
|
|
|
550 |
<article id="constant_HTTP_CODE_CREATION_OK" class="constant">
|
|
|
551 |
<h3 class="">HTTP_CODE_CREATION_OK</h3>
|
|
|
552 |
<pre class="signature">HTTP_CODE_CREATION_OK</pre>
|
|
|
553 |
<p><em>Code HTTP 201 indiquant que l'accès à un service web est un succès et que la ressource a été créée ou modifié.</em></p>
|
|
|
554 |
<p>L'utiliser lors d'une requète de type PUT (ajouter) ou POST (modifier) pour indiquer le succès de l'opération.</p>
|
|
|
555 |
</article>
|
|
|
556 |
</div>
|
|
|
557 |
<aside class="span4 detailsbar">
|
|
|
558 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
559 |
<dl>
|
|
|
560 |
</dl>
|
|
|
561 |
<h2>Tags</h2>
|
|
|
562 |
<table class="table table-condensed">
|
|
|
563 |
<tr>
|
|
|
564 |
<th>
|
|
|
565 |
todo
|
|
|
566 |
</th>
|
|
|
567 |
<td>
|
|
|
568 |
</td>
|
|
|
569 |
</tr>
|
|
|
570 |
</table>
|
|
|
571 |
</aside>
|
|
|
572 |
</div>
|
|
|
573 |
|
|
|
574 |
<div class="row-fluid">
|
|
|
575 |
<div class="span8 content class">
|
|
|
576 |
<a id="constant_HTTP_CODE_SUPPRESSION_OK" name="constant_HTTP_CODE_SUPPRESSION_OK" class="anchor"></a>
|
|
|
577 |
<article id="constant_HTTP_CODE_SUPPRESSION_OK" class="constant">
|
|
|
578 |
<h3 class="">HTTP_CODE_SUPPRESSION_OK</h3>
|
|
|
579 |
<pre class="signature">HTTP_CODE_SUPPRESSION_OK</pre>
|
|
|
580 |
<p><em>Code HTTP 204 indique que l'accès à un service web est un succès et qu'il n'y a pas de contenu à renvoyer.</em></p>
|
|
|
581 |
<p>L'utiliser lors d'une requète de type DELETE (supprimer) pour indiquer le succès de l'opération si aucun
|
|
|
582 |
contenu (status) ne doit être renvoyé, sinon utiliser 200 OK.</p>
|
|
|
583 |
</article>
|
|
|
584 |
</div>
|
|
|
585 |
<aside class="span4 detailsbar">
|
|
|
586 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
587 |
<dl>
|
|
|
588 |
</dl>
|
|
|
589 |
<h2>Tags</h2>
|
|
|
590 |
<table class="table table-condensed">
|
|
|
591 |
<tr>
|
|
|
592 |
<th>
|
|
|
593 |
todo
|
|
|
594 |
</th>
|
|
|
595 |
<td>
|
|
|
596 |
</td>
|
|
|
597 |
</tr>
|
|
|
598 |
</table>
|
|
|
599 |
</aside>
|
|
|
600 |
</div>
|
|
|
601 |
|
|
|
602 |
<div class="row-fluid">
|
|
|
603 |
<div class="span8 content class">
|
|
|
604 |
<a id="constant_HTTP_CODE_MAUVAISE_REQUETE" name="constant_HTTP_CODE_MAUVAISE_REQUETE" class="anchor"></a>
|
|
|
605 |
<article id="constant_HTTP_CODE_MAUVAISE_REQUETE" class="constant">
|
|
|
606 |
<h3 class="">HTTP_CODE_MAUVAISE_REQUETE</h3>
|
|
|
607 |
<pre class="signature">HTTP_CODE_MAUVAISE_REQUETE</pre>
|
|
|
608 |
<p><em>Code HTTP 400 indique que les paramètres envoyés au service contiennent des erreurs.</em></p>
|
|
|
609 |
<p>L'utiliser pour indiquer l'échec de l'accès au service. La réponse pourra contenir un message expliquant la source
|
|
|
610 |
de l'erreur.</p>
|
|
|
611 |
</article>
|
|
|
612 |
</div>
|
|
|
613 |
<aside class="span4 detailsbar">
|
|
|
614 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
615 |
<dl>
|
|
|
616 |
</dl>
|
|
|
617 |
<h2>Tags</h2>
|
|
|
618 |
<table class="table table-condensed">
|
|
|
619 |
<tr>
|
|
|
620 |
<th>
|
|
|
621 |
todo
|
|
|
622 |
</th>
|
|
|
623 |
<td>
|
|
|
624 |
</td>
|
|
|
625 |
</tr>
|
|
|
626 |
</table>
|
|
|
627 |
</aside>
|
|
|
628 |
</div>
|
|
|
629 |
|
|
|
630 |
<div class="row-fluid">
|
|
|
631 |
<div class="span8 content class">
|
|
|
632 |
<a id="constant_HTTP_CODE_ACCES_NON_AUTORISE" name="constant_HTTP_CODE_ACCES_NON_AUTORISE" class="anchor"></a>
|
|
|
633 |
<article id="constant_HTTP_CODE_ACCES_NON_AUTORISE" class="constant">
|
|
|
634 |
<h3 class="">HTTP_CODE_ACCES_NON_AUTORISE</h3>
|
|
|
635 |
<pre class="signature">HTTP_CODE_ACCES_NON_AUTORISE</pre>
|
|
|
636 |
<p><em>Code HTTP 401 indiquant que l'accès à un service web est refusé car l'authentification (obligatoire) a échoué pour
|
|
|
637 |
accéder à la ressource.</em></p>
|
|
|
638 |
|
|
|
639 |
</article>
|
|
|
640 |
</div>
|
|
|
641 |
<aside class="span4 detailsbar">
|
|
|
642 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
643 |
<dl>
|
|
|
644 |
</dl>
|
|
|
645 |
<h2>Tags</h2>
|
|
|
646 |
<table class="table table-condensed">
|
|
|
647 |
<tr>
|
|
|
648 |
<th>
|
|
|
649 |
todo
|
|
|
650 |
</th>
|
|
|
651 |
<td>
|
|
|
652 |
</td>
|
|
|
653 |
</tr>
|
|
|
654 |
</table>
|
|
|
655 |
</aside>
|
|
|
656 |
</div>
|
|
|
657 |
|
|
|
658 |
<div class="row-fluid">
|
|
|
659 |
<div class="span8 content class">
|
|
|
660 |
<a id="constant_HTTP_CODE_RESSOURCE_INTROUVABLE" name="constant_HTTP_CODE_RESSOURCE_INTROUVABLE" class="anchor"></a>
|
|
|
661 |
<article id="constant_HTTP_CODE_RESSOURCE_INTROUVABLE" class="constant">
|
|
|
662 |
<h3 class="">HTTP_CODE_RESSOURCE_INTROUVABLE</h3>
|
|
|
663 |
<pre class="signature">HTTP_CODE_RESSOURCE_INTROUVABLE</pre>
|
|
|
664 |
<p><em>Code HTTP 404 indiquant que la ressource indiquée par l'url est introuvable.</em></p>
|
|
|
665 |
|
|
|
666 |
</article>
|
|
|
667 |
</div>
|
|
|
668 |
<aside class="span4 detailsbar">
|
|
|
669 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
670 |
<dl>
|
|
|
671 |
</dl>
|
|
|
672 |
<h2>Tags</h2>
|
|
|
673 |
<table class="table table-condensed">
|
|
|
674 |
<tr>
|
|
|
675 |
<th>
|
|
|
676 |
todo
|
|
|
677 |
</th>
|
|
|
678 |
<td>
|
|
|
679 |
</td>
|
|
|
680 |
</tr>
|
|
|
681 |
</table>
|
|
|
682 |
</aside>
|
|
|
683 |
</div>
|
|
|
684 |
|
|
|
685 |
<div class="row-fluid">
|
|
|
686 |
<div class="span8 content class">
|
|
|
687 |
<a id="constant_HTTP_CODE_METHODE_NON_AUTORISE" name="constant_HTTP_CODE_METHODE_NON_AUTORISE" class="anchor"></a>
|
|
|
688 |
<article id="constant_HTTP_CODE_METHODE_NON_AUTORISE" class="constant">
|
|
|
689 |
<h3 class="">HTTP_CODE_METHODE_NON_AUTORISE</h3>
|
|
|
690 |
<pre class="signature">HTTP_CODE_METHODE_NON_AUTORISE</pre>
|
|
|
691 |
<p><em>Code HTTP 405 indiquant soit :
|
|
|
692 |
- que le service web ne possède pas d'accès la ressource correspondant à la méthode HTTP employée.</em></p>
|
|
|
693 |
<ul>
|
|
|
694 |
<li>que la méthode HTTP enployée n'est pas en accord avec la ressource indiquée par l'url.</li>
|
|
|
695 |
</ul>
|
|
|
696 |
</article>
|
|
|
697 |
</div>
|
|
|
698 |
<aside class="span4 detailsbar">
|
|
|
699 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
700 |
<dl>
|
|
|
701 |
</dl>
|
|
|
702 |
<h2>Tags</h2>
|
|
|
703 |
<table class="table table-condensed">
|
|
|
704 |
<tr>
|
|
|
705 |
<th>
|
|
|
706 |
todo
|
|
|
707 |
</th>
|
|
|
708 |
<td>
|
|
|
709 |
</td>
|
|
|
710 |
</tr>
|
|
|
711 |
</table>
|
|
|
712 |
</aside>
|
|
|
713 |
</div>
|
|
|
714 |
|
|
|
715 |
<div class="row-fluid">
|
|
|
716 |
<div class="span8 content class">
|
|
|
717 |
<a id="constant_HTTP_CODE_CONFLIT" name="constant_HTTP_CODE_CONFLIT" class="anchor"></a>
|
|
|
718 |
<article id="constant_HTTP_CODE_CONFLIT" class="constant">
|
|
|
719 |
<h3 class="">HTTP_CODE_CONFLIT</h3>
|
|
|
720 |
<pre class="signature">HTTP_CODE_CONFLIT</pre>
|
|
|
721 |
<p><em>Code d'erreur HTTP 409 indiquant qu'un conflit est survenu vis à vis de la ressource.</em></p>
|
|
|
722 |
<p>Par exemple, essayer de créer deux fois la même ressource ou bien tenter de modifier une ressource qui a été modifiée par
|
|
|
723 |
ailleurs.</p>
|
|
|
724 |
</article>
|
|
|
725 |
</div>
|
|
|
726 |
<aside class="span4 detailsbar">
|
|
|
727 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
728 |
<dl>
|
|
|
729 |
</dl>
|
|
|
730 |
<h2>Tags</h2>
|
|
|
731 |
<table class="table table-condensed">
|
|
|
732 |
<tr>
|
|
|
733 |
<th>
|
|
|
734 |
todo
|
|
|
735 |
</th>
|
|
|
736 |
<td>
|
|
|
737 |
</td>
|
|
|
738 |
</tr>
|
|
|
739 |
</table>
|
|
|
740 |
</aside>
|
|
|
741 |
</div>
|
|
|
742 |
|
|
|
743 |
<div class="row-fluid">
|
|
|
744 |
<div class="span8 content class">
|
|
|
745 |
<a id="constant_HTTP_CODE_CONTENU_REQUIS" name="constant_HTTP_CODE_CONTENU_REQUIS" class="anchor"></a>
|
|
|
746 |
<article id="constant_HTTP_CODE_CONTENU_REQUIS" class="constant">
|
|
|
747 |
<h3 class="">HTTP_CODE_CONTENU_REQUIS</h3>
|
|
|
748 |
<pre class="signature">HTTP_CODE_CONTENU_REQUIS</pre>
|
|
|
749 |
<p><em>Code HTTP 411 indiquant que des paramètres passés dans le contenu de la requête sont nécessaires au service.</em></p>
|
|
|
750 |
|
|
|
751 |
</article>
|
|
|
752 |
</div>
|
|
|
753 |
<aside class="span4 detailsbar">
|
|
|
754 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
755 |
<dl>
|
|
|
756 |
</dl>
|
|
|
757 |
<h2>Tags</h2>
|
|
|
758 |
<table class="table table-condensed">
|
|
|
759 |
<tr>
|
|
|
760 |
<th>
|
|
|
761 |
todo
|
|
|
762 |
</th>
|
|
|
763 |
<td>
|
|
|
764 |
</td>
|
|
|
765 |
</tr>
|
|
|
766 |
</table>
|
|
|
767 |
</aside>
|
|
|
768 |
</div>
|
|
|
769 |
|
|
|
770 |
<div class="row-fluid">
|
|
|
771 |
<div class="span8 content class">
|
|
|
772 |
<a id="constant_HTTP_CODE_ERREUR" name="constant_HTTP_CODE_ERREUR" class="anchor"></a>
|
|
|
773 |
<article id="constant_HTTP_CODE_ERREUR" class="constant">
|
|
|
774 |
<h3 class="">HTTP_CODE_ERREUR</h3>
|
|
|
775 |
<pre class="signature">HTTP_CODE_ERREUR</pre>
|
|
|
776 |
<p><em>Code d'erreur HTTP 500 Internal Server Error.</em></p>
|
|
|
777 |
<p>L'utiliser quand le serveur ou un service soulève une erreur ou une exception.</p>
|
|
|
778 |
</article>
|
|
|
779 |
</div>
|
|
|
780 |
<aside class="span4 detailsbar">
|
|
|
781 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
782 |
<dl>
|
|
|
783 |
</dl>
|
|
|
784 |
<h2>Tags</h2>
|
|
|
785 |
<table class="table table-condensed">
|
|
|
786 |
<tr>
|
|
|
787 |
<th>
|
|
|
788 |
todo
|
|
|
789 |
</th>
|
|
|
790 |
<td>
|
|
|
791 |
</td>
|
|
|
792 |
</tr>
|
|
|
793 |
</table>
|
|
|
794 |
</aside>
|
|
|
795 |
</div>
|
|
|
796 |
|
|
|
797 |
<div class="row-fluid">
|
|
|
798 |
<div class="span8 content class">
|
|
|
799 |
<a id="constant_MOTIF_API_VERSION" name="constant_MOTIF_API_VERSION" class="anchor"></a>
|
|
|
800 |
<article id="constant_MOTIF_API_VERSION" class="constant">
|
|
|
801 |
<h3 class="">MOTIF_API_VERSION</h3>
|
|
|
802 |
<pre class="signature">MOTIF_API_VERSION</pre>
|
|
|
803 |
<p><em>Motif de l'epression régulière vérfiant la version de l'API.</em></p>
|
|
|
804 |
|
|
|
805 |
</article>
|
|
|
806 |
</div>
|
|
|
807 |
<aside class="span4 detailsbar">
|
|
|
808 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
809 |
<dl>
|
|
|
810 |
</dl>
|
|
|
811 |
<h2>Tags</h2>
|
|
|
812 |
<table class="table table-condensed">
|
|
|
813 |
<tr>
|
|
|
814 |
<th>
|
|
|
815 |
todo
|
|
|
816 |
</th>
|
|
|
817 |
<td>
|
|
|
818 |
</td>
|
|
|
819 |
</tr>
|
|
|
820 |
</table>
|
|
|
821 |
</aside>
|
|
|
822 |
</div>
|
|
|
823 |
|
|
|
824 |
<div class="row-fluid">
|
|
|
825 |
<div class="span8 content class">
|
|
|
826 |
<a id="constant_MOTIF_SERVICE_NOM" name="constant_MOTIF_SERVICE_NOM" class="anchor"></a>
|
|
|
827 |
<article id="constant_MOTIF_SERVICE_NOM" class="constant">
|
|
|
828 |
<h3 class="">MOTIF_SERVICE_NOM</h3>
|
|
|
829 |
<pre class="signature">MOTIF_SERVICE_NOM</pre>
|
|
|
830 |
<p><em>Motif de l'epression régulière vérfiant le nom du service.</em></p>
|
|
|
831 |
|
|
|
832 |
</article>
|
|
|
833 |
</div>
|
|
|
834 |
<aside class="span4 detailsbar">
|
|
|
835 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
836 |
<dl>
|
|
|
837 |
</dl>
|
|
|
838 |
<h2>Tags</h2>
|
|
|
839 |
<table class="table table-condensed">
|
|
|
840 |
<tr>
|
|
|
841 |
<th>
|
|
|
842 |
todo
|
|
|
843 |
</th>
|
|
|
844 |
<td>
|
|
|
845 |
</td>
|
|
|
846 |
</tr>
|
|
|
847 |
</table>
|
|
|
848 |
</aside>
|
|
|
849 |
</div>
|
|
|
850 |
|
|
|
851 |
|
|
|
852 |
<a id="properties" name="properties"></a>
|
|
|
853 |
<div class="row-fluid">
|
|
|
854 |
<div class="span8 content class">
|
|
|
855 |
<h2>Properties</h2>
|
|
|
856 |
</div>
|
|
|
857 |
<aside class="span4 detailsbar"></aside>
|
|
|
858 |
</div>
|
|
|
859 |
|
|
|
860 |
<div class="row-fluid">
|
|
|
861 |
<div class="span8 content class">
|
|
|
862 |
<a id="property_debogageActivation" name="property_debogageActivation" class="anchor"></a>
|
|
|
863 |
<article class="property">
|
|
|
864 |
<h3 class="private ">$debogageActivation</h3>
|
|
|
865 |
<pre class="signature">$debogageActivation : boolean</pre>
|
|
|
866 |
<p><em>Mettre à true pour activer l'affichage des messages d'erreurs et de débogage.</em></p>
|
|
|
867 |
|
|
|
868 |
|
|
|
869 |
<h4>Type</h4>
|
|
|
870 |
boolean
|
|
|
871 |
</article>
|
|
|
872 |
</div>
|
|
|
873 |
<aside class="span4 detailsbar">
|
|
|
874 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
875 |
<dl>
|
|
|
876 |
</dl>
|
|
|
877 |
<h2>Tags</h2>
|
|
|
878 |
<table class="table table-condensed">
|
|
|
879 |
<tr>
|
|
|
880 |
<th>
|
|
|
881 |
todo
|
|
|
882 |
</th>
|
|
|
883 |
<td>
|
|
|
884 |
</td>
|
|
|
885 |
</tr>
|
|
|
886 |
</table>
|
|
|
887 |
</aside>
|
|
|
888 |
</div>
|
|
|
889 |
|
|
|
890 |
<div class="row-fluid">
|
|
|
891 |
<div class="span8 content class">
|
|
|
892 |
<a id="property_debogageMode" name="property_debogageMode" class="anchor"></a>
|
|
|
893 |
<article class="property">
|
|
|
894 |
<h3 class="private ">$debogageMode</h3>
|
|
|
895 |
<pre class="signature">$debogageMode : string</pre>
|
|
|
896 |
<p><em>Indiquer le mode de débogage à utiliser (@see Debug).</em></p>
|
|
|
897 |
|
|
|
898 |
|
|
|
899 |
<h4>Type</h4>
|
|
|
900 |
string
|
|
|
901 |
</article>
|
|
|
902 |
</div>
|
|
|
903 |
<aside class="span4 detailsbar">
|
|
|
904 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
905 |
<dl>
|
|
|
906 |
</dl>
|
|
|
907 |
<h2>Tags</h2>
|
|
|
908 |
<table class="table table-condensed">
|
|
|
909 |
<tr>
|
|
|
910 |
<th>
|
|
|
911 |
todo
|
|
|
912 |
</th>
|
|
|
913 |
<td>
|
|
|
914 |
</td>
|
|
|
915 |
</tr>
|
|
|
916 |
</table>
|
|
|
917 |
</aside>
|
|
|
918 |
</div>
|
|
|
919 |
|
|
|
920 |
<div class="row-fluid">
|
|
|
921 |
<div class="span8 content class">
|
|
|
922 |
<a id="property_methode" name="property_methode" class="anchor"></a>
|
|
|
923 |
<article class="property">
|
|
|
924 |
<h3 class="private ">$methode</h3>
|
|
|
925 |
<pre class="signature">$methode : string</pre>
|
|
|
926 |
<p><em>La méthode de la requête HTTP utilisée.</em></p>
|
|
|
927 |
|
|
|
928 |
|
|
|
929 |
<h4>Type</h4>
|
|
|
930 |
string
|
|
|
931 |
</article>
|
|
|
932 |
</div>
|
|
|
933 |
<aside class="span4 detailsbar">
|
|
|
934 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
935 |
<dl>
|
|
|
936 |
</dl>
|
|
|
937 |
<h2>Tags</h2>
|
|
|
938 |
<table class="table table-condensed">
|
|
|
939 |
<tr>
|
|
|
940 |
<th>
|
|
|
941 |
todo
|
|
|
942 |
</th>
|
|
|
943 |
<td>
|
|
|
944 |
</td>
|
|
|
945 |
</tr>
|
|
|
946 |
</table>
|
|
|
947 |
</aside>
|
|
|
948 |
</div>
|
|
|
949 |
|
|
|
950 |
<div class="row-fluid">
|
|
|
951 |
<div class="span8 content class">
|
|
|
952 |
<a id="property_requeteDonnees" name="property_requeteDonnees" class="anchor"></a>
|
|
|
953 |
<article class="property">
|
|
|
954 |
<h3 class="private ">$requeteDonnees</h3>
|
|
|
955 |
<pre class="signature">$requeteDonnees : array</pre>
|
|
|
956 |
<p><em>Le contenu brut du corps de la requête HTTP (s'il y en a).</em></p>
|
|
|
957 |
|
|
|
958 |
|
|
|
959 |
<h4>Type</h4>
|
|
|
960 |
array
|
|
|
961 |
</article>
|
|
|
962 |
</div>
|
|
|
963 |
<aside class="span4 detailsbar">
|
|
|
964 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
965 |
<dl>
|
|
|
966 |
</dl>
|
|
|
967 |
<h2>Tags</h2>
|
|
|
968 |
<table class="table table-condensed">
|
|
|
969 |
<tr>
|
|
|
970 |
<th>
|
|
|
971 |
todo
|
|
|
972 |
</th>
|
|
|
973 |
<td>
|
|
|
974 |
</td>
|
|
|
975 |
</tr>
|
|
|
976 |
</table>
|
|
|
977 |
</aside>
|
|
|
978 |
</div>
|
|
|
979 |
|
|
|
980 |
<div class="row-fluid">
|
|
|
981 |
<div class="span8 content class">
|
|
|
982 |
<a id="property_requeteDonneesParsees" name="property_requeteDonneesParsees" class="anchor"></a>
|
|
|
983 |
<article class="property">
|
|
|
984 |
<h3 class="private ">$requeteDonneesParsees</h3>
|
|
|
985 |
<pre class="signature">$requeteDonneesParsees : array</pre>
|
|
|
986 |
<p><em>Le contenu sous forme de tableau de paires clés-valeurs du corps de la requête HTTP (s'il y en a).</em></p>
|
|
|
987 |
|
|
|
988 |
|
|
|
989 |
<h4>Type</h4>
|
|
|
990 |
array
|
|
|
991 |
</article>
|
|
|
992 |
</div>
|
|
|
993 |
<aside class="span4 detailsbar">
|
|
|
994 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
995 |
<dl>
|
|
|
996 |
</dl>
|
|
|
997 |
<h2>Tags</h2>
|
|
|
998 |
<table class="table table-condensed">
|
|
|
999 |
<tr>
|
|
|
1000 |
<th>
|
|
|
1001 |
todo
|
|
|
1002 |
</th>
|
|
|
1003 |
<td>
|
|
|
1004 |
</td>
|
|
|
1005 |
</tr>
|
|
|
1006 |
</table>
|
|
|
1007 |
</aside>
|
|
|
1008 |
</div>
|
|
|
1009 |
|
|
|
1010 |
<div class="row-fluid">
|
|
|
1011 |
<div class="span8 content class">
|
|
|
1012 |
<a id="property_apiVersion" name="property_apiVersion" class="anchor"></a>
|
|
|
1013 |
<article class="property">
|
|
|
1014 |
<h3 class="private ">$apiVersion</h3>
|
|
|
1015 |
<pre class="signature">$apiVersion : mixed</pre>
|
|
|
1016 |
<p><em>Version de l'API demandée.</em></p>
|
|
|
1017 |
<p>Ex. <a href="http://www.mondomaine.org/services/[apiVersion]/mon-service/">http://www.mondomaine.org/services/[apiVersion]/mon-service/</a></p>
|
|
|
1018 |
|
|
|
1019 |
<h4>Type</h4>
|
|
|
1020 |
mixed
|
|
|
1021 |
— Généralement deux nombres séparés par un point. Ex. : 1.0 </article>
|
|
|
1022 |
</div>
|
|
|
1023 |
<aside class="span4 detailsbar">
|
|
|
1024 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1025 |
<dl>
|
|
|
1026 |
</dl>
|
|
|
1027 |
<h2>Tags</h2>
|
|
|
1028 |
<table class="table table-condensed">
|
|
|
1029 |
<tr>
|
|
|
1030 |
<th>
|
|
|
1031 |
todo
|
|
|
1032 |
</th>
|
|
|
1033 |
<td>
|
|
|
1034 |
</td>
|
|
|
1035 |
</tr>
|
|
|
1036 |
</table>
|
|
|
1037 |
</aside>
|
|
|
1038 |
</div>
|
|
|
1039 |
|
|
|
1040 |
<div class="row-fluid">
|
|
|
1041 |
<div class="span8 content class">
|
|
|
1042 |
<a id="property_service" name="property_service" class="anchor"></a>
|
|
|
1043 |
<article class="property">
|
|
|
1044 |
<h3 class="private ">$service</h3>
|
|
|
1045 |
<pre class="signature">$service : string</pre>
|
|
|
1046 |
<p><em>Nom du service demandé.</em></p>
|
|
|
1047 |
<p>Ex. <a href="http://www.mondomaine.org/services/apiVersion/[mon-service">http://www.mondomaine.org/services/apiVersion/[mon-service</a>]/</p>
|
|
|
1048 |
|
|
|
1049 |
<h4>Type</h4>
|
|
|
1050 |
string
|
|
|
1051 |
— par défaut vaut null. </article>
|
|
|
1052 |
</div>
|
|
|
1053 |
<aside class="span4 detailsbar">
|
|
|
1054 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1055 |
<dl>
|
|
|
1056 |
</dl>
|
|
|
1057 |
<h2>Tags</h2>
|
|
|
1058 |
<table class="table table-condensed">
|
|
|
1059 |
<tr>
|
|
|
1060 |
<th>
|
|
|
1061 |
todo
|
|
|
1062 |
</th>
|
|
|
1063 |
<td>
|
|
|
1064 |
</td>
|
|
|
1065 |
</tr>
|
|
|
1066 |
</table>
|
|
|
1067 |
</aside>
|
|
|
1068 |
</div>
|
|
|
1069 |
|
|
|
1070 |
<div class="row-fluid">
|
|
|
1071 |
<div class="span8 content class">
|
|
|
1072 |
<a id="property_ressources" name="property_ressources" class="anchor"></a>
|
|
|
1073 |
<article class="property">
|
|
|
1074 |
<h3 class="private ">$ressources</h3>
|
|
|
1075 |
<pre class="signature">$ressources : array</pre>
|
|
|
1076 |
<p><em>Morceaux de l'url servant à préciser la ressource concerné pour le service demandé.</em></p>
|
|
|
1077 |
<p>Ex. <a href="http://www.mondomaine.org/services/apiVersion/mon-service/[maRessource/maSousResource">http://www.mondomaine.org/services/apiVersion/mon-service/[maRessource/maSousResource</a>...]</p>
|
|
|
1078 |
|
|
|
1079 |
<h4>Type</h4>
|
|
|
1080 |
array
|
|
|
1081 |
</article>
|
|
|
1082 |
</div>
|
|
|
1083 |
<aside class="span4 detailsbar">
|
|
|
1084 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1085 |
<dl>
|
|
|
1086 |
</dl>
|
|
|
1087 |
<h2>Tags</h2>
|
|
|
1088 |
<table class="table table-condensed">
|
|
|
1089 |
<tr>
|
|
|
1090 |
<th>
|
|
|
1091 |
todo
|
|
|
1092 |
</th>
|
|
|
1093 |
<td>
|
|
|
1094 |
</td>
|
|
|
1095 |
</tr>
|
|
|
1096 |
</table>
|
|
|
1097 |
</aside>
|
|
|
1098 |
</div>
|
|
|
1099 |
|
|
|
1100 |
<div class="row-fluid">
|
|
|
1101 |
<div class="span8 content class">
|
|
|
1102 |
<a id="property_parametres" name="property_parametres" class="anchor"></a>
|
|
|
1103 |
<article class="property">
|
|
|
1104 |
<h3 class="private ">$parametres</h3>
|
|
|
1105 |
<pre class="signature">$parametres : array</pre>
|
|
|
1106 |
<p><em>Partie de l'url situé après le '?' servant à paramétrer le service demandé.</em></p>
|
|
|
1107 |
<p>Les données proviennent de $<em>GET où les caractères suivant ont été transformé en '</em>' undescrore dans les clés :</p>
|
|
|
1108 |
<ul>
|
|
|
1109 |
<li>chr(32) ( ) (space)</li>
|
|
|
1110 |
<li>chr(46) (.) (dot)</li>
|
|
|
1111 |
<li>chr(91) ([) (open square bracket)</li>
|
|
|
1112 |
<li>chr(128) - chr(159) (various)
|
|
|
1113 |
En outre nous appliquons la méthode nettoyerGet() qui effectue d'autres remplacement dans les valeurs.
|
|
|
1114 |
Ex. <a href="http://www.mondomaine.org/services/apiVersion/mon-service?monParametre1=maValeur1&monParametre2=maValeur2">http://www.mondomaine.org/services/apiVersion/mon-service?monParametre1=maValeur1&monParametre2=maValeur2</a></li>
|
|
|
1115 |
</ul>
|
|
|
1116 |
|
|
|
1117 |
<h4>Type</h4>
|
|
|
1118 |
array
|
|
|
1119 |
</article>
|
|
|
1120 |
</div>
|
|
|
1121 |
<aside class="span4 detailsbar">
|
|
|
1122 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1123 |
<dl>
|
|
|
1124 |
<dt>See also</dt>
|
|
|
1125 |
<dd><a href=""><span class="namespace-wrapper"></span></a></dd>
|
|
|
1126 |
</dl>
|
|
|
1127 |
<h2>Tags</h2>
|
|
|
1128 |
<table class="table table-condensed">
|
|
|
1129 |
<tr>
|
|
|
1130 |
<th>
|
|
|
1131 |
todo
|
|
|
1132 |
</th>
|
|
|
1133 |
<td>
|
|
|
1134 |
</td>
|
|
|
1135 |
</tr>
|
|
|
1136 |
</table>
|
|
|
1137 |
</aside>
|
|
|
1138 |
</div>
|
|
|
1139 |
|
|
|
1140 |
<div class="row-fluid">
|
|
|
1141 |
<div class="span8 content class">
|
|
|
1142 |
<a id="property_parametresBruts" name="property_parametresBruts" class="anchor"></a>
|
|
|
1143 |
<article class="property">
|
|
|
1144 |
<h3 class="private ">$parametresBruts</h3>
|
|
|
1145 |
<pre class="signature">$parametresBruts : array</pre>
|
|
|
1146 |
<p><em>Partie de l'url situé après le '?' servant à paramétrer le service demandé.</em></p>
|
|
|
1147 |
<p>Les données proviennent de $_SERVER['QUERY_STRING'] et n'ont subies aucune transformation au niveau des clés.
|
|
|
1148 |
Cependant nous appliquons la méthode nettoyerGet() qui effectue d'autres remplacement dans les valeurs.
|
|
|
1149 |
Ex. <a href="http://www.mondomaine.org/services/apiVersion/mon-service?monParametre1=maValeur1&monParametre2=maValeur2">http://www.mondomaine.org/services/apiVersion/mon-service?monParametre1=maValeur1&monParametre2=maValeur2</a></p>
|
|
|
1150 |
|
|
|
1151 |
<h4>Type</h4>
|
|
|
1152 |
array
|
|
|
1153 |
</article>
|
|
|
1154 |
</div>
|
|
|
1155 |
<aside class="span4 detailsbar">
|
|
|
1156 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1157 |
<dl>
|
|
|
1158 |
<dt>See also</dt>
|
|
|
1159 |
<dd><a href=""><span class="namespace-wrapper"></span></a></dd>
|
|
|
1160 |
</dl>
|
|
|
1161 |
<h2>Tags</h2>
|
|
|
1162 |
<table class="table table-condensed">
|
|
|
1163 |
<tr>
|
|
|
1164 |
<th>
|
|
|
1165 |
todo
|
|
|
1166 |
</th>
|
|
|
1167 |
<td>
|
|
|
1168 |
</td>
|
|
|
1169 |
</tr>
|
|
|
1170 |
</table>
|
|
|
1171 |
</aside>
|
|
|
1172 |
</div>
|
|
|
1173 |
|
|
|
1174 |
<div class="row-fluid">
|
|
|
1175 |
<div class="span8 content class">
|
|
|
1176 |
<a id="property_config" name="property_config" class="anchor"></a>
|
|
|
1177 |
<article class="property">
|
|
|
1178 |
<h3 class="private ">$config</h3>
|
|
|
1179 |
<pre class="signature">$config : array</pre>
|
|
|
1180 |
<p><em>Tableau contenant les paramètres de configuration du serveur.</em></p>
|
|
|
1181 |
|
|
|
1182 |
|
|
|
1183 |
<h4>Type</h4>
|
|
|
1184 |
array
|
|
|
1185 |
</article>
|
|
|
1186 |
</div>
|
|
|
1187 |
<aside class="span4 detailsbar">
|
|
|
1188 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1189 |
<dl>
|
|
|
1190 |
</dl>
|
|
|
1191 |
<h2>Tags</h2>
|
|
|
1192 |
<table class="table table-condensed">
|
|
|
1193 |
<tr>
|
|
|
1194 |
<th>
|
|
|
1195 |
todo
|
|
|
1196 |
</th>
|
|
|
1197 |
<td>
|
|
|
1198 |
</td>
|
|
|
1199 |
</tr>
|
|
|
1200 |
</table>
|
|
|
1201 |
</aside>
|
|
|
1202 |
</div>
|
|
|
1203 |
|
|
|
1204 |
<div class="row-fluid">
|
|
|
1205 |
<div class="span8 content class">
|
|
|
1206 |
<a id="property_messages" name="property_messages" class="anchor"></a>
|
|
|
1207 |
<article class="property">
|
|
|
1208 |
<h3 class="private ">$messages</h3>
|
|
|
1209 |
<pre class="signature">$messages : array</pre>
|
|
|
1210 |
<p><em>Tableau contenant les messages d'erreur et/ou d'avertissement du Serveur.</em></p>
|
|
|
1211 |
|
|
|
1212 |
|
|
|
1213 |
<h4>Type</h4>
|
|
|
1214 |
array
|
|
|
1215 |
</article>
|
|
|
1216 |
</div>
|
|
|
1217 |
<aside class="span4 detailsbar">
|
|
|
1218 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1219 |
<dl>
|
|
|
1220 |
</dl>
|
|
|
1221 |
<h2>Tags</h2>
|
|
|
1222 |
<table class="table table-condensed">
|
|
|
1223 |
<tr>
|
|
|
1224 |
<th>
|
|
|
1225 |
todo
|
|
|
1226 |
</th>
|
|
|
1227 |
<td>
|
|
|
1228 |
</td>
|
|
|
1229 |
</tr>
|
|
|
1230 |
</table>
|
|
|
1231 |
</aside>
|
|
|
1232 |
</div>
|
|
|
1233 |
|
|
|
1234 |
<div class="row-fluid">
|
|
|
1235 |
<div class="span8 content class">
|
|
|
1236 |
<a id="property_http10" name="property_http10" class="anchor"></a>
|
|
|
1237 |
<article class="property">
|
|
|
1238 |
<h3 class="private ">$http10</h3>
|
|
|
1239 |
<pre class="signature">$http10</pre>
|
|
|
1240 |
<p><em>Codes HTTP.</em></p>
|
|
|
1241 |
|
|
|
1242 |
|
|
|
1243 |
</article>
|
|
|
1244 |
</div>
|
|
|
1245 |
<aside class="span4 detailsbar">
|
|
|
1246 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1247 |
<dl>
|
|
|
1248 |
</dl>
|
|
|
1249 |
<h2>Tags</h2>
|
|
|
1250 |
<table class="table table-condensed">
|
|
|
1251 |
<tr>
|
|
|
1252 |
<th>
|
|
|
1253 |
todo
|
|
|
1254 |
</th>
|
|
|
1255 |
<td>
|
|
|
1256 |
</td>
|
|
|
1257 |
</tr>
|
|
|
1258 |
</table>
|
|
|
1259 |
</aside>
|
|
|
1260 |
</div>
|
|
|
1261 |
|
|
|
1262 |
<div class="row-fluid">
|
|
|
1263 |
<div class="span8 content class">
|
|
|
1264 |
<a id="property_parametres_obligatoires" name="property_parametres_obligatoires" class="anchor"></a>
|
|
|
1265 |
<article class="property">
|
|
|
1266 |
<h3 class="private ">$parametres_obligatoires</h3>
|
|
|
1267 |
<pre class="signature">$parametres_obligatoires</pre>
|
|
|
1268 |
<p><em>Tableau des noms des paramètres à définir dans le fichier de config car obligatoirement nécessaire à cette classe.</em></p>
|
|
|
1269 |
|
|
|
1270 |
|
|
|
1271 |
</article>
|
|
|
1272 |
</div>
|
|
|
1273 |
<aside class="span4 detailsbar">
|
|
|
1274 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1275 |
<dl>
|
|
|
1276 |
</dl>
|
|
|
1277 |
<h2>Tags</h2>
|
|
|
1278 |
<table class="table table-condensed">
|
|
|
1279 |
<tr>
|
|
|
1280 |
<th>
|
|
|
1281 |
todo
|
|
|
1282 |
</th>
|
|
|
1283 |
<td>
|
|
|
1284 |
</td>
|
|
|
1285 |
</tr>
|
|
|
1286 |
</table>
|
|
|
1287 |
</aside>
|
|
|
1288 |
</div>
|
|
|
1289 |
|
|
|
1290 |
|
|
|
1291 |
<a id="methods" name="methods"></a>
|
|
|
1292 |
<div class="row-fluid">
|
|
|
1293 |
<div class="span8 content class"><h2>Methods</h2></div>
|
|
|
1294 |
<aside class="span4 detailsbar"></aside>
|
|
|
1295 |
</div>
|
|
|
1296 |
|
|
|
1297 |
<div class="row-fluid">
|
|
|
1298 |
<div class="span8 content class">
|
|
|
1299 |
<a id="method___construct" name="method___construct" class="anchor"></a>
|
|
|
1300 |
<article class="method">
|
|
|
1301 |
<h3 class="public ">__construct()</h3>
|
|
|
1302 |
<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>
|
|
|
1303 |
<pre class="signature" style="margin-right: 54px;">__construct()</pre>
|
|
|
1304 |
<p><em>Analyse les données envoyées au serveur, enregistre la méthode HTTP utilisée pour appeler le serveur et parse
|
|
|
1305 |
l'url appelée pour trouver le service demandé.</em></p>
|
|
|
1306 |
|
|
|
1307 |
|
|
|
1308 |
|
|
|
1309 |
|
|
|
1310 |
</article>
|
|
|
1311 |
</div>
|
|
|
1312 |
<aside class="span4 detailsbar">
|
|
|
1313 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1314 |
<dl>
|
|
|
1315 |
</dl>
|
|
|
1316 |
<h2>Tags</h2>
|
|
|
1317 |
<table class="table table-condensed">
|
|
|
1318 |
<tr>
|
|
|
1319 |
<th>
|
|
|
1320 |
todo
|
|
|
1321 |
</th>
|
|
|
1322 |
<td>
|
|
|
1323 |
</td>
|
|
|
1324 |
</tr>
|
|
|
1325 |
</table>
|
|
|
1326 |
</aside>
|
|
|
1327 |
</div>
|
|
|
1328 |
|
|
|
1329 |
<div class="row-fluid">
|
|
|
1330 |
<div class="span8 content class">
|
|
|
1331 |
<a id="method_chargerClasse" name="method_chargerClasse" class="anchor"></a>
|
|
|
1332 |
<article class="method">
|
|
|
1333 |
<h3 class="public ">chargerClasse()</h3>
|
|
|
1334 |
<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>
|
|
|
1335 |
<pre class="signature" style="margin-right: 54px;">chargerClasse( <span class="argument">$classe</span>) : void</pre>
|
|
|
1336 |
<p><em>La méthode __autoload() charge dynamiquement les classes trouvées dans le code.</em></p>
|
|
|
1337 |
<p>Cette fonction est appelée par php5 quand il trouve une instanciation de classe dans le code.</p>
|
|
|
1338 |
|
|
|
1339 |
<h4>Parameters</h4>
|
|
|
1340 |
<table class="table table-condensed table-hover">
|
|
|
1341 |
<tr>
|
|
|
1342 |
<td></td>
|
|
|
1343 |
<td>$classe</td>
|
|
|
1344 |
<td></td>
|
|
|
1345 |
</tr>
|
|
|
1346 |
</table>
|
|
|
1347 |
|
|
|
1348 |
|
|
|
1349 |
</article>
|
|
|
1350 |
</div>
|
|
|
1351 |
<aside class="span4 detailsbar">
|
|
|
1352 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1353 |
<span class="label label-info">static</span>
|
|
|
1354 |
<dl>
|
|
|
1355 |
</dl>
|
|
|
1356 |
<h2>Tags</h2>
|
|
|
1357 |
<table class="table table-condensed">
|
|
|
1358 |
<tr>
|
|
|
1359 |
<th>
|
|
|
1360 |
todo
|
|
|
1361 |
</th>
|
|
|
1362 |
<td>
|
|
|
1363 |
</td>
|
|
|
1364 |
</tr>
|
|
|
1365 |
</table>
|
|
|
1366 |
</aside>
|
|
|
1367 |
</div>
|
|
|
1368 |
|
|
|
1369 |
<div class="row-fluid">
|
|
|
1370 |
<div class="span8 content class">
|
|
|
1371 |
<a id="method_executer" name="method_executer" class="anchor"></a>
|
|
|
1372 |
<article class="method">
|
|
|
1373 |
<h3 class="public ">executer()</h3>
|
|
|
1374 |
<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>
|
|
|
1375 |
<pre class="signature" style="margin-right: 54px;">executer()</pre>
|
|
|
1376 |
<p><em>Execute la requête.</em></p>
|
|
|
1377 |
|
|
|
1378 |
|
|
|
1379 |
|
|
|
1380 |
|
|
|
1381 |
</article>
|
|
|
1382 |
</div>
|
|
|
1383 |
<aside class="span4 detailsbar">
|
|
|
1384 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1385 |
<dl>
|
|
|
1386 |
</dl>
|
|
|
1387 |
<h2>Tags</h2>
|
|
|
1388 |
<table class="table table-condensed">
|
|
|
1389 |
<tr>
|
|
|
1390 |
<th>
|
|
|
1391 |
todo
|
|
|
1392 |
</th>
|
|
|
1393 |
<td>
|
|
|
1394 |
</td>
|
|
|
1395 |
</tr>
|
|
|
1396 |
</table>
|
|
|
1397 |
</aside>
|
|
|
1398 |
</div>
|
|
|
1399 |
|
|
|
1400 |
<div class="row-fluid">
|
|
|
1401 |
<div class="span8 content class">
|
|
|
1402 |
<a id="method_envoyerEnteteStatutHttp" name="method_envoyerEnteteStatutHttp" class="anchor"></a>
|
|
|
1403 |
<article class="method">
|
|
|
1404 |
<h3 class="public ">envoyerEnteteStatutHttp()</h3>
|
|
|
1405 |
<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>
|
|
|
1406 |
<pre class="signature" style="margin-right: 54px;">envoyerEnteteStatutHttp(int <span class="argument">$code</span>)</pre>
|
|
|
1407 |
<p><em>Envoyer un entête HTTP (version 1.0) de statut.</em></p>
|
|
|
1408 |
<p>Il remplacera systématiquement tout entête HTTP de statut précédement envoyé.</p>
|
|
|
1409 |
|
|
|
1410 |
<h4>Parameters</h4>
|
|
|
1411 |
<table class="table table-condensed table-hover">
|
|
|
1412 |
<tr>
|
|
|
1413 |
<td>int</td>
|
|
|
1414 |
<td>$code</td>
|
|
|
1415 |
<td><p>entier indiquant le code du statut de l'entête HTTP à envoyer.</p></td>
|
|
|
1416 |
</tr>
|
|
|
1417 |
</table>
|
|
|
1418 |
|
|
|
1419 |
|
|
|
1420 |
</article>
|
|
|
1421 |
</div>
|
|
|
1422 |
<aside class="span4 detailsbar">
|
|
|
1423 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1424 |
<span class="label label-info">static</span>
|
|
|
1425 |
<dl>
|
|
|
1426 |
</dl>
|
|
|
1427 |
<h2>Tags</h2>
|
|
|
1428 |
<table class="table table-condensed">
|
|
|
1429 |
<tr>
|
|
|
1430 |
<th>
|
|
|
1431 |
todo
|
|
|
1432 |
</th>
|
|
|
1433 |
<td>
|
|
|
1434 |
</td>
|
|
|
1435 |
</tr>
|
|
|
1436 |
</table>
|
|
|
1437 |
</aside>
|
|
|
1438 |
</div>
|
|
|
1439 |
|
|
|
1440 |
<div class="row-fluid">
|
|
|
1441 |
<div class="span8 content class">
|
|
|
1442 |
<a id="method_gererErreurs" name="method_gererErreurs" class="anchor"></a>
|
|
|
1443 |
<article class="method">
|
|
|
1444 |
<h3 class="public ">gererErreurs()</h3>
|
|
|
1445 |
<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>
|
|
|
1446 |
<pre class="signature" style="margin-right: 54px;">gererErreurs()</pre>
|
|
|
1447 |
<p><em>Si des exceptions ou des erreurs sont soulevées par le serveur ou les services, elles sont gérées par cette méthode.</em></p>
|
|
|
1448 |
<p>Si nous avec des erreurs d'un type différent d'E_USER_NOTICE (réservé au débogage), elle sont renvoyées sur la sortie
|
|
|
1449 |
standard (via echo).
|
|
|
1450 |
Si seulement des erreurs de type E_USER_NOTICE, sont présentes, elle sont envoyées en fonction du contenu du paramètre de
|
|
|
1451 |
config "debogage_mode" :</p>
|
|
|
1452 |
<ul>
|
|
|
1453 |
<li>Debug::MODE_ECHO : les messages sont affichés en utilisant echo au moment où ils sont déclenchés dans le code.</li>
|
|
|
1454 |
<li>Debug::MODE_NOTICE : les message sont stockés par le gestionnaire d'exception sous forme d'erreur de type
|
|
|
1455 |
E_USER_NOTICE et sont renvoyés sur la sortie standard à la fin de l'execution du programme (via echo).</li>
|
|
|
1456 |
<li>Debug::MODE_ENTETE_HTTP : les message sont stockés par le gestionnaire d'exception sous forme d'erreur de type
|
|
|
1457 |
E_USER_NOTICE et sont renvoyés dans un entête HTTP (X_REST_DEBOGAGE_MESSAGES) à la fin de l'execution du programme.</li>
|
|
|
1458 |
<li>Autre valeur : les messages sont formatés puis retournés par la fonction de débogage (à vous de les afficher).</li>
|
|
|
1459 |
</ul>
|
|
|
1460 |
|
|
|
1461 |
|
|
|
1462 |
|
|
|
1463 |
</article>
|
|
|
1464 |
</div>
|
|
|
1465 |
<aside class="span4 detailsbar">
|
|
|
1466 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1467 |
<span class="label label-info">static</span>
|
|
|
1468 |
<dl>
|
|
|
1469 |
</dl>
|
|
|
1470 |
<h2>Tags</h2>
|
|
|
1471 |
<table class="table table-condensed">
|
|
|
1472 |
<tr>
|
|
|
1473 |
<th>
|
|
|
1474 |
todo
|
|
|
1475 |
</th>
|
|
|
1476 |
<td>
|
|
|
1477 |
</td>
|
|
|
1478 |
</tr>
|
|
|
1479 |
</table>
|
|
|
1480 |
</aside>
|
|
|
1481 |
</div>
|
|
|
1482 |
|
|
|
1483 |
<div class="row-fluid">
|
|
|
1484 |
<div class="span8 content class">
|
|
|
1485 |
<a id="method_ajouterMessage" name="method_ajouterMessage" class="anchor"></a>
|
|
|
1486 |
<article class="method">
|
|
|
1487 |
<h3 class="public ">ajouterMessage()</h3>
|
|
|
1488 |
<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>
|
|
|
1489 |
<pre class="signature" style="margin-right: 54px;">ajouterMessage(string <span class="argument">$message</span>)</pre>
|
|
|
1490 |
<p><em>Permet d'ajouter un message d'erreur ou d'avertissement qui sera envoyé au client.</em></p>
|
|
|
1491 |
<p>Le message doit être au format texte et en UTF-8.</p>
|
|
|
1492 |
|
|
|
1493 |
<h4>Parameters</h4>
|
|
|
1494 |
<table class="table table-condensed table-hover">
|
|
|
1495 |
<tr>
|
|
|
1496 |
<td>string</td>
|
|
|
1497 |
<td>$message</td>
|
|
|
1498 |
<td><p>le message à envoyer.</p></td>
|
|
|
1499 |
</tr>
|
|
|
1500 |
</table>
|
|
|
1501 |
|
|
|
1502 |
|
|
|
1503 |
</article>
|
|
|
1504 |
</div>
|
|
|
1505 |
<aside class="span4 detailsbar">
|
|
|
1506 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1507 |
<span class="label label-info">static</span>
|
|
|
1508 |
<dl>
|
|
|
1509 |
</dl>
|
|
|
1510 |
<h2>Tags</h2>
|
|
|
1511 |
<table class="table table-condensed">
|
|
|
1512 |
<tr>
|
|
|
1513 |
<th>
|
|
|
1514 |
todo
|
|
|
1515 |
</th>
|
|
|
1516 |
<td>
|
|
|
1517 |
</td>
|
|
|
1518 |
</tr>
|
|
|
1519 |
</table>
|
|
|
1520 |
</aside>
|
|
|
1521 |
</div>
|
|
|
1522 |
|
|
|
1523 |
<div class="row-fluid">
|
|
|
1524 |
<div class="span8 content class">
|
|
|
1525 |
<a id="method_initialiserMethode" name="method_initialiserMethode" class="anchor"></a>
|
|
|
1526 |
<article class="method">
|
|
|
1527 |
<h3 class="private ">initialiserMethode()</h3>
|
|
|
1528 |
<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>
|
|
|
1529 |
<pre class="signature" style="margin-right: 54px;">initialiserMethode()</pre>
|
|
|
1530 |
<p><em></em></p>
|
|
|
1531 |
|
|
|
1532 |
|
|
|
1533 |
|
|
|
1534 |
|
|
|
1535 |
</article>
|
|
|
1536 |
</div>
|
|
|
1537 |
<aside class="span4 detailsbar">
|
|
|
1538 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1539 |
<dl>
|
|
|
1540 |
</dl>
|
|
|
1541 |
<h2>Tags</h2>
|
|
|
1542 |
<table class="table table-condensed">
|
|
|
1543 |
<tr>
|
|
|
1544 |
<th>
|
|
|
1545 |
todo
|
|
|
1546 |
</th>
|
|
|
1547 |
<td>
|
|
|
1548 |
</td>
|
|
|
1549 |
</tr>
|
|
|
1550 |
</table>
|
|
|
1551 |
</aside>
|
|
|
1552 |
</div>
|
|
|
1553 |
|
|
|
1554 |
<div class="row-fluid">
|
|
|
1555 |
<div class="span8 content class">
|
|
|
1556 |
<a id="method_initialiserRequeteDonnees" name="method_initialiserRequeteDonnees" class="anchor"></a>
|
|
|
1557 |
<article class="method">
|
|
|
1558 |
<h3 class="private ">initialiserRequeteDonnees()</h3>
|
|
|
1559 |
<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>
|
|
|
1560 |
<pre class="signature" style="margin-right: 54px;">initialiserRequeteDonnees()</pre>
|
|
|
1561 |
<p><em></em></p>
|
|
|
1562 |
|
|
|
1563 |
|
|
|
1564 |
|
|
|
1565 |
|
|
|
1566 |
</article>
|
|
|
1567 |
</div>
|
|
|
1568 |
<aside class="span4 detailsbar">
|
|
|
1569 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1570 |
<dl>
|
|
|
1571 |
</dl>
|
|
|
1572 |
<h2>Tags</h2>
|
|
|
1573 |
<table class="table table-condensed">
|
|
|
1574 |
<tr>
|
|
|
1575 |
<th>
|
|
|
1576 |
todo
|
|
|
1577 |
</th>
|
|
|
1578 |
<td>
|
|
|
1579 |
</td>
|
|
|
1580 |
</tr>
|
|
|
1581 |
</table>
|
|
|
1582 |
</aside>
|
|
|
1583 |
</div>
|
|
|
1584 |
|
|
|
1585 |
<div class="row-fluid">
|
|
|
1586 |
<div class="span8 content class">
|
|
|
1587 |
<a id="method_decouperUrlChemin" name="method_decouperUrlChemin" class="anchor"></a>
|
|
|
1588 |
<article class="method">
|
|
|
1589 |
<h3 class="private ">decouperUrlChemin()</h3>
|
|
|
1590 |
<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>
|
|
|
1591 |
<pre class="signature" style="margin-right: 54px;">decouperUrlChemin()</pre>
|
|
|
1592 |
<p><em></em></p>
|
|
|
1593 |
|
|
|
1594 |
|
|
|
1595 |
|
|
|
1596 |
|
|
|
1597 |
</article>
|
|
|
1598 |
</div>
|
|
|
1599 |
<aside class="span4 detailsbar">
|
|
|
1600 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1601 |
<dl>
|
|
|
1602 |
</dl>
|
|
|
1603 |
<h2>Tags</h2>
|
|
|
1604 |
<table class="table table-condensed">
|
|
|
1605 |
<tr>
|
|
|
1606 |
<th>
|
|
|
1607 |
todo
|
|
|
1608 |
</th>
|
|
|
1609 |
<td>
|
|
|
1610 |
</td>
|
|
|
1611 |
</tr>
|
|
|
1612 |
</table>
|
|
|
1613 |
</aside>
|
|
|
1614 |
</div>
|
|
|
1615 |
|
|
|
1616 |
<div class="row-fluid">
|
|
|
1617 |
<div class="span8 content class">
|
|
|
1618 |
<a id="method_initialiserApiVersion" name="method_initialiserApiVersion" class="anchor"></a>
|
|
|
1619 |
<article class="method">
|
|
|
1620 |
<h3 class="private ">initialiserApiVersion()</h3>
|
|
|
1621 |
<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>
|
|
|
1622 |
<pre class="signature" style="margin-right: 54px;">initialiserApiVersion( <span class="argument">$apiVersion</span>)</pre>
|
|
|
1623 |
<p><em></em></p>
|
|
|
1624 |
|
|
|
1625 |
|
|
|
1626 |
<h4>Parameters</h4>
|
|
|
1627 |
<table class="table table-condensed table-hover">
|
|
|
1628 |
<tr>
|
|
|
1629 |
<td></td>
|
|
|
1630 |
<td>$apiVersion</td>
|
|
|
1631 |
<td></td>
|
|
|
1632 |
</tr>
|
|
|
1633 |
</table>
|
|
|
1634 |
|
|
|
1635 |
|
|
|
1636 |
</article>
|
|
|
1637 |
</div>
|
|
|
1638 |
<aside class="span4 detailsbar">
|
|
|
1639 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1640 |
<dl>
|
|
|
1641 |
</dl>
|
|
|
1642 |
<h2>Tags</h2>
|
|
|
1643 |
<table class="table table-condensed">
|
|
|
1644 |
<tr>
|
|
|
1645 |
<th>
|
|
|
1646 |
todo
|
|
|
1647 |
</th>
|
|
|
1648 |
<td>
|
|
|
1649 |
</td>
|
|
|
1650 |
</tr>
|
|
|
1651 |
</table>
|
|
|
1652 |
</aside>
|
|
|
1653 |
</div>
|
|
|
1654 |
|
|
|
1655 |
<div class="row-fluid">
|
|
|
1656 |
<div class="span8 content class">
|
|
|
1657 |
<a id="method_verifierApiVersion" name="method_verifierApiVersion" class="anchor"></a>
|
|
|
1658 |
<article class="method">
|
|
|
1659 |
<h3 class="private ">verifierApiVersion()</h3>
|
|
|
1660 |
<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>
|
|
|
1661 |
<pre class="signature" style="margin-right: 54px;">verifierApiVersion( <span class="argument">$apiVersion</span>)</pre>
|
|
|
1662 |
<p><em></em></p>
|
|
|
1663 |
|
|
|
1664 |
|
|
|
1665 |
<h4>Parameters</h4>
|
|
|
1666 |
<table class="table table-condensed table-hover">
|
|
|
1667 |
<tr>
|
|
|
1668 |
<td></td>
|
|
|
1669 |
<td>$apiVersion</td>
|
|
|
1670 |
<td></td>
|
|
|
1671 |
</tr>
|
|
|
1672 |
</table>
|
|
|
1673 |
|
|
|
1674 |
|
|
|
1675 |
</article>
|
|
|
1676 |
</div>
|
|
|
1677 |
<aside class="span4 detailsbar">
|
|
|
1678 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1679 |
<dl>
|
|
|
1680 |
</dl>
|
|
|
1681 |
<h2>Tags</h2>
|
|
|
1682 |
<table class="table table-condensed">
|
|
|
1683 |
<tr>
|
|
|
1684 |
<th>
|
|
|
1685 |
todo
|
|
|
1686 |
</th>
|
|
|
1687 |
<td>
|
|
|
1688 |
</td>
|
|
|
1689 |
</tr>
|
|
|
1690 |
</table>
|
|
|
1691 |
</aside>
|
|
|
1692 |
</div>
|
|
|
1693 |
|
|
|
1694 |
<div class="row-fluid">
|
|
|
1695 |
<div class="span8 content class">
|
|
|
1696 |
<a id="method_initialiserServiceNom" name="method_initialiserServiceNom" class="anchor"></a>
|
|
|
1697 |
<article class="method">
|
|
|
1698 |
<h3 class="private ">initialiserServiceNom()</h3>
|
|
|
1699 |
<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>
|
|
|
1700 |
<pre class="signature" style="margin-right: 54px;">initialiserServiceNom( <span class="argument">$serviceNom</span>)</pre>
|
|
|
1701 |
<p><em></em></p>
|
|
|
1702 |
|
|
|
1703 |
|
|
|
1704 |
<h4>Parameters</h4>
|
|
|
1705 |
<table class="table table-condensed table-hover">
|
|
|
1706 |
<tr>
|
|
|
1707 |
<td></td>
|
|
|
1708 |
<td>$serviceNom</td>
|
|
|
1709 |
<td></td>
|
|
|
1710 |
</tr>
|
|
|
1711 |
</table>
|
|
|
1712 |
|
|
|
1713 |
|
|
|
1714 |
</article>
|
|
|
1715 |
</div>
|
|
|
1716 |
<aside class="span4 detailsbar">
|
|
|
1717 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1718 |
<dl>
|
|
|
1719 |
</dl>
|
|
|
1720 |
<h2>Tags</h2>
|
|
|
1721 |
<table class="table table-condensed">
|
|
|
1722 |
<tr>
|
|
|
1723 |
<th>
|
|
|
1724 |
todo
|
|
|
1725 |
</th>
|
|
|
1726 |
<td>
|
|
|
1727 |
</td>
|
|
|
1728 |
</tr>
|
|
|
1729 |
</table>
|
|
|
1730 |
</aside>
|
|
|
1731 |
</div>
|
|
|
1732 |
|
|
|
1733 |
<div class="row-fluid">
|
|
|
1734 |
<div class="span8 content class">
|
|
|
1735 |
<a id="method_verifierServiceNom" name="method_verifierServiceNom" class="anchor"></a>
|
|
|
1736 |
<article class="method">
|
|
|
1737 |
<h3 class="private ">verifierServiceNom()</h3>
|
|
|
1738 |
<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>
|
|
|
1739 |
<pre class="signature" style="margin-right: 54px;">verifierServiceNom( <span class="argument">$serviceNom</span>)</pre>
|
|
|
1740 |
<p><em></em></p>
|
|
|
1741 |
|
|
|
1742 |
|
|
|
1743 |
<h4>Parameters</h4>
|
|
|
1744 |
<table class="table table-condensed table-hover">
|
|
|
1745 |
<tr>
|
|
|
1746 |
<td></td>
|
|
|
1747 |
<td>$serviceNom</td>
|
|
|
1748 |
<td></td>
|
|
|
1749 |
</tr>
|
|
|
1750 |
</table>
|
|
|
1751 |
|
|
|
1752 |
|
|
|
1753 |
</article>
|
|
|
1754 |
</div>
|
|
|
1755 |
<aside class="span4 detailsbar">
|
|
|
1756 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1757 |
<dl>
|
|
|
1758 |
</dl>
|
|
|
1759 |
<h2>Tags</h2>
|
|
|
1760 |
<table class="table table-condensed">
|
|
|
1761 |
<tr>
|
|
|
1762 |
<th>
|
|
|
1763 |
todo
|
|
|
1764 |
</th>
|
|
|
1765 |
<td>
|
|
|
1766 |
</td>
|
|
|
1767 |
</tr>
|
|
|
1768 |
</table>
|
|
|
1769 |
</aside>
|
|
|
1770 |
</div>
|
|
|
1771 |
|
|
|
1772 |
<div class="row-fluid">
|
|
|
1773 |
<div class="span8 content class">
|
|
|
1774 |
<a id="method_traiterNomService" name="method_traiterNomService" class="anchor"></a>
|
|
|
1775 |
<article class="method">
|
|
|
1776 |
<h3 class="private ">traiterNomService()</h3>
|
|
|
1777 |
<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>
|
|
|
1778 |
<pre class="signature" style="margin-right: 54px;">traiterNomService( <span class="argument">$serviceNom</span>)</pre>
|
|
|
1779 |
<p><em></em></p>
|
|
|
1780 |
|
|
|
1781 |
|
|
|
1782 |
<h4>Parameters</h4>
|
|
|
1783 |
<table class="table table-condensed table-hover">
|
|
|
1784 |
<tr>
|
|
|
1785 |
<td></td>
|
|
|
1786 |
<td>$serviceNom</td>
|
|
|
1787 |
<td></td>
|
|
|
1788 |
</tr>
|
|
|
1789 |
</table>
|
|
|
1790 |
|
|
|
1791 |
|
|
|
1792 |
</article>
|
|
|
1793 |
</div>
|
|
|
1794 |
<aside class="span4 detailsbar">
|
|
|
1795 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1796 |
<dl>
|
|
|
1797 |
</dl>
|
|
|
1798 |
<h2>Tags</h2>
|
|
|
1799 |
<table class="table table-condensed">
|
|
|
1800 |
<tr>
|
|
|
1801 |
<th>
|
|
|
1802 |
todo
|
|
|
1803 |
</th>
|
|
|
1804 |
<td>
|
|
|
1805 |
</td>
|
|
|
1806 |
</tr>
|
|
|
1807 |
</table>
|
|
|
1808 |
</aside>
|
|
|
1809 |
</div>
|
|
|
1810 |
|
|
|
1811 |
<div class="row-fluid">
|
|
|
1812 |
<div class="span8 content class">
|
|
|
1813 |
<a id="method_initialiserRessource" name="method_initialiserRessource" class="anchor"></a>
|
|
|
1814 |
<article class="method">
|
|
|
1815 |
<h3 class="private ">initialiserRessource()</h3>
|
|
|
1816 |
<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>
|
|
|
1817 |
<pre class="signature" style="margin-right: 54px;">initialiserRessource( <span class="argument">$urlParts</span>)</pre>
|
|
|
1818 |
<p><em></em></p>
|
|
|
1819 |
|
|
|
1820 |
|
|
|
1821 |
<h4>Parameters</h4>
|
|
|
1822 |
<table class="table table-condensed table-hover">
|
|
|
1823 |
<tr>
|
|
|
1824 |
<td></td>
|
|
|
1825 |
<td>$urlParts</td>
|
|
|
1826 |
<td></td>
|
|
|
1827 |
</tr>
|
|
|
1828 |
</table>
|
|
|
1829 |
|
|
|
1830 |
|
|
|
1831 |
</article>
|
|
|
1832 |
</div>
|
|
|
1833 |
<aside class="span4 detailsbar">
|
|
|
1834 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1835 |
<dl>
|
|
|
1836 |
</dl>
|
|
|
1837 |
<h2>Tags</h2>
|
|
|
1838 |
<table class="table table-condensed">
|
|
|
1839 |
<tr>
|
|
|
1840 |
<th>
|
|
|
1841 |
todo
|
|
|
1842 |
</th>
|
|
|
1843 |
<td>
|
|
|
1844 |
</td>
|
|
|
1845 |
</tr>
|
|
|
1846 |
</table>
|
|
|
1847 |
</aside>
|
|
|
1848 |
</div>
|
|
|
1849 |
|
|
|
1850 |
<div class="row-fluid">
|
|
|
1851 |
<div class="span8 content class">
|
|
|
1852 |
<a id="method_initialiserParametres" name="method_initialiserParametres" class="anchor"></a>
|
|
|
1853 |
<article class="method">
|
|
|
1854 |
<h3 class="private ">initialiserParametres()</h3>
|
|
|
1855 |
<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>
|
|
|
1856 |
<pre class="signature" style="margin-right: 54px;">initialiserParametres()</pre>
|
|
|
1857 |
<p><em></em></p>
|
|
|
1858 |
|
|
|
1859 |
|
|
|
1860 |
|
|
|
1861 |
|
|
|
1862 |
</article>
|
|
|
1863 |
</div>
|
|
|
1864 |
<aside class="span4 detailsbar">
|
|
|
1865 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1866 |
<dl>
|
|
|
1867 |
</dl>
|
|
|
1868 |
<h2>Tags</h2>
|
|
|
1869 |
<table class="table table-condensed">
|
|
|
1870 |
<tr>
|
|
|
1871 |
<th>
|
|
|
1872 |
todo
|
|
|
1873 |
</th>
|
|
|
1874 |
<td>
|
|
|
1875 |
</td>
|
|
|
1876 |
</tr>
|
|
|
1877 |
</table>
|
|
|
1878 |
</aside>
|
|
|
1879 |
</div>
|
|
|
1880 |
|
|
|
1881 |
<div class="row-fluid">
|
|
|
1882 |
<div class="span8 content class">
|
|
|
1883 |
<a id="method_recupererParametresGet" name="method_recupererParametresGet" class="anchor"></a>
|
|
|
1884 |
<article class="method">
|
|
|
1885 |
<h3 class="private ">recupererParametresGet()</h3>
|
|
|
1886 |
<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>
|
|
|
1887 |
<pre class="signature" style="margin-right: 54px;">recupererParametresGet()</pre>
|
|
|
1888 |
<p><em></em></p>
|
|
|
1889 |
|
|
|
1890 |
|
|
|
1891 |
|
|
|
1892 |
|
|
|
1893 |
</article>
|
|
|
1894 |
</div>
|
|
|
1895 |
<aside class="span4 detailsbar">
|
|
|
1896 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1897 |
<dl>
|
|
|
1898 |
</dl>
|
|
|
1899 |
<h2>Tags</h2>
|
|
|
1900 |
<table class="table table-condensed">
|
|
|
1901 |
<tr>
|
|
|
1902 |
<th>
|
|
|
1903 |
todo
|
|
|
1904 |
</th>
|
|
|
1905 |
<td>
|
|
|
1906 |
</td>
|
|
|
1907 |
</tr>
|
|
|
1908 |
</table>
|
|
|
1909 |
</aside>
|
|
|
1910 |
</div>
|
|
|
1911 |
|
|
|
1912 |
<div class="row-fluid">
|
|
|
1913 |
<div class="span8 content class">
|
|
|
1914 |
<a id="method_nettoyerParametres" name="method_nettoyerParametres" class="anchor"></a>
|
|
|
1915 |
<article class="method">
|
|
|
1916 |
<h3 class="private ">nettoyerParametres()</h3>
|
|
|
1917 |
<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>
|
|
|
1918 |
<pre class="signature" style="margin-right: 54px;">nettoyerParametres(array <span class="argument">$parametres</span>)</pre>
|
|
|
1919 |
<p><em></em></p>
|
|
|
1920 |
|
|
|
1921 |
|
|
|
1922 |
<h4>Parameters</h4>
|
|
|
1923 |
<table class="table table-condensed table-hover">
|
|
|
1924 |
<tr>
|
|
|
1925 |
<td>array</td>
|
|
|
1926 |
<td>$parametres</td>
|
|
|
1927 |
<td></td>
|
|
|
1928 |
</tr>
|
|
|
1929 |
</table>
|
|
|
1930 |
|
|
|
1931 |
|
|
|
1932 |
</article>
|
|
|
1933 |
</div>
|
|
|
1934 |
<aside class="span4 detailsbar">
|
|
|
1935 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1936 |
<dl>
|
|
|
1937 |
</dl>
|
|
|
1938 |
<h2>Tags</h2>
|
|
|
1939 |
<table class="table table-condensed">
|
|
|
1940 |
<tr>
|
|
|
1941 |
<th>
|
|
|
1942 |
todo
|
|
|
1943 |
</th>
|
|
|
1944 |
<td>
|
|
|
1945 |
</td>
|
|
|
1946 |
</tr>
|
|
|
1947 |
</table>
|
|
|
1948 |
</aside>
|
|
|
1949 |
</div>
|
|
|
1950 |
|
|
|
1951 |
<div class="row-fluid">
|
|
|
1952 |
<div class="span8 content class">
|
|
|
1953 |
<a id="method_recupererParametresBruts" name="method_recupererParametresBruts" class="anchor"></a>
|
|
|
1954 |
<article class="method">
|
|
|
1955 |
<h3 class="private ">recupererParametresBruts()</h3>
|
|
|
1956 |
<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>
|
|
|
1957 |
<pre class="signature" style="margin-right: 54px;">recupererParametresBruts()</pre>
|
|
|
1958 |
<p><em></em></p>
|
|
|
1959 |
|
|
|
1960 |
|
|
|
1961 |
|
|
|
1962 |
|
|
|
1963 |
</article>
|
|
|
1964 |
</div>
|
|
|
1965 |
<aside class="span4 detailsbar">
|
|
|
1966 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
1967 |
<dl>
|
|
|
1968 |
</dl>
|
|
|
1969 |
<h2>Tags</h2>
|
|
|
1970 |
<table class="table table-condensed">
|
|
|
1971 |
<tr>
|
|
|
1972 |
<th>
|
|
|
1973 |
todo
|
|
|
1974 |
</th>
|
|
|
1975 |
<td>
|
|
|
1976 |
</td>
|
|
|
1977 |
</tr>
|
|
|
1978 |
</table>
|
|
|
1979 |
</aside>
|
|
|
1980 |
</div>
|
|
|
1981 |
|
|
|
1982 |
<div class="row-fluid">
|
|
|
1983 |
<div class="span8 content class">
|
|
|
1984 |
<a id="method_get" name="method_get" class="anchor"></a>
|
|
|
1985 |
<article class="method">
|
|
|
1986 |
<h3 class="private ">get()</h3>
|
|
|
1987 |
<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>
|
|
|
1988 |
<pre class="signature" style="margin-right: 54px;">get()</pre>
|
|
|
1989 |
<p><em>Execute a GET request. A GET request fetches a list of resource when no resource name is given, a list of element
|
|
|
1990 |
when a resource name is given, or a resource element when a resource and resource unique identifier are given. It does not change the
|
|
|
1991 |
database contents.</em></p>
|
|
|
1992 |
|
|
|
1993 |
|
|
|
1994 |
|
|
|
1995 |
|
|
|
1996 |
</article>
|
|
|
1997 |
</div>
|
|
|
1998 |
<aside class="span4 detailsbar">
|
|
|
1999 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
2000 |
<dl>
|
|
|
2001 |
</dl>
|
|
|
2002 |
<h2>Tags</h2>
|
|
|
2003 |
<table class="table table-condensed">
|
|
|
2004 |
<tr>
|
|
|
2005 |
<th>
|
|
|
2006 |
todo
|
|
|
2007 |
</th>
|
|
|
2008 |
<td>
|
|
|
2009 |
</td>
|
|
|
2010 |
</tr>
|
|
|
2011 |
</table>
|
|
|
2012 |
</aside>
|
|
|
2013 |
</div>
|
|
|
2014 |
|
|
|
2015 |
<div class="row-fluid">
|
|
|
2016 |
<div class="span8 content class">
|
|
|
2017 |
<a id="method_post" name="method_post" class="anchor"></a>
|
|
|
2018 |
<article class="method">
|
|
|
2019 |
<h3 class="private ">post()</h3>
|
|
|
2020 |
<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>
|
|
|
2021 |
<pre class="signature" style="margin-right: 54px;">post()</pre>
|
|
|
2022 |
<p><em></em></p>
|
|
|
2023 |
|
|
|
2024 |
|
|
|
2025 |
|
|
|
2026 |
|
|
|
2027 |
</article>
|
|
|
2028 |
</div>
|
|
|
2029 |
<aside class="span4 detailsbar">
|
|
|
2030 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
2031 |
<dl>
|
|
|
2032 |
</dl>
|
|
|
2033 |
<h2>Tags</h2>
|
|
|
2034 |
<table class="table table-condensed">
|
|
|
2035 |
<tr>
|
|
|
2036 |
<th>
|
|
|
2037 |
todo
|
|
|
2038 |
</th>
|
|
|
2039 |
<td>
|
|
|
2040 |
</td>
|
|
|
2041 |
</tr>
|
|
|
2042 |
</table>
|
|
|
2043 |
</aside>
|
|
|
2044 |
</div>
|
|
|
2045 |
|
|
|
2046 |
<div class="row-fluid">
|
|
|
2047 |
<div class="span8 content class">
|
|
|
2048 |
<a id="method_put" name="method_put" class="anchor"></a>
|
|
|
2049 |
<article class="method">
|
|
|
2050 |
<h3 class="private ">put()</h3>
|
|
|
2051 |
<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>
|
|
|
2052 |
<pre class="signature" style="margin-right: 54px;">put()</pre>
|
|
|
2053 |
<p><em></em></p>
|
|
|
2054 |
|
|
|
2055 |
|
|
|
2056 |
|
|
|
2057 |
|
|
|
2058 |
</article>
|
|
|
2059 |
</div>
|
|
|
2060 |
<aside class="span4 detailsbar">
|
|
|
2061 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
2062 |
<dl>
|
|
|
2063 |
</dl>
|
|
|
2064 |
<h2>Tags</h2>
|
|
|
2065 |
<table class="table table-condensed">
|
|
|
2066 |
<tr>
|
|
|
2067 |
<th>
|
|
|
2068 |
todo
|
|
|
2069 |
</th>
|
|
|
2070 |
<td>
|
|
|
2071 |
</td>
|
|
|
2072 |
</tr>
|
|
|
2073 |
</table>
|
|
|
2074 |
</aside>
|
|
|
2075 |
</div>
|
|
|
2076 |
|
|
|
2077 |
<div class="row-fluid">
|
|
|
2078 |
<div class="span8 content class">
|
|
|
2079 |
<a id="method_delete" name="method_delete" class="anchor"></a>
|
|
|
2080 |
<article class="method">
|
|
|
2081 |
<h3 class="private ">delete()</h3>
|
|
|
2082 |
<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>
|
|
|
2083 |
<pre class="signature" style="margin-right: 54px;">delete()</pre>
|
|
|
2084 |
<p><em></em></p>
|
|
|
2085 |
|
|
|
2086 |
|
|
|
2087 |
|
|
|
2088 |
|
|
|
2089 |
</article>
|
|
|
2090 |
</div>
|
|
|
2091 |
<aside class="span4 detailsbar">
|
|
|
2092 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
2093 |
<dl>
|
|
|
2094 |
</dl>
|
|
|
2095 |
<h2>Tags</h2>
|
|
|
2096 |
<table class="table table-condensed">
|
|
|
2097 |
<tr>
|
|
|
2098 |
<th>
|
|
|
2099 |
todo
|
|
|
2100 |
</th>
|
|
|
2101 |
<td>
|
|
|
2102 |
</td>
|
|
|
2103 |
</tr>
|
|
|
2104 |
</table>
|
|
|
2105 |
</aside>
|
|
|
2106 |
</div>
|
|
|
2107 |
|
|
|
2108 |
<div class="row-fluid">
|
|
|
2109 |
<div class="span8 content class">
|
|
|
2110 |
<a id="method_parserDonneesRequete" name="method_parserDonneesRequete" class="anchor"></a>
|
|
|
2111 |
<article class="method">
|
|
|
2112 |
<h3 class="private ">parserDonneesRequete()</h3>
|
|
|
2113 |
<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>
|
|
|
2114 |
<pre class="signature" style="margin-right: 54px;">parserDonneesRequete() : array</pre>
|
|
|
2115 |
<p><em>Parse les données contenu dans le corps de la requête HTTP (= POST) en :
|
|
|
2116 |
- décodant les clés et valeurs.</em></p>
|
|
|
2117 |
<ul>
|
|
|
2118 |
<li>supprimant les espaces en début et fin des clés et des valeurs.</li>
|
|
|
2119 |
</ul>
|
|
|
2120 |
|
|
|
2121 |
|
|
|
2122 |
|
|
|
2123 |
<h4>Returns</h4>
|
|
|
2124 |
array
|
|
|
2125 |
— <p>Tableau de paires clé et valeur.</p>
|
|
|
2126 |
</article>
|
|
|
2127 |
</div>
|
|
|
2128 |
<aside class="span4 detailsbar">
|
|
|
2129 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
2130 |
<dl>
|
|
|
2131 |
</dl>
|
|
|
2132 |
<h2>Tags</h2>
|
|
|
2133 |
<table class="table table-condensed">
|
|
|
2134 |
<tr>
|
|
|
2135 |
<th>
|
|
|
2136 |
todo
|
|
|
2137 |
</th>
|
|
|
2138 |
<td>
|
|
|
2139 |
</td>
|
|
|
2140 |
</tr>
|
|
|
2141 |
</table>
|
|
|
2142 |
</aside>
|
|
|
2143 |
</div>
|
|
|
2144 |
|
|
|
2145 |
<div class="row-fluid">
|
|
|
2146 |
<div class="span8 content class">
|
|
|
2147 |
<a id="method_cloreAccesServeur" name="method_cloreAccesServeur" class="anchor"></a>
|
|
|
2148 |
<article class="method">
|
|
|
2149 |
<h3 class="private ">cloreAccesServeur()</h3>
|
|
|
2150 |
<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>
|
|
|
2151 |
<pre class="signature" style="margin-right: 54px;">cloreAccesServeur( <span class="argument">$retour</span>)</pre>
|
|
|
2152 |
<p><em>Termine l'accès au serveur après envoir envoyer les messages.</em></p>
|
|
|
2153 |
|
|
|
2154 |
|
|
|
2155 |
<h4>Parameters</h4>
|
|
|
2156 |
<table class="table table-condensed table-hover">
|
|
|
2157 |
<tr>
|
|
|
2158 |
<td></td>
|
|
|
2159 |
<td>$retour</td>
|
|
|
2160 |
<td></td>
|
|
|
2161 |
</tr>
|
|
|
2162 |
</table>
|
|
|
2163 |
|
|
|
2164 |
|
|
|
2165 |
</article>
|
|
|
2166 |
</div>
|
|
|
2167 |
<aside class="span4 detailsbar">
|
|
|
2168 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
2169 |
<span class="label label-info">static</span>
|
|
|
2170 |
<dl>
|
|
|
2171 |
</dl>
|
|
|
2172 |
<h2>Tags</h2>
|
|
|
2173 |
<table class="table table-condensed">
|
|
|
2174 |
<tr>
|
|
|
2175 |
<th>
|
|
|
2176 |
todo
|
|
|
2177 |
</th>
|
|
|
2178 |
<td>
|
|
|
2179 |
</td>
|
|
|
2180 |
</tr>
|
|
|
2181 |
</table>
|
|
|
2182 |
</aside>
|
|
|
2183 |
</div>
|
|
|
2184 |
|
|
|
2185 |
<div class="row-fluid">
|
|
|
2186 |
<div class="span8 content class">
|
|
|
2187 |
<a id="method_envoyerMessages" name="method_envoyerMessages" class="anchor"></a>
|
|
|
2188 |
<article class="method">
|
|
|
2189 |
<h3 class="private ">envoyerMessages()</h3>
|
|
|
2190 |
<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>
|
|
|
2191 |
<pre class="signature" style="margin-right: 54px;">envoyerMessages()</pre>
|
|
|
2192 |
<p><em>Envoie au client les éventuels messages d'erreur et d'avertissement du Serveur.</em></p>
|
|
|
2193 |
<p>Le format d'envoie est text/plain encodé en UTF-8.</p>
|
|
|
2194 |
|
|
|
2195 |
|
|
|
2196 |
|
|
|
2197 |
</article>
|
|
|
2198 |
</div>
|
|
|
2199 |
<aside class="span4 detailsbar">
|
|
|
2200 |
<h1><i class="icon-arrow-down"></i></h1>
|
|
|
2201 |
<span class="label label-info">static</span>
|
|
|
2202 |
<dl>
|
|
|
2203 |
</dl>
|
|
|
2204 |
<h2>Tags</h2>
|
|
|
2205 |
<table class="table table-condensed">
|
|
|
2206 |
<tr>
|
|
|
2207 |
<th>
|
|
|
2208 |
todo
|
|
|
2209 |
</th>
|
|
|
2210 |
<td>
|
|
|
2211 |
</td>
|
|
|
2212 |
</tr>
|
|
|
2213 |
</table>
|
|
|
2214 |
</aside>
|
|
|
2215 |
</div>
|
|
|
2216 |
|
|
|
2217 |
</div>
|
|
|
2218 |
</section>
|
|
|
2219 |
|
|
|
2220 |
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
|
|
2221 |
<div class="modal-header">
|
|
|
2222 |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
2223 |
<h3 id="source-view-label">RestServeur.php</h3>
|
|
|
2224 |
</div>
|
|
|
2225 |
<div class="modal-body">
|
|
|
2226 |
<pre data-src="../files/RestServeur.php.txt" class="language-php line-numbers"></pre>
|
|
|
2227 |
</div>
|
|
|
2228 |
</div>
|
|
|
2229 |
|
|
|
2230 |
<footer class="row-fluid">
|
|
|
2231 |
<section class="span10 offset2">
|
|
|
2232 |
<section class="row-fluid">
|
|
|
2233 |
<section class="span10 offset1">
|
|
|
2234 |
<section class="row-fluid footer-sections">
|
|
|
2235 |
<section class="span4">
|
|
|
2236 |
<h1><i class="icon-code"></i></h1>
|
|
|
2237 |
<div>
|
|
|
2238 |
<ul>
|
|
|
2239 |
</ul>
|
|
|
2240 |
</div>
|
|
|
2241 |
</section>
|
|
|
2242 |
<section class="span4">
|
|
|
2243 |
<h1><i class="icon-bar-chart"></i></h1>
|
|
|
2244 |
<div>
|
|
|
2245 |
<ul>
|
|
|
2246 |
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
|
|
2247 |
</ul>
|
|
|
2248 |
</div>
|
|
|
2249 |
</section>
|
|
|
2250 |
<section class="span4">
|
|
|
2251 |
<h1><i class="icon-pushpin"></i></h1>
|
|
|
2252 |
<div>
|
|
|
2253 |
<ul>
|
|
|
2254 |
<li><a href="../reports/errors.html">Errors</a></li>
|
|
|
2255 |
<li><a href="../reports/markers.html">Markers</a></li>
|
|
|
2256 |
</ul>
|
|
|
2257 |
</div>
|
|
|
2258 |
</section>
|
|
|
2259 |
</section>
|
|
|
2260 |
</section>
|
|
|
2261 |
</section>
|
|
|
2262 |
<section class="row-fluid">
|
|
|
2263 |
<section class="span10 offset1">
|
|
|
2264 |
<hr />
|
|
|
2265 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
|
|
2266 |
on March 12th, 2014 at 15:57.
|
|
|
2267 |
</section>
|
|
|
2268 |
</section>
|
|
|
2269 |
</section>
|
|
|
2270 |
</footer>
|
|
|
2271 |
</div>
|
|
|
2272 |
|
|
|
2273 |
</body>
|
|
|
2274 |
</html>
|