reference/spl/splfileobject.xml
14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60
...
...
@@ -1,7 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
-
<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.splfileobject" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
3
+
<phpdoc:classref xml:id="class.splfileobject" 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 SplFileObject class</title>
7
6
<titleabbrev>SplFileObject</titleabbrev>
...
...
@@ -12,7 +11,7 @@
12
11
<section xml:id="splfileobject.intro">
13
12
&reftitle.intro;
14
13
<para>
15
-
The SplFileObject class offers an object oriented interface for a file.
14
+
The SplFileObject class offers an object-oriented interface for a file.
16
15
</para>
17
16
</section>
18
17
<!-- }}} -->
...
...
@@ -21,61 +20,63 @@
21
20
&reftitle.classsynopsis;
22
21

23
22
<!-- {{{ Synopsis -->
24
-
<classsynopsis>
25
-
<ooclass><classname>SplFileObject</classname></ooclass>
26
-

27
-
<!-- {{{ Class synopsis -->
28
-
<classsynopsisinfo>
29
-
<ooclass>
30
-
<classname>SplFileObject</classname>
31
-
</ooclass>
32
-
33
-
<ooclass>
34
-
<modifier>extends</modifier>
35
-
<classname>SplFileInfo</classname>
36
-
</ooclass>
37
-
38
-
<oointerface>
39
-
<interfacename>RecursiveIterator</interfacename>
40
-
</oointerface>
41
-

42
-
<oointerface>
43
-
<interfacename>SeekableIterator</interfacename>
44
-
</oointerface>
45
-
</classsynopsisinfo>
46
-
<!-- }}} -->
23
+
<classsynopsis class="class">
24
+
<ooclass>
25
+
<classname>SplFileObject</classname>
26
+
</ooclass>
27
+

28
+
<ooclass>
29
+
<modifier>extends</modifier>
30
+
<classname>SplFileInfo</classname>
31
+
</ooclass>
32
+

33
+
<oointerface>
34
+
<modifier>implements</modifier>
35
+
<interfacename>RecursiveIterator</interfacename>
36
+
</oointerface>
37
+

38
+
<oointerface>
39
+
<interfacename>SeekableIterator</interfacename>
40
+
</oointerface>
41
+

47
42
<classsynopsisinfo role="comment">&Constants;</classsynopsisinfo>
48
43
<fieldsynopsis>
44
+
<modifier>public</modifier>
49
45
<modifier>const</modifier>
50
-
<type>integer</type>
46
+
<type>int</type>
51
47
<varname linkend="splfileobject.constants.drop-new-line">SplFileObject::DROP_NEW_LINE</varname>
52
-
<initializer>1</initializer>
53
48
</fieldsynopsis>
54
49
<fieldsynopsis>
50
+
<modifier>public</modifier>
55
51
<modifier>const</modifier>
56
-
<type>integer</type>
52
+
<type>int</type>
57
53
<varname linkend="splfileobject.constants.read-ahead">SplFileObject::READ_AHEAD</varname>
58
-
<initializer>2</initializer>
59
54
</fieldsynopsis>
60
55
<fieldsynopsis>
56
+
<modifier>public</modifier>
61
57
<modifier>const</modifier>
62
-
<type>integer</type>
58
+
<type>int</type>
63
59
<varname linkend="splfileobject.constants.skip-empty">SplFileObject::SKIP_EMPTY</varname>
64
-
<initializer>4</initializer>
65
60
</fieldsynopsis>
66
61
<fieldsynopsis>
62
+
<modifier>public</modifier>
67
63
<modifier>const</modifier>
68
-
<type>integer</type>
64
+
<type>int</type>
69
65
<varname linkend="splfileobject.constants.read-csv">SplFileObject::READ_CSV</varname>
70
-
<initializer>8</initializer>
71
66
</fieldsynopsis>
72
67

73
68
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
74
-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splfileobject')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
69
+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splfileobject')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='SplFileObject'])">
70
+
<xi:fallback/>
71
+
</xi:include>
72
+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splfileobject')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='SplFileObject'])">
73
+
<xi:fallback/>
74
+
</xi:include>
75
75

76
76
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
77
-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splfileinfo')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
78
-

77
+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splfileinfo')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='SplFileInfo'])">
78
+
<xi:fallback/>
79
+
</xi:include>
79
80
</classsynopsis>
80
81
<!-- }}} -->
81
82

...
...
@@ -113,37 +114,11 @@
113
114
</section>
114
115
<!-- }}} -->
115
116

116
-
<section role="changelog"><!-- {{{ -->
117
-
&reftitle.changelog;
118
-
<para>
119
-
<informaltable>
120
-
<tgroup cols="2">
121
-
<thead>
122
-
<row>
123
-
<entry>&Version;</entry>
124
-
<entry>&Description;</entry>
125
-
</row>
126
-
</thead>
127
-
<tbody>
128
-
<row>
129
-
<entry>5.3.9</entry>
130
-
<entry>
131
-
<constant>SplFileObject::SKIP_EMPTY</constant> value changed to 4.
132
-
Previously, value was 6.
133
-
</entry>
134
-
</row>
135
-
</tbody>
136
-
</tgroup>
137
-
</informaltable>
138
-
</para>
139
-
</section><!-- }}} -->
140
-

141
117
</partintro>
142
118

143
119
&reference.spl.entities.splfileobject;
144
120

145
121
</phpdoc:classref>
146
-

147
122
<!-- Keep this comment at the end of the file
148
123
Local variables:
149
124
mode: sgml
150
125