svn: /phpdoc/de/trunk/reference/filesystem/functions/ rmdir.xml

[email protected] (Nikita Popov)
Newsgroups php.doc.de
Message-ID <[email protected]>
nikic                                    Mon, 11 Jul 2011 17:00:04 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=313143

Log:
Sync DE rmdir docs with EN (fixes bug #55161)

Bug: https://bugs.php.net/55161 (Open) Return value of rmdir declared as int in german documentation
      
Changed paths:
    U   phpdoc/de/trunk/reference/filesystem/functions/rmdir.xml

Modified: phpdoc/de/trunk/reference/filesystem/functions/rmdir.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/rmdir.xml	2011-07-11 16:59:43 UTC (rev 313142)
+++ phpdoc/de/trunk/reference/filesystem/functions/rmdir.xml	2011-07-11 17:00:04 UTC (rev 313143)
@@ -1,29 +1,119 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
+<?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: n/a Maintainer: nobody Status: ready -->
-  <refentry xml:id="function.rmdir" xmlns="http://docbook.org/ns/docbook">
-   <refnamediv>
-    <refname>rmdir</refname>
-    <refpurpose>Löscht ein Verzeichnis</refpurpose>
-   </refnamediv>
-   <refsect1>
-    <title>Beschreibung</title>
-    <methodsynopsis>
-     <type>int</type><methodname>rmdir</methodname>
-     <methodparam><type>string</type><parameter>dirname</parameter></methodparam>
-    </methodsynopsis>
-    <para>
-     Versucht ein Verzeichnis spezifiziert durch die Pfadangabe
-     <parameter>dirname</parameter> zu löschen. Das Verzeichnis muss
-     leer sein und die relevanten Rechte müssen erteilt sein.
-     &return.success;
-    </para>
-    <para>
-     Siehe auch <function>mkdir</function> und <function>unlink</function>.
-    </para>
-   </refsect1>
-  </refentry>
+<!-- EN-Revision: 297722 Maintainer: nikic Status: ready -->
+<refentry xml:id="function.rmdir" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+  <refname>rmdir</refname>
+  <refpurpose>Löscht ein Verzeichnis</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <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>
+   Versucht das durch <parameter>dirname</parameter> angegebene Verzeichnis
+   zu löschen. Das Verzeichnis muss dafür leer sein und PHP muss die notwendigen
+   Rechte besitzen. Ansonsten wird ein <constant>E_WARNING</constant> geworfen.
+  </para>
+ </refsect1>

+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>dirname</parameter></term>
+     <listitem>
+      <para>
+       Pfad zum Verzeichnis.
+      </para>
+     </listitem>
+    </varlistentry>
+    <varlistentry>
+     <term><parameter>context</parameter></term>
+     <listitem>
+      &note.context-support;
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   &return.success;
+  </para>
+ </refsect1>
+
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      <row>
+       <entry>5.0.0</entry>
+       <entry>
+        Ab PHP 5.0.0 kann <function>rmdir</function> auch mit
+        <emphasis>einigen</emphasis> URL Wrappern genutzt werden. Eine Liste von
+        untersützten Wrappern kann unter <xref linkend="wrappers"/> eingesehen werden.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title><function>rmdir</function> Beispiel</title>
+    <programlisting role="php">
+<![CDATA[
+<?php
+if (!is_dir('Verzeichnis')) {
+    mkdir('Verzeichnis');
+}
+
+rmdir('Verzeichnis');
+?>
+]]>
+     </programlisting>
+   </example>
+  </para>
+ </refsect1>
+
+ <refsect1 role="notes">
+  &reftitle.notes;
+  &note.sm.uidcheck.dir;
+ </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><function>is_dir</function></member>
+    <member><function>mkdir</function></member>
+    <member><function>unlink</function></member>
+   </simplelist>
+  </para>
+ </refsect1>
+
+</refentry>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -35,7 +125,7 @@
 sgml-indent-data:t
 indent-tabs-mode:nil
 sgml-parent-document:nil
-sgml-default-dtd-file:"../../../../manual.ced"
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
 sgml-exposed-tags:nil
 sgml-local-catalogs:nil
 sgml-local-ecat-files:nil
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.