cvs: phpdoc-de /reference/imap/functions imap-setflag-full.xml

From: Date: Sat, 17 Feb 2007 18:10:37 +0000
Subject: cvs: phpdoc-de /reference/imap/functions imap-setflag-full.xml
Groups: php.doc.de 
Request: Send a blank email to doc-de+get-2011@lists.php.net to get a copy of this message
hholzgra Sat Feb 17 18:10:37 2007 UTC Modified files: /phpdoc-de/reference/imap/functions imap-setflag-full.xml Log: translation update http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/imap/functions/imap-setflag-full.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/imap/functions/imap-setflag-full.xml diff -u phpdoc-de/reference/imap/functions/imap-setflag-full.xml:1.4 phpdoc-de/reference/imap/functions/imap-setflag-full.xml:1.5 --- phpdoc-de/reference/imap/functions/imap-setflag-full.xml:1.4 Mon Jan 29 21:47:10 2007 +++ phpdoc-de/reference/imap/functions/imap-setflag-full.xml Sat Feb 17 18:10:37 2007 @@ -1,52 +1,113 @@ <?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-setflag-full' in en/ tree in rev 1.2 --> - <refentry id="function.imap-setflag-full"> - <refnamediv> - <refname>imap_setflag_full</refname> - <refpurpose>Setzt Flags einer Nachricht</refpurpose> - </refnamediv> - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>imap_setflag_full</methodname> - <methodparam><type>int</type><parameter>stream</parameter></methodparam> - <methodparam><type>string</type><parameter>sequence</parameter></methodparam> - <methodparam><type>string</type><parameter>flag</parameter></methodparam> - <methodparam><type>string</type><parameter>options</parameter></methodparam> - </methodsynopsis> - <para> - Diese Funktion setzt die übergebenen Flags für eine oder mehrere - Nachrichten. - </para> - <para> - Mögliche Flags sind "\\Seen", "\\Answered", "\\Flagged", - "\\Deleted", "\\Draft", und "\\Recent" (siehe auch <ulink - url="&url.rfc;rfc2060.html">RFC2060</ulink>) - </para> - <para> - Enthält <parameter>options</parameter> den Wert ST_UID, so werden - die übergebenen Nachrichtennummern als UIDs anstelle von Indizes - interpretiert. - </para> - <para> - <example> - <title><function>imap_setflag_full</function> Beispiel</title> - <programlisting role="php"> -$mbox = imap_open ("{your.imap.host:143}", "username", "password") - || die ("can't connect: " . imap_last_error()); +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.14 Maintainer: hholzgra Status: ready --> +<refentry id="function.imap-setflag-full"> + <refnamediv> + <refname>imap_setflag_full</refname> + <refpurpose>Setzt Nachrichtenflags</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>imap_setflag_full</methodname> + <methodparam><type>resource</type><parameter>imap_stream</parameter></methodparam> + <methodparam><type>string</type><parameter>sequence</parameter></methodparam> + <methodparam><type>string</type><parameter>flag</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam> + </methodsynopsis> + <para> + Setzt die mit <parameter>flag</parameter> angegebenen Flags + bei allen Nachrichten aus der Liste <parameter>sequence</parameter>. + <parameter>sequence</parameter>. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + &imap.imap-stream.description; + <varlistentry> + <term><parameter>sequence</parameter></term> + <listitem> + <para> + Eine Liste von Nachrichtennummern. Sie können Nachrichten mit + Komma getrennt aufzählen <literal>X,Y</literal> oder alle + Nachrichten in einem bestimmten Interval mit <literal>X:Y</literal> + auswählen. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>flag</parameter></term> + <listitem> + <para> + Die möglichen Flags die gesetzt werden können sind + <literal>\\Seen</literal>, <literal>\\Answered</literal>, + <literal>\\Flagged</literal>, <literal>\\Deleted</literal> + und <literal>\\Draft</literal> wie in + <ulink url="&url.rfc;2060">RFC2060</ulink> definiert. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>options</parameter></term> + <listitem> + <para> + Eine Bitmaske mit Optionen, zur Zeit wird nur eine Option + unterstützt: + <itemizedlist> + <listitem> + <simpara> + <constant>ST_UID</constant> - Die Nachrichtenliste + <parameter>sequence</parameter> enthält UIDs an stelle + von Nachrichtennummern + </simpara> + </listitem> + </itemizedlist> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>imap_setflag_full</function> Beispiel</title> + <programlisting role="php"> +<![CDATA[ +<?php +$mbox = imap_open("{imap.example.org:143}", "username", "password") + or die("can't connect: " . imap_last_error()); -$status = imap_setflag_full ($mbox, "2,5", "\\Seen \\Flagged"); -if (!$status) echo imap_last_error(); +$status = imap_setflag_full($mbox, "2,5", "\\Seen \\Flagged"); -imap_close ($mbox); - </programlisting> - </example> - </para> - </refsect1> - </refentry> +echo gettype($status) . "\n"; +echo $status . "\n"; + +imap_close($mbox); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>imap_clearflag_full</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:

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