language/predefined/generator.xml
14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<phpdoc:classref xml:id="class.generator" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
5
4

6
5
<title>The Generator class</title>
...
...
@@ -12,8 +11,7 @@
12
11
<section xml:id="generator.intro">
13
12
&reftitle.intro;
14
13
<para>
15
-
<classname>Generator</classname> objects are returned from <link
16
-
linkend="language.generators">generators</link>.
14
+
<classname>Generator</classname> objects are returned from <link linkend="language.generators">generators</link>.
17
15
</para>
18
16
19
17
<caution>
...
...
@@ -30,28 +28,31 @@
30
28
&reftitle.classsynopsis;
31
29

32
30
<!-- {{{ Synopsis -->
33
-
<classsynopsis>
34
-
<ooclass><classname>Generator</classname></ooclass>
35
-

36
-
<!-- {{{ Class synopsis -->
37
-
<classsynopsisinfo>
38
-
<ooclass>
39
-
<classname>Generator</classname>
40
-
</ooclass>
31
+
<classsynopsis class="class">
32
+
<ooclass>
33
+
<modifier>final</modifier>
34
+
<classname>Generator</classname>
35
+
</ooclass>
41
36

42
-
<oointerface>
43
-
<interfacename>Iterator</interfacename>
44
-
</oointerface>
45
-
</classsynopsisinfo>
46
-
<!-- }}} -->
37
+
<oointerface>
38
+
<modifier>implements</modifier>
39
+
<interfacename>Iterator</interfacename>
40
+
</oointerface>
47
41

48
42
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
49
-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.generator')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
43
+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.generator')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Generator'])">
44
+
<xi:fallback/>
45
+
</xi:include>
50
46
</classsynopsis>
51
47
<!-- }}} -->
52
48

53
49
</section>
54
50

51
+
<section xml:id="generator.seealso">
52
+
&reftitle.seealso;
53
+
<para>See also <link linkend="language.oop5.iterations">object iteration</link>.</para>
54
+
</section>
55
+

55
56
</partintro>
56
57

57
58
&language.predefined.generator.current;
...
...
@@ -65,7 +66,6 @@
65
66
&language.predefined.generator.wakeup;
66
67

67
68
</phpdoc:classref>
68
-

69
69
<!-- Keep this comment at the end of the file
70
70
Local variables:
71
71
mode: sgml
72
72