Rev 464 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="ApiGen 2.8.0">
<title>Class RestClient</title>
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
<script type="text/javascript" src="elementlist.js?4111837732"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Packages</h3>
<ul>
<li class="active"><a href="package-Framework.html">Framework</a>
</li>
<li><a href="package-None.html">None</a>
</li>
<li><a href="package-PHP.html">PHP</a>
</li>
<li><a href="package-Utilitaire.html">Utilitaire</a>
</li>
</ul>
</div>
<hr>
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-Bdd.html">Bdd</a></li>
<li><a href="class-Cache.html">Cache</a></li>
<li><a href="class-CacheSimple.html">CacheSimple</a></li>
<li><a href="class-Chronometre.html">Chronometre</a></li>
<li><a href="class-Cli.html">Cli</a></li>
<li><a href="class-Config.html">Config</a></li>
<li><a href="class-Controleur.html">Controleur</a></li>
<li><a href="class-Debug.html">Debug</a></li>
<li><a href="class-Framework.html">Framework</a></li>
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
<li><a href="class-I18n.html">I18n</a></li>
<li><a href="class-Log.html">Log</a></li>
<li><a href="class-Registre.html">Registre</a></li>
<li class="active"><a href="class-RestClient.html">RestClient</a></li>
<li><a href="class-RestServeur.html">RestServeur</a></li>
<li><a href="class-RestService.html">RestService</a></li>
<li><a href="class-Script.html">Script</a></li>
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
<li><a href="class-Url.html">Url</a></li>
</ul>
</div>
</div>
</div>
<div id="splitter"></div>
<div id="right">
<div id="rightInner">
<form id="search">
<input type="hidden" name="cx" value="">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" class="text">
<input type="submit" value="Search">
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="package-Framework.html" title="Summary of Framework"><span>Package</span></a>
</li>
<li class="active">
<span>Class</span> </li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
<li>
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
</li>
<li>
<a href="todo.html" title="Todo list"><span>Todo</span></a>
</li>
</ul>
<ul>
</ul>
</div>
<div id="content" class="class">
<h1>Class RestClient</h1>
<div class="description">
<p>Classe client permettant d'interroger des services web REST.</p>
</div>
<div class="info">
<b>Package:</b> <a href="package-Framework.html">Framework</a><br>
<b>Category:</b>
php 5.2<br>
<b>Copyright:</b>
Copyright (c) 2010, Tela Botanica (<a
href="mailto:accueil@tela-botanica.org">accueil@<!-- -->tela-botanica.org</a>)<br>
<b>License:</b>
<a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL</a><br>
<b>License:</b>
<a href="http://www.gnu.org/licenses/gpl.html">Licence GNU-GPL</a><br>
<b>Author:</b>
Jean-Pascal MILCENT <<a
href="mailto:jpm@tela-botanica.org">jpm@<!-- -->tela-botanica.org</a>><br>
<b>Version:</b>
$Id: RestClient.php 439 2013-10-14 15:48:41Z raphael $<br>
<b>Located at</b> <a href="source-class-RestClient.html#3-219" title="Go to source code">RestClient.php</a><br>
</div>
<table class="summary" id="methods">
<caption>Methods summary</caption>
<tr data-order="getReponseEntetes" id="_getReponseEntetes">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_getReponseEntetes">#</a>
<code><a href="source-class-RestClient.html#25-27" title="Go to source code">getReponseEntetes</a>( )</code>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
<tr data-order="getParametre" id="_getParametre">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_getParametre">#</a>
<code><a href="source-class-RestClient.html#29-32" title="Go to source code">getParametre</a>( <span>mixed <var>$cle</var></span> )</code>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
<tr data-order="ajouterParametre" id="_ajouterParametre">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_ajouterParametre">#</a>
<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>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
<tr data-order="supprimerParametre" id="_supprimerParametre">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_supprimerParametre">#</a>
<code><a href="source-class-RestClient.html#38-40" title="Go to source code">supprimerParametre</a>( <span>mixed <var>$cle</var></span> )</code>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
<tr data-order="nettoyerParametres" id="_nettoyerParametres">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_nettoyerParametres">#</a>
<code><a href="source-class-RestClient.html#42-44" title="Go to source code">nettoyerParametres</a>( )</code>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
<tr data-order="consulter" id="_consulter">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_consulter">#</a>
<code><a href="source-class-RestClient.html#49-52" title="Go to source code">consulter</a>( <span>mixed <var>$url</var></span> )</code>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
<tr data-order="ajouter" id="_ajouter">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_ajouter">#</a>
<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>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
<tr data-order="modifier" id="_modifier">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_modifier">#</a>
<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>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
<tr data-order="supprimer" id="_supprimer">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_supprimer">#</a>
<code><a href="source-class-RestClient.html#64-67" title="Go to source code">supprimer</a>( <span>mixed <var>$url</var></span> )</code>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
<tr data-order="envoyerCurlRequete" id="_envoyerCurlRequete">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_envoyerCurlRequete">#</a>
<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>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
<tr data-order="getCaller" id="_getCaller">
<td class="attributes"><code>
public static
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_getCaller">#</a>
<code><a href="source-class-RestClient.html#118-121" title="Go to source code">getCaller</a>( <span>mixed <var>$trace</var></span> )</code>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
<tr data-order="envoyerRequete" id="_envoyerRequete">
<td class="attributes"><code>
public
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_envoyerRequete">#</a>
<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>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
</table>
<table class="summary" id="constants">
<caption>Constants summary</caption>
<tr data-order="HTTP_URL_REQUETE_SEPARATEUR" id="HTTP_URL_REQUETE_SEPARATEUR">
<td class="attributes"><code>string</code></td>
<td class="name"><code>
<a href="source-class-RestClient.html#15" title="Go to source code"><b>HTTP_URL_REQUETE_SEPARATEUR</b></a>
</code></td>
<td class="value"><code><span class="php-quote">'&'</span></code></td>
<td class="description"><div>
<a href="#HTTP_URL_REQUETE_SEPARATEUR" class="anchor">#</a>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
<tr data-order="HTTP_URL_REQUETE_CLE_VALEUR_SEPARATEUR" id="HTTP_URL_REQUETE_CLE_VALEUR_SEPARATEUR">
<td class="attributes"><code>string</code></td>
<td class="name"><code>
<a href="source-class-RestClient.html#16" title="Go to source code"><b>HTTP_URL_REQUETE_CLE_VALEUR_SEPARATEUR</b></a>
</code></td>
<td class="value"><code><span class="php-quote">'='</span></code></td>
<td class="description"><div>
<a href="#HTTP_URL_REQUETE_CLE_VALEUR_SEPARATEUR" class="anchor">#</a>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
</table>
<table class="summary" id="properties">
<caption>Properties summary</caption>
<tr data-order="parametres" id="$parametres">
<td class="attributes"><code>
protected
mixed
</code></td>
<td class="name">
<a href="source-class-RestClient.html#18" title="Go to source code"><var>$parametres</var></a>
</td>
<td class="value"><code><span class="php-keyword1">null</span></code></td>
<td class="description"><div>
<a href="#$parametres" class="anchor">#</a>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
</table>
</div>
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>