reference/curl/curlstringfile/construct.xml
5017547fee4dd0873d2ced02e2bb90b696f26a24
...
...
@@ -7,11 +7,11 @@
7
7

8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
-
<constructorsynopsis>
10
+
<constructorsynopsis role="CURLStringFile">
11
11
<modifier>public</modifier> <methodname>CURLStringFile::__construct</methodname>
12
12
<methodparam><type>string</type><parameter>data</parameter></methodparam>
13
13
<methodparam><type>string</type><parameter>postname</parameter></methodparam>
14
-
<methodparam><type>string</type><parameter>mime</parameter><initializer>"application/octet-stream"</initializer></methodparam>
14
+
<methodparam choice="opt"><type>string</type><parameter>mime</parameter><initializer>"application/octet-stream"</initializer></methodparam>
15
15
</constructorsynopsis>
16
16
<para>
17
17
Creates a <classname>CURLStringFile</classname> object, used to upload a file with <constant>CURLOPT_POSTFIELDS</constant>.
...
...
@@ -48,13 +48,6 @@
48
48
</variablelist>
49
49
</refsect1>
50
50

51
-
<refsect1 role="returnvalues">
52
-
&reftitle.returnvalues;
53
-
<para>
54
-
Returns a <classname>CURLStringFile</classname> object.
55
-
</para>
56
-
</refsect1>
57
-

58
51
<refsect1 role="examples">
59
52
&reftitle.examples;
60
53
<example>
61
54