cvs: phpdoc-de /language/context curl.xml /language/oop5 magic.xml /reference/classobj/functions class-exists.xml /reference/datetime constants.xml
/reference/errorfunc/functions trigger-error.xml /reference/filesystem/functions fgetss.xml /reference/info/functions get-loaded-extensions.xml
/reference/math/functions log.xml rand.xml /reference/var/functions is-callable.xml
| From: | Hartmut Holzgraefe | Date: | Fri, 16 Jan 2009 23:23:28 +0000 |
| Subject: | cvs: phpdoc-de /language/context curl.xml /language/oop5 magic.xml /reference/classobj/functions class-exists.xml /reference/datetime constants.xml /reference/errorfunc/functions trigger-error.xml /reference/filesystem/functions fgetss.xml /reference/info/functions get-loaded-extensions.xml /reference/math/functions log.xml rand.xml /reference/var/functions is-callable.xml |
||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-3117@lists.php.net to get a copy of this message | ||
hholzgra Fri Jan 16 23:23:28 2009 UTC
Modified files:
/phpdoc-de/language/context curl.xml
/phpdoc-de/language/oop5 magic.xml
/phpdoc-de/reference/classobj/functions class-exists.xml
/phpdoc-de/reference/datetime constants.xml
/phpdoc-de/reference/errorfunc/functions trigger-error.xml
/phpdoc-de/reference/filesystem/functions fgetss.xml
/phpdoc-de/reference/info/functions get-loaded-extensions.xml
/phpdoc-de/reference/math/functions log.xml rand.xml
/phpdoc-de/reference/var/functions is-callable.xml
Log:
translation updates
http://cvs.php.net/viewvc.cgi/phpdoc-de/language/context/curl.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-de/language/context/curl.xml diff -u phpdoc-de/language/context/curl.xml:1.1 phpdoc-de/language/context/curl.xml:1.2 --- phpdoc-de/language/context/curl.xml:1.1 Sat Oct 18 11:14:03 2008 +++ phpdoc-de/language/context/curl.xml Fri Jan 16 23:23:28 2009 @@ -1,19 +1,20 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.2 Maintainer: hholzgra Status: working --> <refentry xml:id="context.curl" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" role="noversion"> <refnamediv> - <refname>CURL context options</refname> - <refpurpose>CURL context option listing</refpurpose> + <refname>CURL Kontextoptionen</refname> + <refpurpose>Liste der CURL Kontextoptionen</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> - CURL context options are available when the - <link linkend="intro.curl">CURL</link> extension was compiled using the - <option>--with-curlwrappers</option> configure option. + Die CURL Kontextoptionen sind verfügbar wenn die + <link linkend="intro.curl">CURL</link>-Erweiterun mit Hilfe + der configure-Option <option>--with-curlwrappers</option> + kompiliert wurde. </para> </refsect1> @@ -28,11 +29,12 @@ </term> <listitem> <para> - <constant>GET</constant>, <constant>POST</constant>, or - any other HTTP method supported by the remote server. + <constant>GET</constant>, <constant>POST</constant>, + oder jede andere vom angesprochenen Server + unterstützte HTTP-Methode. </para> <para> - Defaults to <constant>GET</constant>. + Vorgabewert ist <constant>GET</constant>. </para> </listitem> </varlistentry> @@ -57,12 +59,11 @@ </term> <listitem> <para> - Value to send with User-Agent: header. + Der in der User-Agent: Kopfzeile zu übermittelnde Wert </para> <para> - By default the - <link linkend="ini.user-agent">user_agent</link> - &php.ini; setting is used. + Vorgabewert ist die &php.ini;-Einstellung + <link linkend="ini.user-agent">user_agent</link>. </para> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/language/oop5/magic.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-de/language/oop5/magic.xml diff -u phpdoc-de/language/oop5/magic.xml:1.12 phpdoc-de/language/oop5/magic.xml:1.13 --- phpdoc-de/language/oop5/magic.xml:1.12 Fri Jan 2 19:32:08 2009 +++ phpdoc-de/language/oop5/magic.xml Fri Jan 16 23:23:28 2009 @@ -1,26 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.20 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.21 Maintainer: hholzgra Status: ready --> <!-- Credits: simp --> <sect1 xml:id="language.oop5.magic" xmlns="http://docbook.org/ns/docbook"> <title>Magische Methoden</title> <para> Die Funktionen - <literal>__construct</literal>, - <literal>__destruct</literal> - (siehe auch <link linkend="language.oop5.decon">Konstruktoren und Destruktoren</link>), - <literal>__call</literal>, - <literal>__callStatic</literal>, - <literal>__get</literal>, + <link linkend="language.oop5.decon"><literal>__construct</literal>, + <literal>__destruct</literal></link>, + <link linkend="language.oop5.overloading.methods"><literal>__call</literal>, + <literal>__callStatic</literal></link>, + <link linkend="language.oop5.overloading.members"><literal>__get</literal>, <literal>__set</literal>, <literal>__isset</literal>, - <literal>__unset</literal> - (siehe auch <link linkend="language.oop5.overloading">Ãberladung</link>), - <literal>__sleep</literal>, - <literal>__wakeup</literal>, - <literal>__toString</literal>, - <literal>__set_state</literal> und - <link linkend="language.oop5.cloning">__clone</link> + <literal>__unset</literal></link>, + <link linkend="language.oop5.magic.sleep"><literal>__sleep</literal>, + <literal>__wakeup</literal></link>, + <link linkend="language.oop5.magic.tostring"><literal>__toString</literal></link>, + <link linkend="language.oop5.magic.invoke"><literal>__invoke</literal></link>, + <link linkend="language.oop5.magic.set-state"><literal>__set_state</literal></link> und + <link linkend="language.oop5.cloning"><literal>__clone</literal></link> sind in PHP Klassen magisch. Man kann keine Funktionen gleichen Namens in einer seiner Klassen haben, wenn man nicht die magische Funktionalität, die sie mit sich bringen, haben will. @@ -154,6 +153,43 @@ </para> </sect2> + <sect2 xml:id="language.oop5.magic.invoke"> + <title><literal>__invoke</literal></title> + <para> + Die <literal>__invole</literal>-Methode wird aufgerufen + wenn ein Skript versucht ein Objekt als Funktion aufzurufen. + </para> + <note> + <para> + Dieses Feature ist ab PHP 5.3.0 verfügbar. + </para> + </note> + <example> + <title>Nutzung von <literal>__invoke</literal></title> + <programlisting role="php"> +<![CDATA[ +<?php +class CallableClass { + function __invoke($x) { + var_dump($x); + } +} +$obj = new CallableClass; +$obj(5); +var_dump(is_callable($obj)); +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +int(5) +bool(true) +]]> + </screen> + </example> + </sect2> + <sect2 xml:id="language.oop5.magic.set-state"> <title><literal>__set_state</literal></title> <para> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/classobj/functions/class-exists.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-de/reference/classobj/functions/class-exists.xml diff -u phpdoc-de/reference/classobj/functions/class-exists.xml:1.10 phpdoc-de/reference/classobj/functions/class-exists.xml:1.11 --- phpdoc-de/reference/classobj/functions/class-exists.xml:1.10 Sat Aug 9 11:30:43 2008 +++ phpdoc-de/reference/classobj/functions/class-exists.xml Fri Jan 16 23:23:28 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.11 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.12 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.class-exists" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>class_exists</refname> @@ -11,7 +11,7 @@ <methodsynopsis> <type>bool</type><methodname>class_exists</methodname> <methodparam><type>string</type><parameter>class_name</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>autoload</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>autoload</parameter><initializer>true</initializer></methodparam> </methodsynopsis> <para> Diese Funktion prüft ob eine bestimmte Klasse definiert wurde. http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/datetime/constants.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-de/reference/datetime/constants.xml diff -u phpdoc-de/reference/datetime/constants.xml:1.3 phpdoc-de/reference/datetime/constants.xml:1.4 --- phpdoc-de/reference/datetime/constants.xml:1.3 Sun Aug 10 19:20:36 2008 +++ phpdoc-de/reference/datetime/constants.xml Fri Jan 16 23:23:28 2009 @@ -1,137 +1,16 @@ <?xml version='1.0' encoding='utf-8'?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.12 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.13 Maintainer: hholzgra Status: ready --> <appendix xml:id="datetime.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; <para> - Die folgenden Konstanten sind ab PHP 5.1.1 definiert und bieten + Die <link linkend="datetime.constants.types"><literal + >DATE_</literal>-Konstanten</link> + sind ab PHP 5.1.1 definiert und bieten vorbereitetet Standard-Datenformate, diese können zusammen mit den Datumsfunktionen (wie <function>date</function>) eingesetzt werden. </para> - <variablelist> - <varlistentry> - <term> - <constant>DATE_ATOM</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - Atom Format (z.B. 2005-08-15T15:52:01+00:00) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_COOKIE</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - HTTP Cookie Format (z.B. Monday, 15-Aug-05 15:52:01 UTC) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_ISO8601</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - ISO-8601 (z.B. 2005-08-15T15:52:01+0000) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_RFC822</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - RFC 822 (z.B. Mon, 15 Aug 05 15:52:01 +0000) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_RFC850</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - RFC 850 (z.B. Monday, 15-Aug-05 15:52:01 UTC) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_RFC1036</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - RFC 1036 (z.B. Mon, 15 Aug 05 15:52:01 +0000) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_RFC1123</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - RFC 1123 (z.B. Mon, 15 Aug 2005 15:52:01 +0000) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_RFC2822</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - RFC 2822 (Mon, 15 Aug 2005 15:52:01 +0000) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_RFC3339</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - Entspricht <constant>DATE_ATOM</constant> (since PHP 5.1.3) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_RSS</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - RSS (Mon, 15 Aug 2005 15:52:01 +0000) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_W3C</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - World Wide Web Consortium (z.B. 2005-08-15T15:52:01+00:00) - </simpara> - </listitem> - </varlistentry> - </variablelist> <para> Die folgenden Konstanten existieren seit PHP 5.1.2, sie spezifizieren Rückgabeformate für die Funktionen http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/errorfunc/functions/trigger-error.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-de/reference/errorfunc/functions/trigger-error.xml diff -u phpdoc-de/reference/errorfunc/functions/trigger-error.xml:1.9 phpdoc-de/reference/errorfunc/functions/trigger-error.xml:1.10 --- phpdoc-de/reference/errorfunc/functions/trigger-error.xml:1.9 Sat Aug 9 11:30:43 2008 +++ phpdoc-de/reference/errorfunc/functions/trigger-error.xml Fri Jan 16 23:23:28 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.14 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.15 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.trigger-error" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>trigger_error</refname> @@ -13,7 +13,7 @@ <methodsynopsis> <type>bool</type><methodname>trigger_error</methodname> <methodparam><type>string</type><parameter>error_msg</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>error_type</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>error_type</parameter><initializer>E_USER_NOTICE</initializer></methodparam> </methodsynopsis> <para> Mit dieser Funktion kann der Benutzer Bedingungen festlegen, die http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/filesystem/functions/fgetss.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-de/reference/filesystem/functions/fgetss.xml diff -u phpdoc-de/reference/filesystem/functions/fgetss.xml:1.11 phpdoc-de/reference/filesystem/functions/fgetss.xml:1.12 --- phpdoc-de/reference/filesystem/functions/fgetss.xml:1.11 Sat Oct 18 13:46:35 2008 +++ phpdoc-de/reference/filesystem/functions/fgetss.xml Fri Jan 16 23:23:28 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.11 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.12 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.fgetss" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>fgetss</refname> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/info/functions/get-loaded-extensions.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-de/reference/info/functions/get-loaded-extensions.xml diff -u phpdoc-de/reference/info/functions/get-loaded-extensions.xml:1.8 phpdoc-de/reference/info/functions/get-loaded-extensions.xml:1.9 --- phpdoc-de/reference/info/functions/get-loaded-extensions.xml:1.8 Sat Aug 9 11:30:45 2008 +++ phpdoc-de/reference/info/functions/get-loaded-extensions.xml Fri Jan 16 23:23:28 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.12 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.13 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.get-loaded-extensions" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>get_loaded_extensions</refname> @@ -11,7 +11,7 @@ &reftitle.description; <methodsynopsis> <type>array</type><methodname>get_loaded_extensions</methodname> - <methodparam choice="opt"><type>bool</type><parameter>zend_extensions</parameter><initializer>FALSE</initializer></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>zend_extensions</parameter><initializer>false</initializer></methodparam> </methodsynopsis> <para> Diese Funktion gibt die Namen aller in den PHP Interpreter http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/math/functions/log.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-de/reference/math/functions/log.xml diff -u phpdoc-de/reference/math/functions/log.xml:1.8 phpdoc-de/reference/math/functions/log.xml:1.9 --- phpdoc-de/reference/math/functions/log.xml:1.8 Sat Aug 9 11:30:45 2008 +++ phpdoc-de/reference/math/functions/log.xml Fri Jan 16 23:23:28 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 --> -<!-- EN-Revision: 1.14 Maintainer: hholzgra Status: ready --> +<!-- EN-Revision: 1.15 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.log" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>log</refname> @@ -11,7 +11,7 @@ <methodsynopsis> <type>float</type><methodname>log</methodname> <methodparam><type>float</type><parameter>arg</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>base</parameter></methodparam> + <methodparam choice="opt"><type>float</type><parameter>base</parameter><initializer>M_E</initializer></methodparam> </methodsynopsis> <para> Berechnet den natürlichen Logarithmus von <parameter>arg</parameter> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/math/functions/rand.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-de/reference/math/functions/rand.xml diff -u phpdoc-de/reference/math/functions/rand.xml:1.11 phpdoc-de/reference/math/functions/rand.xml:1.12 --- phpdoc-de/reference/math/functions/rand.xml:1.11 Sun Sep 28 11:07:03 2008 +++ phpdoc-de/reference/math/functions/rand.xml Fri Jan 16 23:23:28 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 --> -<!-- EN-Revision: 1.21 Maintainer: hholzgra Status: ready --> +<!-- EN-Revision: 1.22 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.rand" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>rand</refname> @@ -45,7 +45,7 @@ <term><parameter>min</parameter></term> <listitem> <para> - The lowest value to return (default: 0) + Der niedrigste zurückzugebende Wert (Vorgabe: 0) </para> </listitem> </varlistentry> @@ -53,7 +53,7 @@ <term><parameter>max</parameter></term> <listitem> <para> - The highest value to return (default: <function>get_randmax</function>) + The höchste zurückzugebende Wert (Vorgabe: <function>get_randmax</function>) </para> </listitem> </varlistentry> @@ -63,8 +63,8 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - A pseudo random value between <parameter>min</parameter> - (or 0) and <parameter>max</parameter> (or <function>get_randmax</function>, inclusive). + Ein Pseudozufallswert zwischen <parameter>min</parameter> + (oder 0) und <parameter>max</parameter> (oder <function>get_randmax</function>, inklusive). </para> </refsect1> <refsect1 role="changelog"> @@ -80,13 +80,13 @@ </thead> <tbody> <row> - <entry>Since 3.0.7</entry> + <entry>Seit 3.0.7</entry> <entry> - In versions before 3.0.7 the meaning of - <parameter>max</parameter> was <parameter>range</parameter>. To - get the same results in these versions the short example should - be <literal>rand (5, 11)</literal> to get a random number - between 5 and 15. + In Versionen vor 3.0.7 war die Bedeutung von + <parameter>max</parameter> statt dessen <parameter>range</parameter>. + Um in diesen Versionen das gleiche Ergebnis zu erzielen muss im + folgenden Beispiel <literal>rand (5, 11)</literal> benutzt werden + um eine Zufallszahl zwischen 5 und 15 zu erhalten. </entry> </row> </tbody> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/var/functions/is-callable.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-de/reference/var/functions/is-callable.xml diff -u phpdoc-de/reference/var/functions/is-callable.xml:1.3 phpdoc-de/reference/var/functions/is-callable.xml:1.4 --- phpdoc-de/reference/var/functions/is-callable.xml:1.3 Sun Aug 10 19:20:38 2008 +++ phpdoc-de/reference/var/functions/is-callable.xml Fri Jan 16 23:23:28 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.13 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.14 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.is-callable" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>is_callable</refname> @@ -14,7 +14,7 @@ <methodsynopsis> <type>bool</type><methodname>is_callable</methodname> <methodparam><type>mixed</type><parameter>var</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>syntax_only</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>syntax_only</parameter><initializer>false</initializer></methodparam> <methodparam choice="opt"><type>string</type><parameter role="reference">callable_name</parameter></methodparam> </methodsynopsis> <para>
http://cvs.php.net/viewvc.cgi/phpdoc-de/language/context/curl.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-de/language/context/curl.xml diff -u phpdoc-de/language/context/curl.xml:1.1 phpdoc-de/language/context/curl.xml:1.2 --- phpdoc-de/language/context/curl.xml:1.1 Sat Oct 18 11:14:03 2008 +++ phpdoc-de/language/context/curl.xml Fri Jan 16 23:23:28 2009 @@ -1,19 +1,20 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.2 Maintainer: hholzgra Status: working --> <refentry xml:id="context.curl" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" role="noversion"> <refnamediv> - <refname>CURL context options</refname> - <refpurpose>CURL context option listing</refpurpose> + <refname>CURL Kontextoptionen</refname> + <refpurpose>Liste der CURL Kontextoptionen</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> - CURL context options are available when the - <link linkend="intro.curl">CURL</link> extension was compiled using the - <option>--with-curlwrappers</option> configure option. + Die CURL Kontextoptionen sind verfügbar wenn die + <link linkend="intro.curl">CURL</link>-Erweiterun mit Hilfe + der configure-Option <option>--with-curlwrappers</option> + kompiliert wurde. </para> </refsect1> @@ -28,11 +29,12 @@ </term> <listitem> <para> - <constant>GET</constant>, <constant>POST</constant>, or - any other HTTP method supported by the remote server. + <constant>GET</constant>, <constant>POST</constant>, + oder jede andere vom angesprochenen Server + unterstützte HTTP-Methode. </para> <para> - Defaults to <constant>GET</constant>. + Vorgabewert ist <constant>GET</constant>. </para> </listitem> </varlistentry> @@ -57,12 +59,11 @@ </term> <listitem> <para> - Value to send with User-Agent: header. + Der in der User-Agent: Kopfzeile zu übermittelnde Wert </para> <para> - By default the - <link linkend="ini.user-agent">user_agent</link> - &php.ini; setting is used. + Vorgabewert ist die &php.ini;-Einstellung + <link linkend="ini.user-agent">user_agent</link>. </para> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/language/oop5/magic.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-de/language/oop5/magic.xml diff -u phpdoc-de/language/oop5/magic.xml:1.12 phpdoc-de/language/oop5/magic.xml:1.13 --- phpdoc-de/language/oop5/magic.xml:1.12 Fri Jan 2 19:32:08 2009 +++ phpdoc-de/language/oop5/magic.xml Fri Jan 16 23:23:28 2009 @@ -1,26 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.20 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.21 Maintainer: hholzgra Status: ready --> <!-- Credits: simp --> <sect1 xml:id="language.oop5.magic" xmlns="http://docbook.org/ns/docbook"> <title>Magische Methoden</title> <para> Die Funktionen - <literal>__construct</literal>, - <literal>__destruct</literal> - (siehe auch <link linkend="language.oop5.decon">Konstruktoren und Destruktoren</link>), - <literal>__call</literal>, - <literal>__callStatic</literal>, - <literal>__get</literal>, + <link linkend="language.oop5.decon"><literal>__construct</literal>, + <literal>__destruct</literal></link>, + <link linkend="language.oop5.overloading.methods"><literal>__call</literal>, + <literal>__callStatic</literal></link>, + <link linkend="language.oop5.overloading.members"><literal>__get</literal>, <literal>__set</literal>, <literal>__isset</literal>, - <literal>__unset</literal> - (siehe auch <link linkend="language.oop5.overloading">Ãberladung</link>), - <literal>__sleep</literal>, - <literal>__wakeup</literal>, - <literal>__toString</literal>, - <literal>__set_state</literal> und - <link linkend="language.oop5.cloning">__clone</link> + <literal>__unset</literal></link>, + <link linkend="language.oop5.magic.sleep"><literal>__sleep</literal>, + <literal>__wakeup</literal></link>, + <link linkend="language.oop5.magic.tostring"><literal>__toString</literal></link>, + <link linkend="language.oop5.magic.invoke"><literal>__invoke</literal></link>, + <link linkend="language.oop5.magic.set-state"><literal>__set_state</literal></link> und + <link linkend="language.oop5.cloning"><literal>__clone</literal></link> sind in PHP Klassen magisch. Man kann keine Funktionen gleichen Namens in einer seiner Klassen haben, wenn man nicht die magische Funktionalität, die sie mit sich bringen, haben will. @@ -154,6 +153,43 @@ </para> </sect2> + <sect2 xml:id="language.oop5.magic.invoke"> + <title><literal>__invoke</literal></title> + <para> + Die <literal>__invole</literal>-Methode wird aufgerufen + wenn ein Skript versucht ein Objekt als Funktion aufzurufen. + </para> + <note> + <para> + Dieses Feature ist ab PHP 5.3.0 verfügbar. + </para> + </note> + <example> + <title>Nutzung von <literal>__invoke</literal></title> + <programlisting role="php"> +<![CDATA[ +<?php +class CallableClass { + function __invoke($x) { + var_dump($x); + } +} +$obj = new CallableClass; +$obj(5); +var_dump(is_callable($obj)); +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +int(5) +bool(true) +]]> + </screen> + </example> + </sect2> + <sect2 xml:id="language.oop5.magic.set-state"> <title><literal>__set_state</literal></title> <para> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/classobj/functions/class-exists.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-de/reference/classobj/functions/class-exists.xml diff -u phpdoc-de/reference/classobj/functions/class-exists.xml:1.10 phpdoc-de/reference/classobj/functions/class-exists.xml:1.11 --- phpdoc-de/reference/classobj/functions/class-exists.xml:1.10 Sat Aug 9 11:30:43 2008 +++ phpdoc-de/reference/classobj/functions/class-exists.xml Fri Jan 16 23:23:28 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.11 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.12 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.class-exists" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>class_exists</refname> @@ -11,7 +11,7 @@ <methodsynopsis> <type>bool</type><methodname>class_exists</methodname> <methodparam><type>string</type><parameter>class_name</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>autoload</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>autoload</parameter><initializer>true</initializer></methodparam> </methodsynopsis> <para> Diese Funktion prüft ob eine bestimmte Klasse definiert wurde. http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/datetime/constants.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-de/reference/datetime/constants.xml diff -u phpdoc-de/reference/datetime/constants.xml:1.3 phpdoc-de/reference/datetime/constants.xml:1.4 --- phpdoc-de/reference/datetime/constants.xml:1.3 Sun Aug 10 19:20:36 2008 +++ phpdoc-de/reference/datetime/constants.xml Fri Jan 16 23:23:28 2009 @@ -1,137 +1,16 @@ <?xml version='1.0' encoding='utf-8'?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.12 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.13 Maintainer: hholzgra Status: ready --> <appendix xml:id="datetime.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; <para> - Die folgenden Konstanten sind ab PHP 5.1.1 definiert und bieten + Die <link linkend="datetime.constants.types"><literal + >DATE_</literal>-Konstanten</link> + sind ab PHP 5.1.1 definiert und bieten vorbereitetet Standard-Datenformate, diese können zusammen mit den Datumsfunktionen (wie <function>date</function>) eingesetzt werden. </para> - <variablelist> - <varlistentry> - <term> - <constant>DATE_ATOM</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - Atom Format (z.B. 2005-08-15T15:52:01+00:00) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_COOKIE</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - HTTP Cookie Format (z.B. Monday, 15-Aug-05 15:52:01 UTC) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_ISO8601</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - ISO-8601 (z.B. 2005-08-15T15:52:01+0000) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_RFC822</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - RFC 822 (z.B. Mon, 15 Aug 05 15:52:01 +0000) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_RFC850</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - RFC 850 (z.B. Monday, 15-Aug-05 15:52:01 UTC) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_RFC1036</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - RFC 1036 (z.B. Mon, 15 Aug 05 15:52:01 +0000) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_RFC1123</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - RFC 1123 (z.B. Mon, 15 Aug 2005 15:52:01 +0000) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_RFC2822</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - RFC 2822 (Mon, 15 Aug 2005 15:52:01 +0000) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_RFC3339</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - Entspricht <constant>DATE_ATOM</constant> (since PHP 5.1.3) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_RSS</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - RSS (Mon, 15 Aug 2005 15:52:01 +0000) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>DATE_W3C</constant> - (<type>string</type>) - </term> - <listitem> - <simpara> - World Wide Web Consortium (z.B. 2005-08-15T15:52:01+00:00) - </simpara> - </listitem> - </varlistentry> - </variablelist> <para> Die folgenden Konstanten existieren seit PHP 5.1.2, sie spezifizieren Rückgabeformate für die Funktionen http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/errorfunc/functions/trigger-error.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-de/reference/errorfunc/functions/trigger-error.xml diff -u phpdoc-de/reference/errorfunc/functions/trigger-error.xml:1.9 phpdoc-de/reference/errorfunc/functions/trigger-error.xml:1.10 --- phpdoc-de/reference/errorfunc/functions/trigger-error.xml:1.9 Sat Aug 9 11:30:43 2008 +++ phpdoc-de/reference/errorfunc/functions/trigger-error.xml Fri Jan 16 23:23:28 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.14 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.15 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.trigger-error" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>trigger_error</refname> @@ -13,7 +13,7 @@ <methodsynopsis> <type>bool</type><methodname>trigger_error</methodname> <methodparam><type>string</type><parameter>error_msg</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>error_type</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>error_type</parameter><initializer>E_USER_NOTICE</initializer></methodparam> </methodsynopsis> <para> Mit dieser Funktion kann der Benutzer Bedingungen festlegen, die http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/filesystem/functions/fgetss.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-de/reference/filesystem/functions/fgetss.xml diff -u phpdoc-de/reference/filesystem/functions/fgetss.xml:1.11 phpdoc-de/reference/filesystem/functions/fgetss.xml:1.12 --- phpdoc-de/reference/filesystem/functions/fgetss.xml:1.11 Sat Oct 18 13:46:35 2008 +++ phpdoc-de/reference/filesystem/functions/fgetss.xml Fri Jan 16 23:23:28 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.11 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.12 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.fgetss" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>fgetss</refname> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/info/functions/get-loaded-extensions.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-de/reference/info/functions/get-loaded-extensions.xml diff -u phpdoc-de/reference/info/functions/get-loaded-extensions.xml:1.8 phpdoc-de/reference/info/functions/get-loaded-extensions.xml:1.9 --- phpdoc-de/reference/info/functions/get-loaded-extensions.xml:1.8 Sat Aug 9 11:30:45 2008 +++ phpdoc-de/reference/info/functions/get-loaded-extensions.xml Fri Jan 16 23:23:28 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.12 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.13 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.get-loaded-extensions" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>get_loaded_extensions</refname> @@ -11,7 +11,7 @@ &reftitle.description; <methodsynopsis> <type>array</type><methodname>get_loaded_extensions</methodname> - <methodparam choice="opt"><type>bool</type><parameter>zend_extensions</parameter><initializer>FALSE</initializer></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>zend_extensions</parameter><initializer>false</initializer></methodparam> </methodsynopsis> <para> Diese Funktion gibt die Namen aller in den PHP Interpreter http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/math/functions/log.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-de/reference/math/functions/log.xml diff -u phpdoc-de/reference/math/functions/log.xml:1.8 phpdoc-de/reference/math/functions/log.xml:1.9 --- phpdoc-de/reference/math/functions/log.xml:1.8 Sat Aug 9 11:30:45 2008 +++ phpdoc-de/reference/math/functions/log.xml Fri Jan 16 23:23:28 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 --> -<!-- EN-Revision: 1.14 Maintainer: hholzgra Status: ready --> +<!-- EN-Revision: 1.15 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.log" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>log</refname> @@ -11,7 +11,7 @@ <methodsynopsis> <type>float</type><methodname>log</methodname> <methodparam><type>float</type><parameter>arg</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>base</parameter></methodparam> + <methodparam choice="opt"><type>float</type><parameter>base</parameter><initializer>M_E</initializer></methodparam> </methodsynopsis> <para> Berechnet den natürlichen Logarithmus von <parameter>arg</parameter> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/math/functions/rand.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-de/reference/math/functions/rand.xml diff -u phpdoc-de/reference/math/functions/rand.xml:1.11 phpdoc-de/reference/math/functions/rand.xml:1.12 --- phpdoc-de/reference/math/functions/rand.xml:1.11 Sun Sep 28 11:07:03 2008 +++ phpdoc-de/reference/math/functions/rand.xml Fri Jan 16 23:23:28 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 --> -<!-- EN-Revision: 1.21 Maintainer: hholzgra Status: ready --> +<!-- EN-Revision: 1.22 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.rand" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>rand</refname> @@ -45,7 +45,7 @@ <term><parameter>min</parameter></term> <listitem> <para> - The lowest value to return (default: 0) + Der niedrigste zurückzugebende Wert (Vorgabe: 0) </para> </listitem> </varlistentry> @@ -53,7 +53,7 @@ <term><parameter>max</parameter></term> <listitem> <para> - The highest value to return (default: <function>get_randmax</function>) + The höchste zurückzugebende Wert (Vorgabe: <function>get_randmax</function>) </para> </listitem> </varlistentry> @@ -63,8 +63,8 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - A pseudo random value between <parameter>min</parameter> - (or 0) and <parameter>max</parameter> (or <function>get_randmax</function>, inclusive). + Ein Pseudozufallswert zwischen <parameter>min</parameter> + (oder 0) und <parameter>max</parameter> (oder <function>get_randmax</function>, inklusive). </para> </refsect1> <refsect1 role="changelog"> @@ -80,13 +80,13 @@ </thead> <tbody> <row> - <entry>Since 3.0.7</entry> + <entry>Seit 3.0.7</entry> <entry> - In versions before 3.0.7 the meaning of - <parameter>max</parameter> was <parameter>range</parameter>. To - get the same results in these versions the short example should - be <literal>rand (5, 11)</literal> to get a random number - between 5 and 15. + In Versionen vor 3.0.7 war die Bedeutung von + <parameter>max</parameter> statt dessen <parameter>range</parameter>. + Um in diesen Versionen das gleiche Ergebnis zu erzielen muss im + folgenden Beispiel <literal>rand (5, 11)</literal> benutzt werden + um eine Zufallszahl zwischen 5 und 15 zu erhalten. </entry> </row> </tbody> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/var/functions/is-callable.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-de/reference/var/functions/is-callable.xml diff -u phpdoc-de/reference/var/functions/is-callable.xml:1.3 phpdoc-de/reference/var/functions/is-callable.xml:1.4 --- phpdoc-de/reference/var/functions/is-callable.xml:1.3 Sun Aug 10 19:20:38 2008 +++ phpdoc-de/reference/var/functions/is-callable.xml Fri Jan 16 23:23:28 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.13 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.14 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.is-callable" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>is_callable</refname> @@ -14,7 +14,7 @@ <methodsynopsis> <type>bool</type><methodname>is_callable</methodname> <methodparam><type>mixed</type><parameter>var</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>syntax_only</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>syntax_only</parameter><initializer>false</initializer></methodparam> <methodparam choice="opt"><type>string</type><parameter role="reference">callable_name</parameter></methodparam> </methodsynopsis> <para>