reference/spl/filesystemiterator/setflags.xml
a7d00d0b9169ac0ca5e35dbed32ee288f4614586
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="filesystemiterator.setflags" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>FilesystemIterator::setFlags</refname>
...
...
@@ -9,9 +8,9 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="FilesystemIterator">
13
12
<modifier>public</modifier> <type>void</type><methodname>FilesystemIterator::setFlags</methodname>
14
-
<methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
13
+
<methodparam><type>int</type><parameter>flags</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
Sets handling flags.
...
...
@@ -70,15 +69,19 @@ foreach ($iterator as $key => $fileinfo) {
70
69
?>
71
70
]]>
72
71
</programlisting>
73
-
&example.outputs.similar;
72
+
&example.outputs.82.similar;
74
73
<screen>
75
74
<![CDATA[
76
75
Key as Pathname:
76
+
/www/examples/.
77
+
/www/examples/..
77
78
/www/examples/apple.jpg
78
79
/www/examples/banana.jpg
79
80
/www/examples/example.php
80
81

81
82
Key as Filename:
83
+
.
84
+
..
82
85
apple.jpg
83
86
banana.jpg
84
87
example.php
...
...
@@ -99,7 +102,6 @@ example.php
99
102
</refsect1>
100
103

101
104
</refentry>
102
-

103
105
<!-- Keep this comment at the end of the file
104
106
Local variables:
105
107
mode: sgml
106
108