reference/spl/arrayiterator/rewind.xml
d51166ca16fda8e766849505b84f9306ef443f71
...
...
@@ -1,4 +1,4 @@
1
-
<?xml version='1.0' encoding="utf-8"?>
1
+
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
3
<refentry xml:id="arrayiterator.rewind" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
...
...
@@ -8,8 +8,8 @@
8
8

9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
-
<methodsynopsis>
12
-
<type>void</type><methodname>ArrayIterator::rewind</methodname>
11
+
<methodsynopsis role="ArrayIterator">
12
+
<modifier>public</modifier> <type>void</type><methodname>ArrayIterator::rewind</methodname>
13
13
<void/>
14
14
</methodsynopsis>
15
15
<para>
...
...
@@ -48,7 +48,7 @@ $iterator = $arrayobject->getIterator();
48
48
$iterator->next();
49
49
echo $iterator->key(); //1
50
50

51
-
$iterator->rewind(); //rewinding to the begining
51
+
$iterator->rewind(); //rewinding to the beginning
52
52
echo $iterator->key(); //0
53
53
?>
54
54
]]>
...
...
@@ -57,7 +57,6 @@ echo $iterator->key(); //0
57
57
</para>
58
58
</refsect1>
59
59
</refentry>
60
-

61
60
<!-- Keep this comment at the end of the file
62
61
Local variables:
63
62
mode: sgml
64
63