reference/filesystem/functions/rmdir.xml
ea62fb83196997032641b50fe44420305466195e
...
...
@@ -10,11 +10,11 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>rmdir</methodname>
13
-
<methodparam><type>string</type><parameter>dirname</parameter></methodparam>
14
-
<methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam>
13
+
<methodparam><type>string</type><parameter>directory</parameter></methodparam>
14
+
<methodparam choice="opt"><type class="union"><type>resource</type><type>null</type></type><parameter>context</parameter><initializer>&null;</initializer></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
-
Attempts to remove the directory named by <parameter>dirname</parameter>.
17
+
Attempts to remove the directory named by <parameter>directory</parameter>.
18
18
The directory must be empty, and the relevant permissions must permit this.
19
19
A <constant>E_WARNING</constant> level error will be generated on failure.
20
20
</para>
...
...
@@ -25,7 +25,7 @@
25
25
<para>
26
26
<variablelist>
27
27
<varlistentry>
28
-
<term><parameter>dirname</parameter></term>
28
+
<term><parameter>directory</parameter></term>
29
29
<listitem>
30
30
<para>
31
31
Path to the directory.
32
32