Go to most recent revision | Blame | Last modification | View Log | RSS feed
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- template designed by Marco Von Ballmoos -->
<title>Docs For Class Url</title>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/>
<link rel="stylesheet" href="../media/stylesheet.css" />
<script src="../media/lib/classTree.js"></script>
<script language="javascript" type="text/javascript">
var imgPlus = new Image();
var imgMinus = new Image();
imgPlus.src = "../media/images/plus.png";
imgMinus.src = "../media/images/minus.png";
function showNode(Node){
switch(navigator.family){
case 'nn4':
// Nav 4.x code fork...
var oTable = document.layers["span" + Node];
var oImg = document.layers["img" + Node];
break;
case 'ie4':
// IE 4/5 code fork...
var oTable = document.all["span" + Node];
var oImg = document.all["img" + Node];
break;
case 'gecko':
// Standards Compliant code fork...
var oTable = document.getElementById("span" + Node);
var oImg = document.getElementById("img" + Node);
break;
}
oImg.src = imgMinus.src;
oTable.style.display = "block";
}
function hideNode(Node){
switch(navigator.family){
case 'nn4':
// Nav 4.x code fork...
var oTable = document.layers["span" + Node];
var oImg = document.layers["img" + Node];
break;
case 'ie4':
// IE 4/5 code fork...
var oTable = document.all["span" + Node];
var oImg = document.all["img" + Node];
break;
case 'gecko':
// Standards Compliant code fork...
var oTable = document.getElementById("span" + Node);
var oImg = document.getElementById("img" + Node);
break;
}
oImg.src = imgPlus.src;
oTable.style.display = "none";
}
function nodeIsVisible(Node){
switch(navigator.family){
case 'nn4':
// Nav 4.x code fork...
var oTable = document.layers["span" + Node];
break;
case 'ie4':
// IE 4/5 code fork...
var oTable = document.all["span" + Node];
break;
case 'gecko':
// Standards Compliant code fork...
var oTable = document.getElementById("span" + Node);
break;
}
return (oTable && oTable.style.display == "block");
}
function toggleNodeVisibility(Node){
if (nodeIsVisible(Node)){
hideNode(Node);
}else{
showNode(Node);
}
}
</script>
</head>
<body>
<div class="page-body">
<h2 class="class-name">Class Url</h2>
<a name="sec-description"></a>
<div class="info-box">
<div class="info-box-title">Description</div>
<div class="nav-bar">
<span class="disabled">Description</span> |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
</div>
<div class="info-box-body">
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">classe Url, gérant le découpage des paramètres, leurs modification etc...</p>
<p class="description"><p>Traduction et conversion d'une classe (NET_Url2) issue de Pear</p></p>
<ul class="tags">
<li><span class="field">author:</span> Jean-Pascal MILCENT <<a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a>></li>
<li><span class="field">author:</span> Christian Schmidt <<a href="mailto:schmidt@php.net">schmidt@php.net</a>></li>
<li><span class="field">author:</span> Aurélien PERONNET <<a href="mailto:aurelien@tela-botanica.org">aurelien@tela-botanica.org</a>></li>
<li><span class="field">version:</span> SVN: $Id: Url.php 150 2010-03-03 15:49:06Z jpm $</li>
<li><span class="field">copyright:</span> 2009 Tela-Botanica</li>
<li><span class="field">link:</span> /doc/framework/</li>
<li><span class="field">license:</span> <a href="http://www.gnu.org/licenses/gpl.html">Licence GNU-GPL</a></li>
<li><span class="field">license:</span> <a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL</a></li>
</ul>
<p class="notes">
Located in <a class="field" href="_Url.php.html">/Url.php</a> (line <span class="field"><a href="../__filesource/fsource_Framework__Url.php.html#a21">21</a></span>)
</p>
<pre></pre>
</div>
</div>
<a name="sec-const-summary"></a>
<div class="info-box">
<div class="info-box-title">Class Constant Summary</span></div>
<div class="nav-bar">
<a href="#sec-description">Description</a> |
<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
</div>
<div class="info-box-body">
<div class="const-summary">
<div class="const-title">
<img src="../media/images/Constant.png" alt=" " />
<a href="#OPTION_ENCODER_CLES" title="details" class="const-name">OPTION_ENCODER_CLES</a> = <span class="var-type"> 'encode_keys'</span>
</div>
<div class="const-title">
<img src="../media/images/Constant.png" alt=" " />
<a href="#OPTION_SEPARATEUR_ENTREE" title="details" class="const-name">OPTION_SEPARATEUR_ENTREE</a> = <span class="var-type"> 'input_separator'</span>
</div>
<div class="const-title">
<img src="../media/images/Constant.png" alt=" " />
<a href="#OPTION_SEPARATEUR_SORTIE" title="details" class="const-name">OPTION_SEPARATEUR_SORTIE</a> = <span class="var-type"> 'output_separator'</span>
</div>
<div class="const-title">
<img src="../media/images/Constant.png" alt=" " />
<a href="#OPTION_STRICTE" title="details" class="const-name">OPTION_STRICTE</a> = <span class="var-type"> 'strict'</span>
</div>
<div class="const-title">
<img src="../media/images/Constant.png" alt=" " />
<a href="#OPTION_UTILISER_CROCHETS" title="details" class="const-name">OPTION_UTILISER_CROCHETS</a> = <span class="var-type"> 'use_brackets'</span>
</div>
</div>
</div>
</div>
<a name="sec-method-summary"></a>
<div class="info-box">
<div class="info-box-title">Method Summary</span></div>
<div class="nav-bar">
<a href="#sec-description">Description</a> |
<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
</div>
<div class="info-box-body">
<div class="method-summary">
<div class="method-definition">
static <span class="method-result">string</span>
<a href="#getCanonique" title="details" class="method-name">getCanonique</a>
()
</div>
<div class="method-definition">
static <span class="method-result"><a href="../Framework/Url.html">Url</a></span>
<a href="#getDemande" title="details" class="method-name">getDemande</a>
()
</div>
<div class="method-definition">
static <span class="method-result">string</span>
<a href="#getURLDemande" title="details" class="method-name">getURLDemande</a>
()
</div>
<div class="method-definition">
<span class="method-result">Url</span>
<a href="#__construct" title="details" class="method-name">__construct</a>
(<span class="var-type">string</span> <span class="var-name">$url</span>, [<span class="var-type">array</span> <span class="var-name">$options</span> = <span class="var-default">null</span>])
</div>
<div class="method-definition">
<span class="method-result">bool</span>
<a href="#etreAbsolue" title="details" class="method-name">etreAbsolue</a>
()
</div>
<div class="method-definition">
<span class="method-result">string|bool</span>
<a href="#getAutorite" title="details" class="method-name">getAutorite</a>
()
</div>
<div class="method-definition">
<span class="method-result">string</span>
<a href="#getChemin" title="details" class="method-name">getChemin</a>
()
</div>
<div class="method-definition">
<span class="method-result">string|bool</span>
<a href="#getFragment" title="details" class="method-name">getFragment</a>
()
</div>
<div class="method-definition">
<span class="method-result">string|bool</span>
<a href="#getHote" title="details" class="method-name">getHote</a>
()
</div>
<div class="method-definition">
<span class="method-result">string|bool</span>
<a href="#getInfoUtilisateur" title="details" class="method-name">getInfoUtilisateur</a>
()
</div>
<div class="method-definition">
<span class="method-result">string|bool</span>
<a href="#getMotDePasse" title="details" class="method-name">getMotDePasse</a>
()
</div>
<div class="method-definition">
<span class="method-result">mixed</span>
<a href="#getOption" title="details" class="method-name">getOption</a>
(<span class="var-type">string</span> <span class="var-name">$nomOption</span>)
</div>
<div class="method-definition">
<span class="method-result">int|bool</span>
<a href="#getPort" title="details" class="method-name">getPort</a>
()
</div>
<div class="method-definition">
<span class="method-result">string|bool</span>
<a href="#getRequete" title="details" class="method-name">getRequete</a>
()
</div>
<div class="method-definition">
<span class="method-result">string|bool</span>
<a href="#getSchema" title="details" class="method-name">getSchema</a>
()
</div>
<div class="method-definition">
<span class="method-result">string</span>
<a href="#getURL" title="details" class="method-name">getURL</a>
()
</div>
<div class="method-definition">
<span class="method-result">string</span>
<a href="#getURLNormalisee" title="details" class="method-name">getURLNormalisee</a>
()
</div>
<div class="method-definition">
<span class="method-result">string|bool</span>
<a href="#getUtilisateur" title="details" class="method-name">getUtilisateur</a>
()
</div>
<div class="method-definition">
<span class="method-result">array</span>
<a href="#getVariablesRequete" title="details" class="method-name">getVariablesRequete</a>
()
</div>
<div class="method-definition">
<span class="method-result"><a href="../Framework/Url.html">Url</a></span>
<a href="#normaliser" title="details" class="method-name">normaliser</a>
()
</div>
<div class="method-definition">
<span class="method-result"><a href="../Framework/Url.html">Url</a></span>
<a href="#resoudre" title="details" class="method-name">resoudre</a>
(<span class="var-type"><a href="../Framework/Url.html">Url</a>|string</span> <span class="var-name">$reference</span>)
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#setAutorite" title="details" class="method-name">setAutorite</a>
(<span class="var-type">string|false</span> <span class="var-name">$autorite</span>)
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#setChemin" title="details" class="method-name">setChemin</a>
(<span class="var-type">string</span> <span class="var-name">$chemin</span>)
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#setFragment" title="details" class="method-name">setFragment</a>
(<span class="var-type">string|bool</span> <span class="var-name">$fragment</span>)
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#setHote" title="details" class="method-name">setHote</a>
(<span class="var-type">string|bool</span> <span class="var-name">$hote</span>)
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#setInfoUtilisateur" title="details" class="method-name">setInfoUtilisateur</a>
(<span class="var-type">string|bool</span> <span class="var-name">$infoUtilisateur</span>, [<span class="var-type">string|bool</span> <span class="var-name">$motDePasse</span> = <span class="var-default">false</span>])
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#setOption" title="details" class="method-name">setOption</a>
(<span class="var-type">string</span> <span class="var-name">$nomOption</span>, <span class="var-type">mixed</span> <span class="var-name">$valeur</span>)
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#setPort" title="details" class="method-name">setPort</a>
(<span class="var-type">int|bool</span> <span class="var-name">$port</span>)
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#setRequete" title="details" class="method-name">setRequete</a>
(<span class="var-type">string|bool</span> <span class="var-name">$requete</span>)
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#setSchema" title="details" class="method-name">setSchema</a>
(<span class="var-type">string|bool</span> <span class="var-name">$schema</span>)
</div>
<div class="method-definition">
<span class="method-result">array</span>
<a href="#setVariableRequete" title="details" class="method-name">setVariableRequete</a>
(<span class="var-type">string</span> <span class="var-name">$nom</span>, <span class="var-type">mixed</span> <span class="var-name">$valeur</span>)
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#setVariablesRequete" title="details" class="method-name">setVariablesRequete</a>
(<span class="var-type"></span> <span class="var-name">$tableau</span>)
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#unsetVariableRequete" title="details" class="method-name">unsetVariableRequete</a>
(<span class="var-type">string</span> <span class="var-name">$nom</span>)
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#__toString" title="details" class="method-name">__toString</a>
()
</div>
</div>
</div>
</div>
<a name="sec-methods"></a>
<div class="info-box">
<div class="info-box-title">Methods</div>
<div class="nav-bar">
<a href="#sec-description">Description</a> |
<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
</div>
<div class="info-box-body">
<A NAME='method_detail'></A>
<a name="methodgetCanonique" id="getCanonique"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">static getCanonique</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a678">678</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renvoie une instance de Url representant l'URL canonique du script PHP en cours d'éxécution</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
static <span class="method-result">string</span>
<span class="method-name">
getCanonique
</span>
()
</div>
</div>
<a name="methodgetDemande" id="getDemande"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">static getDemande</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a712">712</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renvoie une instance de Url representant l'URL utilisée pour récupérer la requête en cours</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
static <span class="method-result"><a href="../Framework/Url.html">Url</a></span>
<span class="method-name">
getDemande
</span>
()
</div>
</div>
<a name="methodgetURLDemande" id="getURLDemande"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">static getURLDemande</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a702">702</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renvoie l'URL utilisée pour récupérer la requête en cours</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
static <span class="method-result">string</span>
<span class="method-name">
getURLDemande
</span>
()
</div>
</div>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a102">102</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">Url</span>
<span class="method-name">
__construct
</span>
(<span class="var-type">string</span> <span class="var-name">$url</span>, [<span class="var-type">array</span> <span class="var-name">$options</span> = <span class="var-default">null</span>])
</div>
<ul class="parameters">
<li>
<span class="var-type">string</span>
<span class="var-name">$url</span><span class="var-description">: une URL relative ou absolue</span> </li>
<li>
<span class="var-type">array</span>
<span class="var-name">$options</span> </li>
</ul>
</div>
<a name="methodetreAbsolue" id="etreAbsolue"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">etreAbsolue</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a546">546</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renvoie vrai ou faux suivant que l'instance en cours représente une URL relative ou absolue.</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">bool</span>
<span class="method-name">
etreAbsolue
</span>
()
</div>
</div>
<a name="methodgetAutorite" id="getAutorite"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">getAutorite</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a248">248</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renvoie la partie autorité, i.e. [ infoUtilisateur "@" ] hote [ ":" port ], ou false si celle-ci est absente.</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">string|bool</span>
<span class="method-name">
getAutorite
</span>
()
</div>
</div>
<a name="methodgetChemin" id="getChemin"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">getChemin</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a295">295</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renvoie la partie chemin (chemin) (éventuellement vide).</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">string</span>
<span class="method-name">
getChemin
</span>
()
</div>
</div>
<a name="methodgetFragment" id="getFragment"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">getFragment</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a334">334</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renvoie le nom du fragment, ou false si "#" n'est pas present dans l'URL.</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">string|bool</span>
<span class="method-name">
getFragment
</span>
()
</div>
</div>
<a name="methodgetHote" id="getHote"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">getHote</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a210">210</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renvoie la partie hôte, ou false s'il n'y a pas de partie autorité, c.a.d.</p>
<p class="description"><p>l'URL est relative.</p></p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">string|bool</span>
<span class="method-name">
getHote
</span>
()
</div>
</div>
<a name="methodgetInfoUtilisateur" id="getInfoUtilisateur"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">getInfoUtilisateur</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a184">184</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renvoie la partie userinfio, ou false si celle-ci n'existe pas, i.e. si la partie autorité ne contient pas de "@"</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">string|bool</span>
<span class="method-name">
getInfoUtilisateur
</span>
()
</div>
</div>
<a name="methodgetMotDePasse" id="getMotDePasse"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">getMotDePasse</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a174">174</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">renvoie la partie mot de passe de la partie infoUtilisateur (partie après le premier ":"), , ou false si aucune partie infoUtilisateur n'est définie (i.e. l'URL ne contient pas de "@" en face du nom d'hôte) ou si la partie infoUtilisateur ne contient pas de ":".</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">string|bool</span>
<span class="method-name">
getMotDePasse
</span>
()
</div>
</div>
<a name="methodgetOption" id="getOption"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">getOption</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a751">751</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renvoie la valeur de l'option specifiée.</p>
<div class="method-signature">
<span class="method-result">mixed</span>
<span class="method-name">
getOption
</span>
(<span class="var-type">string</span> <span class="var-name">$nomOption</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type">string</span>
<span class="var-name">$nomOption</span><span class="var-description">: Nom de l'option demandée</span> </li>
</ul>
</div>
<a name="methodgetPort" id="getPort"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">getPort</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a229">229</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renvoie le numéro de port, ou false si aucun numéro de port n'est spécifié, i.e. le port par défaut doit utilisé.</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">int|bool</span>
<span class="method-name">
getPort
</span>
()
</div>
</div>
<a name="methodgetRequete" id="getRequete"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">getRequete</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a315">315</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">renvoie la chaine de requête (requete string) (sans le premier "?"), ou false si "?" n'est pas présent dans l'url.</p>
<ul class="tags">
<li><span class="field">see:</span> self::getVariablesRequete()</li>
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">string|bool</span>
<span class="method-name">
getRequete
</span>
()
</div>
</div>
<a name="methodgetSchema" id="getSchema"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">getSchema</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a143">143</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Retourne le schéma, c.a.d. "http" ou "urn", ou false si aucun schéma n'est spécifié, i.e. l'url est une url relative</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">string|bool</span>
<span class="method-name">
getSchema
</span>
()
</div>
</div>
<a name="methodgetURL" id="getURL"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">getURL</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a462">462</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renvoie un représentation sous forme de chaine de l'URL</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">string</span>
<span class="method-name">
getURL
</span>
()
</div>
</div>
<a name="methodgetURLNormalisee" id="getURLNormalisee"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">getURLNormalisee</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a493">493</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renvoie une représentation de cette URL sous forme de chaine normalisée. Utile pour la comparaison d'URLs</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">string</span>
<span class="method-name">
getURLNormalisee
</span>
()
</div>
</div>
<a name="methodgetUtilisateur" id="getUtilisateur"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">getUtilisateur</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a163">163</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">renvoie la partie user de la partie infoUtilisateur (partie précédant le premier ":"), ou false si aucune partie infoUtilisateur n'est définie.</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">string|bool</span>
<span class="method-name">
getUtilisateur
</span>
()
</div>
</div>
<a name="methodgetVariablesRequete" id="getVariablesRequete"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">getVariablesRequete</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a353">353</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renvoie la requete string sous forme d'un tableau de variables telles qu'elles apparaitraient dans le $_GET d'un script PHP</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">array</span>
<span class="method-name">
getVariablesRequete
</span>
()
</div>
</div>
<a name="methodnormaliser" id="normaliser"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">normaliser</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a504">504</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renvoie une instance normalisée de Url</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result"><a href="../Framework/Url.html">Url</a></span>
<span class="method-name">
normaliser
</span>
()
</div>
</div>
<a name="methodresoudre" id="resoudre"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">resoudre</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a558">558</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renvoie une instance de Url représentant une URL absolue relative à cette URL.</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result"><a href="../Framework/Url.html">Url</a></span>
<span class="method-name">
resoudre
</span>
(<span class="var-type"><a href="../Framework/Url.html">Url</a>|string</span> <span class="var-name">$reference</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type"><a href="../Framework/Url.html">Url</a>|string</span>
<span class="var-name">$reference</span><span class="var-description">: URL relative</span> </li>
</ul>
</div>
<a name="methodsetAutorite" id="setAutorite"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">setAutorite</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a273">273</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
setAutorite
</span>
(<span class="var-type">string|false</span> <span class="var-name">$autorite</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type">string|false</span>
<span class="var-name">$autorite</span> </li>
</ul>
</div>
<a name="methodsetChemin" id="setChemin"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">setChemin</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a304">304</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
setChemin
</span>
(<span class="var-type">string</span> <span class="var-name">$chemin</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type">string</span>
<span class="var-name">$chemin</span> </li>
</ul>
</div>
<a name="methodsetFragment" id="setFragment"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">setFragment</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a343">343</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
setFragment
</span>
(<span class="var-type">string|bool</span> <span class="var-name">$fragment</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type">string|bool</span>
<span class="var-name">$fragment</span> </li>
</ul>
</div>
<a name="methodsetHote" id="setHote"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">setHote</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a219">219</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
setHote
</span>
(<span class="var-type">string|bool</span> <span class="var-name">$hote</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type">string|bool</span>
<span class="var-name">$hote</span> </li>
</ul>
</div>
<a name="methodsetInfoUtilisateur" id="setInfoUtilisateur"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">setInfoUtilisateur</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a197">197</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Setteur pour la partie infoUtilisateur. Si deux argument sont passé, ils sont combinés dans la partie infoUtilisateur de cette manière username ":" password.</p>
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
setInfoUtilisateur
</span>
(<span class="var-type">string|bool</span> <span class="var-name">$infoUtilisateur</span>, [<span class="var-type">string|bool</span> <span class="var-name">$motDePasse</span> = <span class="var-default">false</span>])
</div>
<ul class="parameters">
<li>
<span class="var-type">string|bool</span>
<span class="var-name">$infoUtilisateur</span><span class="var-description">: infoUtilisateur ou username</span> </li>
<li>
<span class="var-type">string|bool</span>
<span class="var-name">$motDePasse</span> </li>
</ul>
</div>
<a name="methodsetOption" id="setOption"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">setOption</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a737">737</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Met à jour la valeur de l'option spécifiée.</p>
<ul class="tags">
<li><span class="field">see:</span> self::OPTION_ENCODER_CLES</li>
<li><span class="field">see:</span> self::OPTION_UTILISER_CROCHETS</li>
<li><span class="field">see:</span> self::OPTION_STRICTE</li>
</ul>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
setOption
</span>
(<span class="var-type">string</span> <span class="var-name">$nomOption</span>, <span class="var-type">mixed</span> <span class="var-name">$valeur</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type">string</span>
<span class="var-name">$nomOption</span><span class="var-description">: une des constantes commençant par self::OPTION_</span> </li>
<li>
<span class="var-type">mixed</span>
<span class="var-name">$valeur</span><span class="var-description">: valeur de l'option</span> </li>
</ul>
</div>
<a name="methodsetPort" id="setPort"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">setPort</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a238">238</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
setPort
</span>
(<span class="var-type">int|bool</span> <span class="var-name">$port</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type">int|bool</span>
<span class="var-name">$port</span> </li>
</ul>
</div>
<a name="methodsetRequete" id="setRequete"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">setRequete</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a325">325</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">see:</span> self::setVariablesRequete()</li>
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
setRequete
</span>
(<span class="var-type">string|bool</span> <span class="var-name">$requete</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type">string|bool</span>
<span class="var-name">$requete</span> </li>
</ul>
</div>
<a name="methodsetSchema" id="setSchema"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">setSchema</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a153">153</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">see:</span> <a href="../Framework/Url.html#methodgetSchema">Url::getSchema()</a></li>
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
setSchema
</span>
(<span class="var-type">string|bool</span> <span class="var-name">$schema</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type">string|bool</span>
<span class="var-name">$schema</span> </li>
</ul>
</div>
<a name="methodsetVariableRequete" id="setVariableRequete"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">setVariableRequete</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a440">440</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">array</span>
<span class="method-name">
setVariableRequete
</span>
(<span class="var-type">string</span> <span class="var-name">$nom</span>, <span class="var-type">mixed</span> <span class="var-name">$valeur</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type">string</span>
<span class="var-name">$nom</span> </li>
<li>
<span class="var-type">mixed</span>
<span class="var-name">$valeur</span> </li>
</ul>
</div>
<a name="methodsetVariablesRequete" id="setVariablesRequete"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">setVariablesRequete</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a408">408</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
setVariablesRequete
</span>
(<span class="var-type"></span> <span class="var-name">$tableau</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type">array</span>
<span class="var-name">$tableau</span><span class="var-description">: (nom => valeur) tableau</span> </li>
</ul>
</div>
<a name="methodunsetVariableRequete" id="unsetVariableRequete"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">unsetVariableRequete</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a451">451</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
unsetVariableRequete
</span>
(<span class="var-type">string</span> <span class="var-name">$nom</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type">string</span>
<span class="var-name">$nom</span> </li>
</ul>
</div>
<a name="method__toString" id="__toString"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">__toString</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a756">756</a></span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">access:</span> public</li>
</ul>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
__toString
</span>
()
</div>
</div>
</div>
</div>
<a name="sec-consts"></a>
<div class="info-box">
<div class="info-box-title">Class Constants</div>
<div class="nav-bar">
<a href="#sec-description">Description</a> |
<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
</div>
<div class="info-box-body">
<a name="constOPTION_ENCODER_CLES" id="OPTION_ENCODER_CLES"><!-- --></A>
<div class="evenrow">
<div class="const-header">
<img src="../media/images/Variable.png" />
<span class="const-title">
<span class="const-name">OPTION_ENCODER_CLES</span>
= <span class="const-default"> 'encode_keys'</span>
(line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a37">37</a></span>)
</span>
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">URL-encoder les clés des variables dans les requêtes. Par défaut à true.</p>
</div>
<a name="constOPTION_SEPARATEUR_ENTREE" id="OPTION_SEPARATEUR_ENTREE"><!-- --></A>
<div class="oddrow">
<div class="const-header">
<img src="../media/images/Variable.png" />
<span class="const-title">
<span class="const-name">OPTION_SEPARATEUR_ENTREE</span>
= <span class="const-default"> 'input_separator'</span>
(line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a44">44</a></span>)
</span>
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Séparateurs de variables lors du parsing de la requête. Chaque caractère est considéré comme un séparateur. Par défaut, spécifié par le paramêtre arg_separator.input dans php.ini (par défaut "&").</p>
</div>
<a name="constOPTION_SEPARATEUR_SORTIE" id="OPTION_SEPARATEUR_SORTIE"><!-- --></A>
<div class="evenrow">
<div class="const-header">
<img src="../media/images/Variable.png" />
<span class="const-title">
<span class="const-name">OPTION_SEPARATEUR_SORTIE</span>
= <span class="const-default"> 'output_separator'</span>
(line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a50">50</a></span>)
</span>
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Séparateur de variables lors de la génération de la requête. Par défaut, spécifié par le paramètre arg_separator.output dans php.ini (par défaut "&").</p>
</div>
<a name="constOPTION_STRICTE" id="OPTION_STRICTE"><!-- --></A>
<div class="oddrow">
<div class="const-header">
<img src="../media/images/Variable.png" />
<span class="const-title">
<span class="const-name">OPTION_STRICTE</span>
= <span class="const-default"> 'strict'</span>
(line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a27">27</a></span>)
</span>
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Parsing strict dans resoudre() (voir RFC 3986, section 5.2.2). Par défaut à true.</p>
</div>
<a name="constOPTION_UTILISER_CROCHETS" id="OPTION_UTILISER_CROCHETS"><!-- --></A>
<div class="evenrow">
<div class="const-header">
<img src="../media/images/Variable.png" />
<span class="const-title">
<span class="const-name">OPTION_UTILISER_CROCHETS</span>
= <span class="const-default"> 'use_brackets'</span>
(line <span class="line-number"><a href="../__filesource/fsource_Framework__Url.php.html#a32">32</a></span>)
</span>
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Répresenter les tableaux dans les requêtes en utilisant la notation php []. Par défaut à true.</p>
</div>
</div>
</div>
<p class="notes" id="credit">
Documentation generated on Thu, 04 Mar 2010 19:27:28 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>