Blame | Last modification | View Log | RSS feed
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Docs For Class Net_URL2</title>
<link rel="stylesheet" type="text/css" id="layout"
href="../media/layout.css" media="screen">
<link rel="stylesheet" type="text/css" href="../media/style.css"
media="all">
<link rel="stylesheet" type="text/css" href="../media/print.css"
media="print">
</head>
<body>
<div id="header">
<div id="navLinks">[ <a href="../classtrees_default.html">Class
Tree: default</a> ] [ <a href="../elementindex_default.html">Index:
default</a> ] [ <a href="../elementindex.html">All elements</a> ]</div>
<div id="packagePosition">
<div id="packageTitle2">default</div>
<div id="packageTitle">default</div>
<div id="elementPath">·</div>
</div>
</div>
<div id="nav" class="small">
<div id="packages">Packages:
<p><a href="../li_default.html">default</a></p>
<p><a href="../li_eFlore.html">eFlore</a></p>
</div>
<div id="index">
<div id="files">Files:<br>
<a href="../default/_controleurs---AdminAdministrateur.php.html">
AdminAdministrateur.php </a><br>
<a href="../default/_admin_administrateur.php.html">
admin_administrateur.php </a><br>
<a href="../default/_autoload.inc.php.html"> autoload.inc.php </a><br>
<a href="../default/_configuration---config.inc.php.html">
config.inc.php </a><br>
<a href="../default/_configuration---config_chemin.inc.php.html">
config_chemin.inc.php </a><br>
<a href="../default/_bibliotheque---Controleur.php.html">
Controleur.php </a><br>
<a href="../default/_bibliotheque---GestionnaireException.php.html">
GestionnaireException.php </a><br>
<a href="../default/_index.php.html"> index.php </a><br>
<a href="../default/_modeles---ListeAdmin.php.html"> ListeAdmin.php
</a><br>
<a href="../default/_bibliotheque---Modele.php.html"> Modele.php </a><br>
<a href="../default/_bibliotheque---Net_URL.php.html"> Net_URL.php </a><br>
<a href="../default/_bibliotheque---Net_URL2.php.html"> Net_URL2.php
</a><br>
<a href="../default/_bibliotheque---Registre.php.html"> Registre.php
</a><br>
</div>
<div id="interfaces"></div>
<div id="classes">Classes:<br>
<a href="../default/AdminAdministrateur.html"> AdminAdministrateur </a><br>
<a href="../default/Controleur.html"> Controleur </a><br>
<a href="../default/GestionnaireException.html">
GestionnaireException </a><br>
<a href="../default/listeAdmin.html"> listeAdmin </a><br>
<a href="../default/Modele.html"> Modele </a><br>
<a href="../default/Net_URL.html"> Net_URL </a><br>
<a href="../default/Net_URL2.html"> Net_URL2 </a><br>
<a href="../default/Registre.html"> Registre </a><br>
</div>
</div>
</div>
<div id="body">
<h1>Class: Net_URL2</h1>
<p style="margin: 0px;">Source Location: /bibliotheque/Net_URL2.php</p>
<div class="leftcol">
<h3><a href="#class_details">Class Overview</a> <span
class="smalllinenumber">[line 43]</span></h3>
<div id="classTree"><pre></pre></div>
<div class="small">
<p></p>
<h4>Author(s):</h4>
<ul>
</ul>
<h4>Version:</h4>
<ul>
</ul>
<h4>Copyright:</h4>
<ul>
</li>
</div>
</div>
<div class="middlecol">
<h3><a href="#class_vars">Variables</a></h3>
<ul class="small">
</ul>
<h3><a href="#class_consts">Constants</a></h3>
<ul class="small">
<li><a href="../default/Net_URL2.html#constOPTION_ENCODE_KEYS">OPTION_ENCODE_KEYS</a></li>
<li><a href="../default/Net_URL2.html#constOPTION_SEPARATOR_INPUT">OPTION_SEPARATOR_INPUT</a></li>
<li><a
href="../default/Net_URL2.html#constOPTION_SEPARATOR_OUTPUT">OPTION_SEPARATOR_OUTPUT</a></li>
<li><a href="../default/Net_URL2.html#constOPTION_STRICT">OPTION_STRICT</a></li>
<li><a href="../default/Net_URL2.html#constOPTION_USE_BRACKETS">OPTION_USE_BRACKETS</a></li>
</ul>
</div>
<div class="rightcol">
<h3><a href="#class_methods">Methods</a></h3>
<ul class="small">
<li><a href="../default/Net_URL2.html#method__construct">__construct</a></li>
<li><a href="../default/Net_URL2.html#methodgetAuthority">getAuthority</a></li>
<li><a href="../default/Net_URL2.html#methodgetCanonical">getCanonical</a></li>
<li><a href="../default/Net_URL2.html#methodgetFragment">getFragment</a></li>
<li><a href="../default/Net_URL2.html#methodgetHost">getHost</a></li>
<li><a href="../default/Net_URL2.html#methodgetNormalizedURL">getNormalizedURL</a></li>
<li><a href="../default/Net_URL2.html#methodgetOption">getOption</a></li>
<li><a href="../default/Net_URL2.html#methodgetPassword">getPassword</a></li>
<li><a href="../default/Net_URL2.html#methodgetPath">getPath</a></li>
<li><a href="../default/Net_URL2.html#methodgetPort">getPort</a></li>
<li><a href="../default/Net_URL2.html#methodgetQuery">getQuery</a></li>
<li><a href="../default/Net_URL2.html#methodgetQueryVariables">getQueryVariables</a></li>
<li><a href="../default/Net_URL2.html#methodgetRequested">getRequested</a></li>
<li><a href="../default/Net_URL2.html#methodgetRequestedURL">getRequestedURL</a></li>
<li><a href="../default/Net_URL2.html#methodgetScheme">getScheme</a></li>
<li><a href="../default/Net_URL2.html#methodgetURL">getURL</a></li>
<li><a href="../default/Net_URL2.html#methodgetUser">getUser</a></li>
<li><a href="../default/Net_URL2.html#methodgetUserinfo">getUserinfo</a></li>
<li><a href="../default/Net_URL2.html#methodisAbsolute">isAbsolute</a></li>
<li><a href="../default/Net_URL2.html#methodnormalize">normalize</a></li>
<li><a href="../default/Net_URL2.html#methodresolve">resolve</a></li>
<li><a href="../default/Net_URL2.html#methodsetAuthority">setAuthority</a></li>
<li><a href="../default/Net_URL2.html#methodsetFragment">setFragment</a></li>
<li><a href="../default/Net_URL2.html#methodsetHost">setHost</a></li>
<li><a href="../default/Net_URL2.html#methodsetOption">setOption</a></li>
<li><a href="../default/Net_URL2.html#methodsetPath">setPath</a></li>
<li><a href="../default/Net_URL2.html#methodsetPort">setPort</a></li>
<li><a href="../default/Net_URL2.html#methodsetQuery">setQuery</a></li>
<li><a href="../default/Net_URL2.html#methodsetQueryVariable">setQueryVariable</a></li>
<li><a href="../default/Net_URL2.html#methodsetQueryVariables">setQueryVariables</a></li>
<li><a href="../default/Net_URL2.html#methodsetScheme">setScheme</a></li>
<li><a href="../default/Net_URL2.html#methodsetUserinfo">setUserinfo</a></li>
<li><a href="../default/Net_URL2.html#methodunsetQueryVariable">unsetQueryVariable</a></li>
<li><a href="../default/Net_URL2.html#method__toString">__toString</a></li>
</ul>
</div>
<div id="content">
<hr>
<div class="contents"></div>
<div class="leftCol">
<h2>Inherited Variables</h2>
<h2>Inherited Constants</h2>
</div>
<div class="rightCol">
<h2>Inherited Methods</h2>
</div>
<br clear="all">
<hr>
<a name="class_details"></a>
<h2>Class Details</h2>
<h4>Tags:</h4>
<ul>
<li><b>license</b> - BSD</li>
</ul>
<p class="small" style="color: #334B66;">[ <a href="#top">Top</a> ]</p>
<hr>
<a name="class_vars"></a>
<h2>Class Variables</h2>
<hr>
<a name="class_methods"></a>
<h2>Class Methods</h2>
<a name="methodgetCanonical"></a>
<p></p>
<h3>static getCanonical</h3>
<div class="indent">
<p><code>static string getCanonical( )</code></p>
<p class="linenumber">[line 731]</p>
<p align="center"><strong>Returns a Net_URL2 instance
representing the canonical URL of the currently executing PHP script. </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodgetRequested"></a>
<p></p>
<h3>static getRequested</h3>
<div class="indent">
<p><code>static <a href="../default/Net_URL2.html">Net_URL2</a>
getRequested( )</code></p>
<p class="linenumber">[line 767]</p>
<p align="center"><strong>Returns a Net_URL2 instance
representing the URL used to retrieve the current request. </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodgetRequestedURL"></a>
<p></p>
<h3>static getRequestedURL</h3>
<div class="indent">
<p><code>static string getRequestedURL( )</code></p>
<p class="linenumber">[line 756]</p>
<p align="center"><strong>Returns the URL used to retrieve
the current request. </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="method__construct"></a>
<p></p>
<h3>__construct</h3>
<div class="indent">
<p><code>Net_URL2 __construct( string $url, [array $options =
null])</code></p>
<p class="linenumber">[line 125]</p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
<li><span class="type">string</span> <b>$url</b> - an absolute or
relative URL</li>
<li><span class="type">array</span> <b>$options</b> -</li>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodgetAuthority"></a>
<p></p>
<h3>getAuthority</h3>
<div class="indent">
<p><code>string|bool getAuthority( )</code></p>
<p class="linenumber">[line 283]</p>
<p align="center"><strong>Returns the authority part, i.e.
[ userinfo "@" ] host [ ":" port ], or false if
there is no authority none. </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodgetFragment"></a>
<p></p>
<h3>getFragment</h3>
<div class="indent">
<p><code>string|bool getFragment( )</code></p>
<p class="linenumber">[line 375]</p>
<p align="center"><strong>Returns the fragment name, or
false if "#" isn't present in the URL. </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodgetHost"></a>
<p></p>
<h3>getHost</h3>
<div class="indent">
<p><code>string|bool getHost( )</code></p>
<p class="linenumber">[line 241]</p>
<p align="center"><strong>Returns the host part, or false
if there is no authority part, e.g. </strong></p>
<p>relative URLs.</p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodgetNormalizedURL"></a>
<p></p>
<h3>getNormalizedURL</h3>
<div class="indent">
<p><code>string getNormalizedURL( )</code></p>
<p class="linenumber">[line 541]</p>
<p align="center"><strong>Returns a normalized string
representation of this URL. This is useful for comparison of URLs. </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodgetOption"></a>
<p></p>
<h3>getOption</h3>
<div class="indent">
<p><code>mixed getOption( string $optionName)</code></p>
<p class="linenumber">[line 808]</p>
<p align="center"><strong>Returns the value of the
specified option. </strong></p>
<h4>Parameters:</h4>
<ul>
<li><span class="type">string</span> <b>$optionName</b> - The name
of the option to retrieve</li>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodgetPassword"></a>
<p></p>
<h3>getPassword</h3>
<div class="indent">
<p><code>string|bool getPassword( )</code></p>
<p class="linenumber">[line 202]</p>
<p align="center"><strong>Returns the password part of the
userinfo part (the part after the first ":"), or false if
there is no userinfo part (i.e. the URL does not contain "@"
in front of the hostname) or the userinfo part does not contain
":". </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodgetPath"></a>
<p></p>
<h3>getPath</h3>
<div class="indent">
<p><code>string getPath( )</code></p>
<p class="linenumber">[line 332]</p>
<p align="center"><strong>Returns the path part (possibly
an empty string). </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodgetPort"></a>
<p></p>
<h3>getPort</h3>
<div class="indent">
<p><code>int|bool getPort( )</code></p>
<p class="linenumber">[line 262]</p>
<p align="center"><strong>Returns the port number, or false
if there is no port number specified, i.e. if the default port is to be
used. </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodgetQuery"></a>
<p></p>
<h3>getQuery</h3>
<div class="indent">
<p><code>string|bool getQuery( )</code></p>
<p class="linenumber">[line 354]</p>
<p align="center"><strong>Returns the query string
(excluding the leading "?"), or false if "?" isn't
present in the URL. </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>see</b> - self::getQueryVariables()</li>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodgetQueryVariables"></a>
<p></p>
<h3>getQueryVariables</h3>
<div class="indent">
<p><code>array getQueryVariables( )</code></p>
<p class="linenumber">[line 396]</p>
<p align="center"><strong>Returns the query string like an
array as the variables would appear in $_GET in a PHP script. </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodgetScheme"></a>
<p></p>
<h3>getScheme</h3>
<div class="indent">
<p><code>string|bool getScheme( )</code></p>
<p class="linenumber">[line 167]</p>
<p align="center"><strong>Returns the scheme, e.g.
"http" or "urn", or false if there is no scheme
specified, i.e. if this is a relative URL. </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodgetURL"></a>
<p></p>
<h3>getURL</h3>
<div class="indent">
<p><code>string getURL( )</code></p>
<p class="linenumber">[line 509]</p>
<p align="center"><strong>Returns a string representation
of this URL. </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodgetUser"></a>
<p></p>
<h3>getUser</h3>
<div class="indent">
<p><code>string|bool getUser( )</code></p>
<p class="linenumber">[line 189]</p>
<p align="center"><strong>Returns the user part of the
userinfo part (the part preceding the first ":"), or false if
there is no userinfo part. </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodgetUserinfo"></a>
<p></p>
<h3>getUserinfo</h3>
<div class="indent">
<p><code>string|bool getUserinfo( )</code></p>
<p class="linenumber">[line 213]</p>
<p align="center"><strong>Returns the userinfo part, or
false if there is none, i.e. if the authority part does not contain
"@". </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodisAbsolute"></a>
<p></p>
<h3>isAbsolute</h3>
<div class="indent">
<p><code>bool isAbsolute( )</code></p>
<p class="linenumber">[line 596]</p>
<p align="center"><strong>Returns whether this instance
represents an absolute URL. </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodnormalize"></a>
<p></p>
<h3>normalize</h3>
<div class="indent">
<p><code><a href="../default/Net_URL2.html">Net_URL2</a>
normalize( )</code></p>
<p class="linenumber">[line 553]</p>
<p align="center"><strong>Returns a normalized Net_URL2
instance. </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodresolve"></a>
<p></p>
<h3>resolve</h3>
<div class="indent">
<p><code><a href="../default/Net_URL2.html">Net_URL2</a>
resolve( <a href="../default/Net_URL2.html">Net_URL2</a>|string
$reference)</code></p>
<p class="linenumber">[line 609]</p>
<p align="center"><strong>Returns an Net_URL2 instance
representing an absolute URL relative to this URL. </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
<li><span class="type"><a href="../default/Net_URL2.html">Net_URL2</a>|string</span>
<b>$reference</b> - relative URL</li>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodsetAuthority"></a>
<p></p>
<h3>setAuthority</h3>
<div class="indent">
<p><code>void setAuthority( string|false $authority)</code></p>
<p class="linenumber">[line 309]</p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
<li><span class="type">string|false</span> <b>$authority</b> -</li>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodsetFragment"></a>
<p></p>
<h3>setFragment</h3>
<div class="indent">
<p><code>void setFragment( string|bool $fragment)</code></p>
<p class="linenumber">[line 385]</p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
<li><span class="type">string|bool</span> <b>$fragment</b> -</li>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodsetHost"></a>
<p></p>
<h3>setHost</h3>
<div class="indent">
<p><code>void setHost( string|bool $host)</code></p>
<p class="linenumber">[line 251]</p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
<li><span class="type">string|bool</span> <b>$host</b> -</li>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodsetOption"></a>
<p></p>
<h3>setOption</h3>
<div class="indent">
<p><code>void setOption( string $optionName, mixed $value)</code></p>
<p class="linenumber">[line 793]</p>
<p align="center"><strong>Sets the specified option. </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>see</b> - self::OPTION_ENCODE_KEYS</li>
<li><b>see</b> - self::OPTION_USE_BRACKETS</li>
<li><b>see</b> - self::OPTION_STRICT</li>
</ul>
<h4>Parameters:</h4>
<ul>
<li><span class="type">string</span> <b>$optionName</b> - a
self::OPTION_ constant</li>
<li><span class="type">mixed</span> <b>$value</b> - option value</li>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodsetPath"></a>
<p></p>
<h3>setPath</h3>
<div class="indent">
<p><code>void setPath( string $path)</code></p>
<p class="linenumber">[line 342]</p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
<li><span class="type">string</span> <b>$path</b> -</li>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodsetPort"></a>
<p></p>
<h3>setPort</h3>
<div class="indent">
<p><code>void setPort( int|bool $port)</code></p>
<p class="linenumber">[line 272]</p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
<li><span class="type">int|bool</span> <b>$port</b> -</li>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodsetQuery"></a>
<p></p>
<h3>setQuery</h3>
<div class="indent">
<p><code>void setQuery( string|bool $query)</code></p>
<p class="linenumber">[line 365]</p>
<h4>Tags:</h4>
<ul>
<li><b>see</b> - self::setQueryVariables()</li>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
<li><span class="type">string|bool</span> <b>$query</b> -</li>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodsetQueryVariable"></a>
<p></p>
<h3>setQueryVariable</h3>
<div class="indent">
<p><code>array setQueryVariable( string $name, mixed $value)</code>
</p>
<p class="linenumber">[line 485]</p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
<li><span class="type">string</span> <b>$name</b> -</li>
<li><span class="type">mixed</span> <b>$value</b> -</li>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodsetQueryVariables"></a>
<p></p>
<h3>setQueryVariables</h3>
<div class="indent">
<p><code>void setQueryVariables( $array)</code></p>
<p class="linenumber">[line 452]</p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
<li><span class="type">array</span> <b>$array</b> - (name =>
value) array</li>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodsetScheme"></a>
<p></p>
<h3>setScheme</h3>
<div class="indent">
<p><code>void setScheme( string|bool $scheme)</code></p>
<p class="linenumber">[line 178]</p>
<h4>Tags:</h4>
<ul>
<li><b>see</b> - <a
href="../default/Net_URL2.html#methodgetScheme">Net_URL2::getScheme()</a></li>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
<li><span class="type">string|bool</span> <b>$scheme</b> -</li>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodsetUserinfo"></a>
<p></p>
<h3>setUserinfo</h3>
<div class="indent">
<p><code>void setUserinfo( string|bool $userinfo,
[string|bool $password = false])</code></p>
<p class="linenumber">[line 227]</p>
<p align="center"><strong>Sets the userinfo part. If two
arguments are passed, they are combined in the userinfo part as username
":" password. </strong></p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
<li><span class="type">string|bool</span> <b>$userinfo</b> -
userinfo or username</li>
<li><span class="type">string|bool</span> <b>$password</b> -</li>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="methodunsetQueryVariable"></a>
<p></p>
<h3>unsetQueryVariable</h3>
<div class="indent">
<p><code>void unsetQueryVariable( string $name)</code></p>
<p class="linenumber">[line 497]</p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
<li><span class="type">string</span> <b>$name</b> -</li>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="method__toString"></a>
<p></p>
<h3>__toString</h3>
<div class="indent">
<p><code>void __toString( )</code></p>
<p class="linenumber">[line 814]</p>
<h4>Tags:</h4>
<ul>
<li><b>access</b> - public</li>
</ul>
<h4>Parameters:</h4>
<ul>
</ul>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<hr>
<a name="class_consts"></a>
<h2>Class Constants</h2>
<a name="constOPTION_ENCODE_KEYS"></a>
<p></p>
<h4>OPTION_ENCODE_KEYS = <span class="value"> 'encode_keys'</span></h4>
<div class="indent">
<p class="linenumber">[line 59]</p>
<p align="center"><strong>URL-encode query variable keys.
Default is true. </strong></p>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="constOPTION_SEPARATOR_INPUT"></a>
<p></p>
<h4>OPTION_SEPARATOR_INPUT = <span class="value"> 'input_separator'</span></h4>
<div class="indent">
<p class="linenumber">[line 66]</p>
<p align="center"><strong>Query variable separators when
parsing the query string. Every character is considered a separator.
Default is specified by the arg_separator.input php.ini setting (this
defaults to "&"). </strong></p>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="constOPTION_SEPARATOR_OUTPUT"></a>
<p></p>
<h4>OPTION_SEPARATOR_OUTPUT = <span class="value"> 'output_separator'</span></h4>
<div class="indent">
<p class="linenumber">[line 73]</p>
<p align="center"><strong>Query variable separator used
when generating the query string. Default is specified by the
arg_separator.output php.ini setting (this defaults to
"&"). </strong></p>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="constOPTION_STRICT"></a>
<p></p>
<h4>OPTION_STRICT = <span class="value"> 'strict'</span></h4>
<div class="indent">
<p class="linenumber">[line 49]</p>
<p align="center"><strong>Do strict parsing in resolve()
(see RFC 3986, section 5.2.2). Default is true. </strong></p>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
<a name="constOPTION_USE_BRACKETS"></a>
<p></p>
<h4>OPTION_USE_BRACKETS = <span class="value"> 'use_brackets'</span></h4>
<div class="indent">
<p class="linenumber">[line 54]</p>
<p align="center"><strong>Represent arrays in query using
PHP's [] notation. Default is true. </strong></p>
</div>
<p class="top">[ <a href="#top">Top</a> ]</p>
</div>
<div id="credit">
<hr>
Documentation generated on Thu, 02 Apr 2009 10:23:02 +0200 by <a
href="http://www.phpdoc.org">phpDocumentor 1.4.1</a></div>
</div>
</body>
</html>