svn: /phpdoc/de/trunk/ install/ini.xml install/macos/packages.xml language/oop5/basic.xml reference/array/functions/array-merge-recursive.xml reference/array/functions/array-splice.xml reference/filesystem/functions/is-uploaded-file.xml reference/filesystem/functions/mkdir.xml
[email protected] (Mark Wiesemann)
| Newsgroups | php.doc.de |
|---|---|
| Message-ID | <[email protected]> |
wiesemann Mon, 05 Apr 2010 14:36:16 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=297505
Log:
sync to EN
Changed paths:
U phpdoc/de/trunk/install/ini.xml
U phpdoc/de/trunk/install/macos/packages.xml
U phpdoc/de/trunk/language/oop5/basic.xml
U phpdoc/de/trunk/reference/array/functions/array-merge-recursive.xml
U phpdoc/de/trunk/reference/array/functions/array-splice.xml
U phpdoc/de/trunk/reference/filesystem/functions/is-uploaded-file.xml
U phpdoc/de/trunk/reference/filesystem/functions/mkdir.xml
svn-diffs-297505.txt
(text/x-diff, 8.3 KB)
Modified: phpdoc/de/trunk/install/ini.xml
===================================================================
--- phpdoc/de/trunk/install/ini.xml 2010-04-05 14:35:54 UTC (rev 297504)
+++ phpdoc/de/trunk/install/ini.xml 2010-04-05 14:36:16 UTC (rev 297505)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 290814 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
<chapter xml:id="configuration" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Laufzeiteinstellungen</title>
@@ -340,10 +340,9 @@
Setzt eine boolesche Konfigurationsdirektive.
Dies kann <emphasis>nicht</emphasis> in &htaccess;-Dateien verwendet
werden.
- Jeder Direktiventyp, der mit <systemitem role="directive">
- php_admin_value</systemitem> gesetzt wird, kann nicht durch
- &htaccess;-Direktiven überschrieben werden.
- Used to set a boolean configuration directive.
+ Jeder Direktiventyp, der mit <systemitem role="directive">php_admin_value</systemitem>
+ gesetzt wird, kann nicht durch &htaccess;-Direktiven oder
+ <function>ini_set</function> überschrieben werden.
</para>
</listitem>
</varlistentry>
Modified: phpdoc/de/trunk/install/macos/packages.xml
===================================================================
--- phpdoc/de/trunk/install/macos/packages.xml 2010-04-05 14:35:54 UTC (rev 297504)
+++ phpdoc/de/trunk/install/macos/packages.xml 2010-04-05 14:36:16 UTC (rev 297505)
@@ -1,6 +1,6 @@
-<?xml version="1.0" encoding="utf8"?>
-<!-- EN-Revision: 288721 Maintainer: wiesemann Status: ready -->
+<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
+<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
<sect1 xml:id="install.macosx.packages" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Verwendung von Paketen</title>
<simpara>
@@ -38,6 +38,12 @@
<link xlink:href="&url.mac.fink;">&url.mac.fink;</link>
</simpara>
</listitem>
+ <listitem>
+ <simpara>
+ Homebrew:
+ <link xlink:href="&url.mac.homebrew;">&url.mac.homebrew;</link>
+ </simpara>
+ </listitem>
</itemizedlist>
</para>
</sect1>
Modified: phpdoc/de/trunk/language/oop5/basic.xml
===================================================================
--- phpdoc/de/trunk/language/oop5/basic.xml 2010-04-05 14:35:54 UTC (rev 297504)
+++ phpdoc/de/trunk/language/oop5/basic.xml 2010-04-05 14:36:16 UTC (rev 297505)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 294876 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
<sect1 xml:id="language.oop5.basic" xmlns="http://docbook.org/ns/docbook">
<title>Die Grundlagen</title>
@@ -202,6 +202,12 @@
<link linkend="language.oop5.paamayim-nekudotayim">parent::</link>
referenziert werden.
</para>
+ <para>
+ Wenn Methoden überschrieben werden, sollte die Parametersignatur gleich
+ bleiben; andernfalls wird PHP einen <constant>E_STRICT</constant>-Fehler
+ generieren. Dies gilt nicht für den Konstruktor, der das Überschreiben
+ mit unterschiedlichen Parameter erlaubt.
+ </para>
<example>
<title>Einfache Vererbung</title>
<programlisting role="php">
Modified: phpdoc/de/trunk/reference/array/functions/array-merge-recursive.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-merge-recursive.xml 2010-04-05 14:35:54 UTC (rev 297504)
+++ phpdoc/de/trunk/reference/array/functions/array-merge-recursive.xml 2010-04-05 14:36:16 UTC (rev 297505)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
<!-- CREDITS: tom -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.array-merge-recursive">
<refnamediv>
@@ -45,7 +45,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>array</parameter></term>
+ <term><parameter>...</parameter></term>
<listitem>
<para>
Variable Liste der Arrays, die rekursiv zusammengeführt werden sollen.
Modified: phpdoc/de/trunk/reference/array/functions/array-splice.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-splice.xml 2010-04-05 14:35:54 UTC (rev 297504)
+++ phpdoc/de/trunk/reference/array/functions/array-splice.xml 2010-04-05 14:36:16 UTC (rev 297505)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 297304 Maintainer: wiesemann Status: ready -->
<!-- CREDITS: tom -->
<refentry xml:id="function.array-splice" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -35,11 +35,11 @@
ein Array <link linkend="language.types.array.casting">umgewandelt</link>
(dies entspricht <code>(array) $parameter</code>). Dies kann zu
unerwartetem Verhalten führen, wenn <parameter>replacement</parameter>
- ein Objekt ist.
+ ein Objekt oder &null; ist.
</simpara>
</note>
</refsect1>
- <refsect1 role="parameters">
+ <refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
@@ -100,7 +100,8 @@
<para>
Wenn <parameter>replacement</parameter> nur aus einem Element
besteht, ist es nicht notwendig, <literal>array()</literal>
- anzugeben, sofern das Element nicht selbst ein Array ist.
+ anzugeben, sofern das Element nicht selbst ein Array, ein Objekt
+ odr &null; ist.
</para>
</listitem>
</varlistentry>
Modified: phpdoc/de/trunk/reference/filesystem/functions/is-uploaded-file.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/is-uploaded-file.xml 2010-04-05 14:35:54 UTC (rev 297504)
+++ phpdoc/de/trunk/reference/filesystem/functions/is-uploaded-file.xml 2010-04-05 14:36:16 UTC (rev 297505)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.is-uploaded-file">
<refnamediv>
<refname>is_uploaded_file</refname>
Modified: phpdoc/de/trunk/reference/filesystem/functions/mkdir.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/mkdir.xml 2010-04-05 14:35:54 UTC (rev 297504)
+++ phpdoc/de/trunk/reference/filesystem/functions/mkdir.xml 2010-04-05 14:36:16 UTC (rev 297505)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 297502 Maintainer: wiesemann Status: ready -->
<refentry xml:id="function.mkdir" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mkdir</refname>
@@ -58,7 +58,8 @@
<term><parameter>recursive</parameter></term>
<listitem>
<para>
- Standardmäßig &false;.
+ Erlaubt die Erstellung von im <parameter>pathname</parameter> angegebenen
+ verschachtelten Verzeichnissen. Standardmäßig &false;.
</para>
</listitem>
</varlistentry>
@@ -132,6 +133,28 @@
</programlisting>
</example>
</para>
+ <para>
+ <example>
+ <title><function>mkdir</function> mit dem <parameter>recursive</parameter>-Parameter benutzen</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+// Gewünschte Verzeichnisstruktur
+$structure = './stufe1/stufe2/stufe3/';
+
+// Zur Erstellung der verschachtelten Struktur muss der $recursive-Parameter
+// von mkdir() angegeben werden
+
+if (!mkdir($structure, 0, true)) {
+ die('Erstellung der Verzeichnisse schlug fehl...');
+}
+
+// ...
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
</refsect1>
<refsect1 role="notes">
@@ -143,6 +166,7 @@
&reftitle.seealso;
<para>
<simplelist>
+ <member><function>is_dir</function></member>
<member><function>rmdir</function></member>
</simplelist>
</para>