reference/curl/functions/curl-escape.xml
b7f8c11e56ff1c57a2993e2ed7e5c5ace18637fd
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="function.curl-escape" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>curl_escape</refname>
...
...
@@ -10,9 +9,9 @@
10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
11
<methodsynopsis>
13
-
<type>string</type><methodname>curl_escape</methodname>
14
-
<methodparam><type>resource</type><parameter>ch</parameter></methodparam>
15
-
<methodparam><type>string</type><parameter>str</parameter></methodparam>
12
+
<type class="union"><type>string</type><type>false</type></type><methodname>curl_escape</methodname>
13
+
<methodparam><type>CurlHandle</type><parameter>handle</parameter></methodparam>
14
+
<methodparam><type>string</type><parameter>string</parameter></methodparam>
16
15
</methodsynopsis>
17
16
<para>
18
17
This function URL encodes the given string according to <link xlink:href="&url.rfc;3986">RFC 3986</link>.
...
...
@@ -25,7 +24,7 @@
25
24
<variablelist>
26
25
&curl.ch.description;
27
26
<varlistentry>
28
-
<term><parameter>str</parameter></term>
27
+
<term><parameter>string</parameter></term>
29
28
<listitem>
30
29
<para>
31
30
The string to be encoded.
...
...
@@ -42,6 +41,23 @@
42
41
</para>
43
42
</refsect1>
44
43

44
+
<refsect1 role="changelog">
45
+
&reftitle.changelog;
46
+
<informaltable>
47
+
<tgroup cols="2">
48
+
<thead>
49
+
<row>
50
+
<entry>&Version;</entry>
51
+
<entry>&Description;</entry>
52
+
</row>
53
+
</thead>
54
+
<tbody>
55
+
&curl.changelog.handle-param;
56
+
</tbody>
57
+
</tgroup>
58
+
</informaltable>
59
+
</refsect1>
60
+

45
61
<refsect1 role="examples">
46
62
&reftitle.examples;
47
63
<para>
...
...
@@ -86,7 +102,6 @@ curl_close($ch);
86
102
</refsect1>
87
103

88
104
</refentry>
89
-

90
105
<!-- Keep this comment at the end of the file
91
106
Local variables:
92
107
mode: sgml
93
108