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

From: Date: Sat, 17 Feb 2007 21:49:49 +0000
Subject: cvs: phpdoc-de /reference/imap/functions imap-mailboxmsginfo.xml
Groups: php.doc.de 
Request: Send a blank email to doc-de+get-2020@lists.php.net to get a copy of this message
hholzgra Sat Feb 17 21:49:49 2007 UTC Modified files: /phpdoc-de/reference/imap/functions imap-mailboxmsginfo.xml Log: translation update http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/imap/functions/imap-mailboxmsginfo.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/imap/functions/imap-mailboxmsginfo.xml diff -u phpdoc-de/reference/imap/functions/imap-mailboxmsginfo.xml:1.4 phpdoc-de/reference/imap/functions/imap-mailboxmsginfo.xml:1.5 --- phpdoc-de/reference/imap/functions/imap-mailboxmsginfo.xml:1.4 Mon Jan 29 21:47:10 2007 +++ phpdoc-de/reference/imap/functions/imap-mailboxmsginfo.xml Sat Feb 17 21:49:49 2007 @@ -1,90 +1,119 @@ <?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-mailboxmsginfo' in en/ tree in rev 1.33 --> - <refentry id="function.imap-mailboxmsginfo"> - <refnamediv> - <refname>imap_mailboxmsginfo</refname> - <refpurpose> - Liefert Informationen über das aktuelle Postfach - </refpurpose> - </refnamediv> - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <type>object</type><methodname>imap_mailboxmsginfo</methodname> - <methodparam><type>int</type><parameter>imap_stream</parameter></methodparam> - </methodsynopsis> - <para> - Diese Funktion liefert dieselben Informationen wie - <function>imap_status</function> sowie zusätzlich die Größe - des Postfachs in Bytes. Diese wird aus der Summe der Größe der - einzelnen Nachrichten gebildet, deshalb benötigt diese Funktion - mehr Zeit zur Ausführung als <function>imap_status</function>. - </para> - <para> - <table> - <title>Felder des Rückgabe-Objekts</title> - <tgroup cols="2"> - <tbody> - <row> - <entry>Date </entry> - <entry>Datum der letzten Änderung </entry> - </row> - <row> - <entry>Driver </entry> - <entry>Driver </entry> - </row> - <row> - <entry>Mailbox</entry> - <entry>Name des Postfachs </entry> - </row> - <row> - <entry>Nmsgs </entry> - <entry>Anzahl der Nachrichten </entry> - </row> - <row> - <entry>Recent </entry> - <entry>Anzahl neuer Nachrichten </entry> - </row> - <row> - <entry>Unread </entry> - <entry>Anzahl ungelesener Nachrichten</entry> - </row> - <row> - <entry>Size </entry> - <entry>Größe des Postfachs in Byte </entry> - </row> - </tbody> - </tgroup> - </table> - </para> - <para> - <example> - <title><function>imap_mailboxmsginfo</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-mailboxmsginfo"> + <refnamediv> + <refname>imap_mailboxmsginfo</refname> + <refpurpose>Informationen zum aktuellen Postfach</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>object</type><methodname>imap_mailboxmsginfo</methodname> + <methodparam><type>resource</type><parameter>imap_stream</parameter></methodparam> + </methodsynopsis> + <para> + Prüft den aktuelle Status des Postfachs auf dem Server. Die Funktion + ist vergleichbar mit <function>imap_status</function>, liefert aber + zusätzlich auch die Gesamtgröße aller Nachrichten in Bytes. + Das Aufsummieren der einzelnen Nachrichtengrößen benötigt dabei + zusätzliche Zeit zur Ausführung. + execute. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + &imap.imap-stream.description; + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Die Ergebnisse werden in einem Objekt mit folgenden Properties + zurückgegeben: + <table> + <title>Postfach Eigenschaften</title> + <tgroup cols="2"> + <tbody> + <row> + <entry>Date</entry> + <entry>Zeitpunkt der letzten Änderung</entry> + </row> + <row> + <entry>Driver</entry> + <entry>Treiber</entry> + </row> + <row> + <entry>Mailbox</entry> + <entry>Name des Postfachs</entry> + </row> + <row> + <entry>Nmsgs</entry> + <entry>Anzahl der Nachrichten</entry> + </row> + <row> + <entry>Recent</entry> + <entry>Anzahl der kürzlich eingetroffenen Nachrichten</entry> + </row> + <row> + <entry>Unread</entry> + <entry>Anzal der ungelesenen Nachrichten</entry> + </row> + <row> + <entry>Deleted</entry> + <entry>Anzahl der gelöschten Nachrichten</entry> + </row> + <row> + <entry>Size</entry> + <entry>Gesamtgröße des Postfachs in Bytes</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + <para> + Sollten Fehler auftreten so wird &false; zurückgegeben. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>imap_mailboxmsginfo</function> Beispiel</title> + <programlisting role="php"> +<![CDATA[ +<?php -$check = imap_mailboxmsginfo ($mbox); +$mbox = imap_open("{imap.example.org}INBOX", "username", "password") + or die("can't connect: " . imap_last_error()); + +$check = imap_mailboxmsginfo($mbox); 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"; - print "Size: " . $check->Size . "&lt;br>\n"; + echo "Date: " . $check->Date . "<br />\n" ; + echo "Driver: " . $check->Driver . "<br />\n" ; + echo "Mailbox: " . $check->Mailbox . "<br />\n" ; + echo "Messages: " . $check->Nmsgs . "<br />\n" ; + echo "Recent: " . $check->Recent . "<br />\n" ; + echo "Unread: " . $check->Unread . "<br />\n" ; + echo "Deleted: " . $check->Deleted . "<br />\n" ; + echo "Size: " . $check->Size . "<br />\n" ; } else { - print "imap_check() failed: " . imap_lasterror() . "&lt;br>\n"; + echo "imap_check() failed: " . imap_last_error() . "<br />\n"; } -imap_close ($mbox); - </programlisting> - </example> - </para> - </refsect1> - </refentry> + +imap_close($mbox); + +?> +]]> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:

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