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

From: Date: Fri, 16 Feb 2007 18:59:47 +0000
Subject: cvs: phpdoc-de /reference/imap/functions imap-thread.xml
Groups: php.doc.de 
Request: Send a blank email to doc-de+get-2004@lists.php.net to get a copy of this message
hholzgra Fri Feb 16 18:59:47 2007 UTC Added files: /phpdoc-de/reference/imap/functions imap-thread.xml Log: added translation http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/imap/functions/imap-thread.xml?view=markup&rev=1.1 Index: phpdoc-de/reference/imap/functions/imap-thread.xml +++ phpdoc-de/reference/imap/functions/imap-thread.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.8 Maintainer: hholzgra Status: ready --> <refentry id='function.imap-thread'> <refnamediv> <refname>imap_thread</refname> <refpurpose>Liefert einen Baum zusammenhängender Nachrichten</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>array</type><methodname>imap_thread</methodname> <methodparam><type>resource</type><parameter>imap_stream</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam> </methodsynopsis> <para> Liefert einen Baum von zusammenhängenden Nachrichten. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> &imap.imap-stream.description; <varlistentry> <term><parameter>options</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> <function>imap_thread</function> liefert ein assoziatives Array von Nachrichten die über <literal>REFERENCES</literal> verknüpft sind oder &false; bei Fehlern. </para> <para> Jede Nachricht im aktuellen Postfach wird im zurückgegebenen Array durch drei Einträge repräsentiert: <itemizedlist> <listitem><para> <varname>$thread["XX.num"]</varname> - aktuelle Nachrichtennummer </para></listitem> <listitem><para> <varname>$thread["XX.next"]</varname> </para></listitem> <listitem><para> <varname>$thread["XX.branch"]</varname> </para></listitem> </itemizedlist> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>imap_thread</function> Example</title> <programlisting role="php"> <![CDATA[ <?php // Ausgabe der verschiedenen Themenstränge einer Newsgroup in HTML $nntp = imap_open('{news.example.com:119/nntp}some.newsgroup', '', ''); $threads = imap_thread($nntp); foreach ($threads as $key => $val) { $tree = explode('.', $key); if ($tree[1] == 'num') { $header = imap_headerinfo($nntp, $val); echo "<ul>\n\t<li>" . $header->fromaddress . "\n"; } elseif ($tree[1] == 'branch') { echo "\t</li>\n</ul>\n"; } } imap_close($nntp); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->

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