svn: /phpdoc/de/trunk/language/predefined/ errorexception/construct.xml errorexception/getseverity.xml exception/construct.xml exception/getcode.xml exception/getfile.xml exception/getline.xml exception/getmessage.xml exception/getprevious.xml exception/gettrace.xml exception/tostring.xml serializable.xml

[email protected] (Christoph Michael Becker)
Newsgroups php.doc.de
Message-ID <[email protected]>
cmb                                      Mon, 22 Jan 2018 12:19:22 +0000

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

Log:
Sync with EN

Changed paths:
    U   phpdoc/de/trunk/language/predefined/errorexception/construct.xml
    U   phpdoc/de/trunk/language/predefined/errorexception/getseverity.xml
    U   phpdoc/de/trunk/language/predefined/exception/construct.xml
    U   phpdoc/de/trunk/language/predefined/exception/getcode.xml
    U   phpdoc/de/trunk/language/predefined/exception/getfile.xml
    U   phpdoc/de/trunk/language/predefined/exception/getline.xml
    U   phpdoc/de/trunk/language/predefined/exception/getmessage.xml
    U   phpdoc/de/trunk/language/predefined/exception/getprevious.xml
    U   phpdoc/de/trunk/language/predefined/exception/gettrace.xml
    U   phpdoc/de/trunk/language/predefined/exception/tostring.xml
    U   phpdoc/de/trunk/language/predefined/serializable.xml
svn-diffs-343852.txt (text/x-diff, 14.7 KB)
Modified: phpdoc/de/trunk/language/predefined/errorexception/construct.xml
===================================================================
--- phpdoc/de/trunk/language/predefined/errorexception/construct.xml	2018-01-21 14:06:18 UTC (rev 343851)
+++ phpdoc/de/trunk/language/predefined/errorexception/construct.xml	2018-01-22 12:19:22 UTC (rev 343852)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 328246 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 339185 Maintainer: sammywg Status: ready -->

 <refentry xml:id="errorexception.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -14,7 +14,7 @@
    <modifier>public</modifier> <methodname>ErrorException::__construct</methodname>
    <methodparam choice="opt"><type>string</type><parameter>message</parameter><initializer>""</initializer></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>code</parameter><initializer>0</initializer></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>severity</parameter><initializer>1</initializer></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>severity</parameter><initializer>E_ERROR</initializer></methodparam>
    <methodparam choice="opt"><type>string</type><parameter>filename</parameter><initializer>__FILE__</initializer></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>lineno</parameter><initializer>__LINE__</initializer></methodparam>
    <methodparam choice="opt"><type>Exception</type><parameter>previous</parameter><initializer>&null;</initializer></methodparam>
@@ -50,6 +50,13 @@
       <para>
        Die Schwere des aufgetretenen Fehlers.
       </para>
+      <note>
+       <para>
+        Obgleich die Schwere ein beliebiger <type>Integer</type>-Wert sein kann,
+        ist es vorgesehen, dass die <link linkend="errorfunc.constants">Fehler-
+        Konstantaten</link> verwendet werden.
+       </para>
+      </note>
      </listitem>
     </varlistentry>
     <varlistentry>

Modified: phpdoc/de/trunk/language/predefined/errorexception/getseverity.xml
===================================================================
--- phpdoc/de/trunk/language/predefined/errorexception/getseverity.xml	2018-01-21 14:06:18 UTC (rev 343851)
+++ phpdoc/de/trunk/language/predefined/errorexception/getseverity.xml	2018-01-22 12:19:22 UTC (rev 343852)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 339185 Maintainer: sammywg Status: ready -->

 <refentry xml:id="errorexception.getseverity" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -40,9 +40,10 @@
 <![CDATA[
 <?php
 try {
-    throw new ErrorException("Exception message", 0, 75);
+    throw new ErrorException("Exception message", 0, E_USER_ERROR);
 } catch(ErrorException $e) {
     echo "This exception severity is: " . $e->getSeverity();
+    var_dump($e->getSeverity() === E_USER_ERROR);
 }
 ?>
 ]]>
@@ -50,7 +51,8 @@
     &example.outputs.similar;
     <screen>
 <![CDATA[
-This exception severity is: 75
+This exception severity is: 256
+bool(true)
 ]]>
     </screen>
    </example>

Modified: phpdoc/de/trunk/language/predefined/exception/construct.xml
===================================================================
--- phpdoc/de/trunk/language/predefined/exception/construct.xml	2018-01-21 14:06:18 UTC (rev 343851)
+++ phpdoc/de/trunk/language/predefined/exception/construct.xml	2018-01-22 12:19:22 UTC (rev 343852)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 304663 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 340256 Maintainer: sammywg Status: ready -->

 <refentry xml:id="exception.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -14,7 +14,7 @@
    <modifier>public</modifier> <methodname>Exception::__construct</methodname>
    <methodparam choice="opt"><type>string</type><parameter>message</parameter><initializer>""</initializer></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>code</parameter><initializer>0</initializer></methodparam>
-   <methodparam choice="opt"><type>Exception</type><parameter>previous</parameter><initializer>&null;</initializer></methodparam>
+   <methodparam choice="opt"><type>Throwable</type><parameter>previous</parameter><initializer>&null;</initializer></methodparam>
   </constructorsynopsis>
   <para>
    Erstellt die Exception.
@@ -52,6 +52,13 @@
     </varlistentry>
    </variablelist>
   </para>
+  <note>
+   <simpara>
+    Der Aufruf des Konstruktors der Klasse Exception aus einer Unterklasse
+    ignoriert die Standardargumente, wenn die Eigenschaften $code und $message
+    bereits gesetzt wurden.
+   </simpara>
+  </note>
  </refsect1>

  <refsect1 role="changelog">
@@ -67,6 +74,12 @@
      </thead>
      <tbody>
       <row>
+       <entry>7.0.0</entry>
+       <entry>
+        Der <parameter>previous</parameter>-Parameter ist nun vom Typ <type>Throwable</type>.
+       </entry>
+      </row>
+      <row>
        <entry>5.3.0</entry>
        <entry>
         Der Parameter <parameter>previous</parameter> wurde hinzugefügt.

Modified: phpdoc/de/trunk/language/predefined/exception/getcode.xml
===================================================================
--- phpdoc/de/trunk/language/predefined/exception/getcode.xml	2018-01-21 14:06:18 UTC (rev 343851)
+++ phpdoc/de/trunk/language/predefined/exception/getcode.xml	2018-01-22 12:19:22 UTC (rev 343852)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 306174 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 337353 Maintainer: sammywg Status: ready -->

 <refentry xml:id="exception.getcode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -59,6 +59,15 @@
    </example>
   </para>
  </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><methodname>Throwable::getCode</methodname></member>
+   </simplelist>
+  </para>
+ </refsect1>
 </refentry>



Modified: phpdoc/de/trunk/language/predefined/exception/getfile.xml
===================================================================
--- phpdoc/de/trunk/language/predefined/exception/getfile.xml	2018-01-21 14:06:18 UTC (rev 343851)
+++ phpdoc/de/trunk/language/predefined/exception/getfile.xml	2018-01-22 12:19:22 UTC (rev 343852)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 308198 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 341756 Maintainer: sammywg Status: ready -->

 <refentry xml:id="exception.getfile" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
   <refname>Exception::getFile</refname>
-  <refpurpose>Gibt den Namen der Datei zurück, in der die Exception aufgetreten ist</refpurpose>
+  <refpurpose>Gibt den Namen der Datei zurück, in der die Exception erzeugt wurde</refpurpose>
  </refnamediv>

  <refsect1 role="description">
@@ -56,6 +56,15 @@
    </example>
   </para>
  </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><methodname>Throwable::getFile</methodname></member>
+   </simplelist>
+  </para>
+ </refsect1>
 </refentry>



Modified: phpdoc/de/trunk/language/predefined/exception/getline.xml
===================================================================
--- phpdoc/de/trunk/language/predefined/exception/getline.xml	2018-01-21 14:06:18 UTC (rev 343851)
+++ phpdoc/de/trunk/language/predefined/exception/getline.xml	2018-01-22 12:19:22 UTC (rev 343852)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 308198 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 341756 Maintainer: sammywg Status: ready -->

 <refentry xml:id="exception.getline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
   <refname>Exception::getLine</refname>
-  <refpurpose>Gibt die Zeile zurück, in der die Exception auftrat</refpurpose>
+  <refpurpose>Gibt die Zeile zurück, in der die Exception erzeugt wurde</refpurpose>
  </refnamediv>

  <refsect1 role="description">
@@ -56,6 +56,15 @@
    </example>
   </para>
  </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><methodname>Throwable::getLine</methodname></member>
+   </simplelist>
+  </para>
+ </refsect1>
 </refentry>



Modified: phpdoc/de/trunk/language/predefined/exception/getmessage.xml
===================================================================
--- phpdoc/de/trunk/language/predefined/exception/getmessage.xml	2018-01-21 14:06:18 UTC (rev 343851)
+++ phpdoc/de/trunk/language/predefined/exception/getmessage.xml	2018-01-22 12:19:22 UTC (rev 343852)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 337353 Maintainer: sammywg Status: ready -->

 <refentry xml:id="exception.getmessage" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -56,6 +56,15 @@
    </example>
   </para>
  </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><methodname>Throwable::getMessage</methodname></member>
+   </simplelist>
+  </para>
+ </refsect1>
 </refentry>



Modified: phpdoc/de/trunk/language/predefined/exception/getprevious.xml
===================================================================
--- phpdoc/de/trunk/language/predefined/exception/getprevious.xml	2018-01-21 14:06:18 UTC (rev 343851)
+++ phpdoc/de/trunk/language/predefined/exception/getprevious.xml	2018-01-22 12:19:22 UTC (rev 343852)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 326144 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 341756 Maintainer: hholzgra Status: ready -->

 <refentry xml:id="exception.getprevious" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -11,7 +11,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <modifier>final</modifier> <modifier>public</modifier> <type>Exception</type><methodname>Exception::getPrevious</methodname>
+   <modifier>final</modifier> <modifier>public</modifier> <type>Throwable</type><methodname>Exception::getPrevious</methodname>
    <void />
   </methodsynopsis>
   <para>
@@ -28,10 +28,35 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   Gibt die vorhergehende <classname>Exception</classname> zurück
+   Gibt die vorhergehende <classname>Throwable</classname> zurück
    falls vorhanden, anderenfalls &null;.
   </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>7.0.0</entry>
+       <entry>
+        Die Rückgabetypdeklaration wurde zu <classname>Throwable</classname>
+        geändert.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>

  <refsect1 role="examples">
   &reftitle.examples;
@@ -76,7 +101,14 @@
   </para>
  </refsect1>

-
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><methodname>Throwable::getPrevious</methodname></member>
+   </simplelist>
+  </para>
+ </refsect1>
 </refentry>

 <!-- Keep this comment at the end of the file

Modified: phpdoc/de/trunk/language/predefined/exception/gettrace.xml
===================================================================
--- phpdoc/de/trunk/language/predefined/exception/gettrace.xml	2018-01-21 14:06:18 UTC (rev 343851)
+++ phpdoc/de/trunk/language/predefined/exception/gettrace.xml	2018-01-22 12:19:22 UTC (rev 343852)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 337353 Maintainer: sammywg Status: ready -->

 <refentry xml:id="exception.gettrace" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -73,6 +73,15 @@
    </example>
   </para>
  </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><methodname>Throwable::getTrace</methodname></member>
+   </simplelist>
+  </para>
+ </refsect1>
 </refentry>



Modified: phpdoc/de/trunk/language/predefined/exception/tostring.xml
===================================================================
--- phpdoc/de/trunk/language/predefined/exception/tostring.xml	2018-01-21 14:06:18 UTC (rev 343851)
+++ phpdoc/de/trunk/language/predefined/exception/tostring.xml	2018-01-22 12:19:22 UTC (rev 343852)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 337353 Maintainer: sammywg Status: ready -->

 <refentry xml:id="exception.tostring" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -58,6 +58,15 @@
    </example>
   </para>
  </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><methodname>Throwable::__toString</methodname></member>
+   </simplelist>
+  </para>
+ </refsect1>
 </refentry>



Modified: phpdoc/de/trunk/language/predefined/serializable.xml
===================================================================
--- phpdoc/de/trunk/language/predefined/serializable.xml	2018-01-21 14:06:18 UTC (rev 343851)
+++ phpdoc/de/trunk/language/predefined/serializable.xml	2018-01-22 12:19:22 UTC (rev 343852)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 341920 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 343679 Maintainer: sammywg Status: ready -->

 <phpdoc:classref xml:id="class.serializable" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">

@@ -32,7 +32,7 @@
     Beachte: wenn ein altes Exemplar einer Klasse, die dieses Interface nun
     implementiert, aber serialisiert wurde bevor die Klasse das Interface
     implementierte, deserialisiert wird, wird <link
-    linkend="object.wakeup">__wakeup()</link> anstelle der serialize Methode
+    linkend="object.wakeup">__wakeup()</link> anstelle der unserialize Methode
     aufgerufen, was für Migrationzwecke nützlich sein kann.
    </para>
   </section>
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.