reference/imagick/imagick/clone.xml
65c4446ab35754d2f3cd8abec11302650a150bf9
...
...
@@ -9,7 +9,7 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>Imagick</type><methodname>Imagick::clone</methodname>
12
+
<modifier>public</modifier> <type>Imagick</type><methodname>Imagick::clone</methodname>
13
13
<void/>
14
14
</methodsynopsis>
15
15
<para>
...
...
@@ -24,24 +24,9 @@
24
24
</warning>
25
25
</refsect1>
26
26

27
-
<refsect1 role="examples">
28
-
&reftitle.examples;
29
-
<para>
30
-
<example>
31
-
<title>Imagick object cloning in different versions of imagick</title>
32
-
<programlisting role="php">
33
-
<![CDATA[
34
-
<?php
35
-
// Cloning an Imagick object in imagick 2.x and 3.0:
36
-
$newImage = $image->clone();
37
-

38
-
// Cloning an Imagick object from 3.1.0 on:
39
-
$newImage = clone $image;
40
-
?>
41
-
]]>
42
-
</programlisting>
43
-
</example>
44
-
</para>
27
+
<refsect1 role="parameters">
28
+
&reftitle.parameters;
29
+
&no.function.parameters;
45
30
</refsect1>
46
31

47
32
<refsect1 role="returnvalues">
...
...
@@ -64,7 +49,7 @@ $newImage = clone $image;
64
49
</thead>
65
50
<tbody>
66
51
<row>
67
-
<entry>3.1.0</entry>
52
+
<entry>PECL imagick 3.1.0</entry>
68
53
<entry>
69
54
The method was deprecated in favour of the
70
55
<link linkend="language.oop5.cloning">clone</link> keyword.
...
...
@@ -76,6 +61,26 @@ $newImage = clone $image;
76
61
</para>
77
62
</refsect1>
78
63

64
+
<refsect1 role="examples">
65
+
&reftitle.examples;
66
+
<para>
67
+
<example>
68
+
<title>Imagick object cloning in different versions of imagick</title>
69
+
<programlisting role="php">
70
+
<![CDATA[
71
+
<?php
72
+
// Cloning an Imagick object in imagick 2.x and 3.0:
73
+
$newImage = $image->clone();
74
+

75
+
// Cloning an Imagick object from 3.1.0 on:
76
+
$newImage = clone $image;
77
+
?>
78
+
]]>
79
+
</programlisting>
80
+
</example>
81
+
</para>
82
+
</refsect1>
83
+

79
84
</refentry>
80
85

81
86
<!-- Keep this comment at the end of the file
82
87