reference/image/functions/image-type-to-extension.xml
0c9c2dd669fe9395eaa73d487fbd160f9057429a
...
...
@@ -8,8 +8,8 @@
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
-
<type>string</type><methodname>image_type_to_extension</methodname>
12
-
<methodparam><type>int</type><parameter>imagetype</parameter></methodparam>
11
+
<type class="union"><type>string</type><type>false</type></type><methodname>image_type_to_extension</methodname>
12
+
<methodparam><type>int</type><parameter>image_type</parameter></methodparam>
13
13
<methodparam choice="opt"><type>bool</type><parameter>include_dot</parameter><initializer>&true;</initializer></methodparam>
14
14
</methodsynopsis>
15
15
<para>
...
...
@@ -22,7 +22,7 @@
22
22
<para>
23
23
<variablelist>
24
24
<varlistentry>
25
-
<term><parameter>imagetype</parameter></term>
25
+
<term><parameter>image_type</parameter></term>
26
26
<listitem>
27
27
<para>
28
28
One of the <literal>IMAGETYPE_XXX</literal> constant.
...
...
@@ -44,7 +44,7 @@
44
44
<refsect1 role="returnvalues">
45
45
&reftitle.returnvalues;
46
46
<para>
47
-
A string with the extension corresponding to the given image type.
47
+
A string with the extension corresponding to the given image type, &return.falseforfailure;.
48
48
</para>
49
49
</refsect1>
50
50

...
...
@@ -75,7 +75,6 @@ imagedestroy($im);
75
75
</refsect1>
76
76
77
77
</refentry>
78
-

79
78
<!-- Keep this comment at the end of the file
80
79
Local variables:
81
80
mode: sgml
82
81