cvs: phpdoc-de /reference/imap/functions imap-check.xml

From: Date: Thu, 08 Feb 2007 20:19:46 +0000
Subject: cvs: phpdoc-de /reference/imap/functions imap-check.xml
Groups: php.doc.de 
Request: Send a blank email to doc-de+get-1985@lists.php.net to get a copy of this message
hholzgra Thu Feb 8 20:19:46 2007 UTC Modified files: /phpdoc-de/reference/imap/functions imap-check.xml Log: translation update http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/imap/functions/imap-check.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/imap/functions/imap-check.xml diff -u phpdoc-de/reference/imap/functions/imap-check.xml:1.4 phpdoc-de/reference/imap/functions/imap-check.xml:1.5 --- phpdoc-de/reference/imap/functions/imap-check.xml:1.4 Mon Jan 29 21:47:10 2007 +++ phpdoc-de/reference/imap/functions/imap-check.xml Thu Feb 8 20:19:46 2007 @@ -1,78 +1,102 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.1 Maintainer: hholzgra Status: working --> -<!-- splitted from ./de/functions/imap.xml, last change in rev 1.2 --> -<!-- last change to 'imap-check' in en/ tree in rev 1.2 --> - <refentry id="function.imap-check"> - <refnamediv> - <refname>imap_check</refname> - <refpurpose>Prüft den Status des aktuelle Postfachs</refpurpose> - </refnamediv> - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <type>object</type><methodname>imap_check</methodname> - <methodparam><type>int</type><parameter>imap_stream</parameter></methodparam> - </methodsynopsis> - <para> - Die <function>imap_check</function> Funktion prüft den Status - des aktuellen Postfach und liefert die entsprechenden Felder in - einem Objekt mit folgenden Attributen zurück: - </para> - <para> - <itemizedlist> - <listitem> - <simpara> - Date - Datum der letzten Änderung des Postfach-Inhalts - </simpara> - </listitem> - <listitem> - <simpara> - Driver - Zugriffsprotokoll: POP, IMAP, NNTP - </simpara> - </listitem> - <listitem> - <simpara> - Mailbox - Name des Postfachs - </simpara> - </listitem> - <listitem> - <simpara> - Nmsgs - Anzahl der Nachrichten im Postfach - </simpara> - </listitem> - <listitem> - <simpara> - Recent - Anzahl der neuen Nachrichten im Postfach - </simpara> - </listitem> - </itemizedlist> - </para> - <para> - <example> - <title><function>imap_check</function> Beispiel</title> - <programlisting role="php"> -$mbox = imap_open ("{your.imap.host}INBOX", "username", "password") - || die ("can't connect: " . imap_last_error()); +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.7 Maintainer: hholzgra Status: ready --> +<refentry id="function.imap-check"> + <refnamediv> + <refname>imap_check</refname> + <refpurpose>Informationen zum aktuellen Postfach</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>object</type><methodname>imap_check</methodname> + <methodparam><type>resource</type><parameter>imap_stream</parameter></methodparam> + </methodsynopsis> + <para> + Liefert Informationen zum aktuellen Postfach + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + &imap.imap-stream.description; + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Informationen werden als Objekt mit folgenden Eigenschaften zurückgegeben: + <itemizedlist> + <listitem> + <simpara> + Date - Aktuelle Serverzeit, formatiert gemäß <ulink url="&url.rfc;2822">RFC2822</ulink> + </simpara> + </listitem> + <listitem> + <simpara> + Driver - Protokoll des Postfachs: POP3, IMAP, NNTP + </simpara> + </listitem> + <listitem> + <simpara> + Mailbox - Name des Postfachs + </simpara> + </listitem> + <listitem> + <simpara> + Nmsgs - Anzahl der Nachrichten im Postfach + </simpara> + </listitem> + <listitem> + <simpara> + Recent - Anzahl kürzlich eingetroffener Nachrichten im Postfach + </simpara> + </listitem> + </itemizedlist> + </para> + <para> + Beim Auftreten von Fehlern wird &false; zurückgegeben. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>imap_check</function> Beispiel</title> + <programlisting role="php"> +<![CDATA[ +<?php -$check = imap_check ($mbox); +$imap_obj = imap_check($imap_stream); +var_dump($imap_obj); -if($check) { - print "Date: " . $check->Date . "&lt;br>\n" ; - print "Driver: " . $check->Driver . "&lt;br>\n" ; - print "Mailbox: " . $check->Mailbox . "&lt;br>\n" ; - print "Messages: " . $check->Nmsgs . "&lt;br>\n" ; - print "Recent: " . $check->Recent . "&lt;br>\n" ; -} else { - print "imap_check() failed: " . imap_last_error() . "&lt;br>\n"; +?> +]]> + </programlisting> + &example.outputs.similar; + <screen> +<![CDATA[ +object(stdClass)(5) { + ["Date"]=> + string(37) "Wed, 10 Dec 2003 17:56:54 +0100 (CET)" + ["Driver"]=> + string(4) "imap" + ["Mailbox"]=> + string(54) + "{www.example.com:143/imap/user="foo@example.com"}INBOX" + ["Nmsgs"]=> + int(1) + ["Recent"]=> + int(0) } - -imap_close ($mbox); - </programlisting> - </example> - </para> - </refsect1> - </refentry> +]]> + </screen> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:

« previous php.doc.de (#1985) next »