reference/dir/directory.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.directory" 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 Directory class</title>
...
...
@@ -13,8 +12,7 @@
13
12
&reftitle.intro;
14
13
<para>
15
14
Instances of <classname>Directory</classname> are created by calling the
16
-
<function>dir</function> function, not by the <link
17
-
linkend="language.oop5.basic.new">new</link> operator.
15
+
<function>dir</function> function, not by the <link linkend="language.oop5.basic.new">new</link> operator.
18
16
</para>
19
17
</section>
20
18
<!-- }}} -->
...
...
@@ -23,31 +21,29 @@
23
21
&reftitle.classsynopsis;
24
22

25
23
<!-- {{{ Synopsis -->
26
-
<classsynopsis>
27
-
<ooclass><classname>Directory</classname></ooclass>
28
-

29
-
<!-- {{{ Class synopsis -->
30
-
<classsynopsisinfo>
31
-
<ooclass>
32
-
<classname>Directory</classname>
33
-
</ooclass>
34
-
</classsynopsisinfo>
35
-
<!-- }}} -->
24
+
<classsynopsis class="class">
25
+
<ooclass>
26
+
<classname>Directory</classname>
27
+
</ooclass>
36
28

37
29
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
38
30
<fieldsynopsis>
39
31
<modifier>public</modifier>
32
+
<modifier>readonly</modifier>
40
33
<type>string</type>
41
34
<varname linkend="directory.props.path">path</varname>
42
35
</fieldsynopsis>
43
36
<fieldsynopsis>
44
37
<modifier>public</modifier>
38
+
<modifier>readonly</modifier>
45
39
<type>resource</type>
46
40
<varname linkend="directory.props.handle">handle</varname>
47
41
</fieldsynopsis>
48
42

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

...
...
@@ -77,6 +73,28 @@
77
73
</varlistentry>
78
74
</variablelist>
79
75
</section>
76
+

77
+
<section role="changelog">
78
+
&reftitle.changelog;
79
+
<informaltable>
80
+
<tgroup cols="2">
81
+
<thead>
82
+
<row>
83
+
<entry>&Version;</entry>
84
+
<entry>&Description;</entry>
85
+
</row>
86
+
</thead>
87
+
<tbody>
88
+
<row>
89
+
<entry>8.1.0</entry>
90
+
<entry>
91
+
The <varname>path</varname> and <varname>handle</varname> properties are now readonly.
92
+
</entry>
93
+
</row>
94
+
</tbody>
95
+
</tgroup>
96
+
</informaltable>
97
+
</section>
80
98
<!-- }}} -->
81
99

82
100
</partintro>
...
...
@@ -84,7 +102,6 @@
84
102
&reference.dir.entities.directory;
85
103

86
104
</phpdoc:classref>
87
-

88
105
<!-- Keep this comment at the end of the file
89
106
Local variables:
90
107
mode: sgml
91
108