Our source is open
The syntax highlighted source is automatically generated by PHP from
the plaintext script.
If you're interested in what's behind the several functions we
used, you can always take a look at the source of the following files:
Of course, if you want to see the source
of this page, we have it available.
You can also browse the SVN repository for this website on
svn.php.net.
Source of: /manual/en/function.oauth-urlencode.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.oauth.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'function.oauth-urlencode.php',
1 => 'oauth_urlencode',
),
'up' =>
array (
0 => 'ref.oauth.php',
1 => 'OAuth Functions',
),
'prev' =>
array (
0 => 'function.oauth_get_sbs.php',
1 => 'oauth_get_sbs',
),
'next' =>
array (
0 => 'class.oauth.php',
1 => 'OAuth',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="function.oauth-urlencode" class="refentry">
<div class="refnamediv">
<h1 class="refname">oauth_urlencode</h1>
<p class="verinfo">(PECL OAuth >=0.99.2)</p><p class="refpurpose"><span class="refname">oauth_urlencode</span> — <span class="dc-title">Encode a URI to RFC3686</span></p>
</div>
<a name="function.oauth-urlencode.description"></a><div class="refsect1 description">
<h3 class="title">Description</h3>
<div class="methodsynopsis dc-description">
<span class="type">string</span> <span class="methodname"><b>oauth_urlencode</b></span>
( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$uri</tt></span>
)</div>
<p class="para rdfs-comment">
Encodes a URI to <a href="http://www.faqs.org/rfcs/rfc3686" class="link external">» RFC3686</a>.
</p>
</div>
<a name="function.oauth-urlencode.parameters"></a><div class="refsect1 parameters">
<h3 class="title">Parameters</h3>
<p class="para">
</p><dl>
<dt class="varlistentry">
<span class="term"><i><tt class="parameter">uri</tt></i>
</span>
</dt><dd class="listitem">
<p class="para">
URI to encode.
</p>
</dd>
</dl>
<p>
</p>
</div>
<a name="function.oauth-urlencode.returnvalues"></a><div class="refsect1 returnvalues">
<h3 class="title">Return Values</h3>
<p class="para">
Returns an <a href="http://www.faqs.org/rfcs/rfc3686" class="link external">» RFC3686</a> encoded string.
</p>
</div>
</div><?php manual_footer(); ?>