pollita Sat Dec 13 16:18:13 2003 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions mkdir.xml rmdir.xml
Log:
mkdir/rmdir now support wrappers
Index: phpdoc/en/reference/filesystem/functions/mkdir.xml
diff -u phpdoc/en/reference/filesystem/functions/mkdir.xml:1.9
phpdoc/en/reference/filesystem/functions/mkdir.xml:1.10
--- phpdoc/en/reference/filesystem/functions/mkdir.xml:1.9 Thu Jun 12 21:40:03
2003
+++ phpdoc/en/reference/filesystem/functions/mkdir.xml Sat Dec 13 16:18:12 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.39 -->
<refentry id="function.mkdir">
<refnamediv>
@@ -12,6 +12,7 @@
<type>bool</type><methodname>mkdir</methodname>
<methodparam><type>string</type><parameter>pathname</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>mode</parameter></methodparam>
+ <methodparam
choice="opt"><type>resource</type><parameter>context</parameter></methodparam>
</methodsynopsis>
<para>
Attempts to create the directory specified by pathname.
@@ -46,6 +47,18 @@
<para>
&return.success;
</para>
+ <note>
+ <simpara>
+ As of <literal>PHP 5.0.0</literal> <function>mkdir</function> can also be
+ used with <emphasis>some</emphasis> url wrappers. Refer to <xref
linkend="wrappers"/>
+ for a listing of which wrappers support <function>mkdir</function>.
+ </simpara>
+ </note>
+ <note>
+ <simpara>
+ The <parameter>context</parameter> parameter was added as of <literal>PHP
5.0.0</literal>.
+ </simpara>
+ </note>
<para>
See also <function>rmdir</function>.
</para>
Index: phpdoc/en/reference/filesystem/functions/rmdir.xml
diff -u phpdoc/en/reference/filesystem/functions/rmdir.xml:1.4
phpdoc/en/reference/filesystem/functions/rmdir.xml:1.5
--- phpdoc/en/reference/filesystem/functions/rmdir.xml:1.4 Thu Jun 12 21:40:03
2003
+++ phpdoc/en/reference/filesystem/functions/rmdir.xml Sat Dec 13 16:18:12 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.rmdir">
<refnamediv>
@@ -11,12 +11,25 @@
<methodsynopsis>
<type>bool</type><methodname>rmdir</methodname>
<methodparam><type>string</type><parameter>dirname</parameter></methodparam>
+ <methodparam
choice="opt"><type>resource</type><parameter>context</parameter></methodparam>
</methodsynopsis>
<para>
Attempts to remove the directory named by <parameter>dirname</parameter>.
The directory must be empty, and the relevant permissions must permit this.
&return.success;
</para>
+ <note>
+ <simpara>
+ As of <literal>PHP 5.0.0</literal> <function>rmdir</function> can also be
+ used with <emphasis>some</emphasis> url wrappers. Refer to <xref
linkend="wrappers"/>
+ for a listing of which wrappers support <function>rmdir</function>.
+ </simpara>
+ </note>
+ <note>
+ <simpara>
+ The <parameter>context</parameter> parameter was added as of <literal>PHP
5.0.0</literal>.
+ </simpara>
+ </note>
<para>
See also <function>mkdir</function> and <function>unlink</function>.
</para>