Files
php-doc-ru/reference/imap/functions/imap-fetchbody.xml
Alexey Pyltsyn 500b85ee44 IMAP: review
git-svn-id: https://svn.php.net/repository/phpdoc/ru/trunk@344677 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-16 09:08:34 +00:00

114 lines
3.7 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<refentry xml:id="function.imap-fetchbody" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imap_fetchbody</refname>
<refpurpose>Извлечь конкретную секцию тела сообщения</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>imap_fetchbody</methodname>
<methodparam><type>resource</type><parameter>imap_stream</parameter></methodparam>
<methodparam><type>int</type><parameter>msg_number</parameter></methodparam>
<methodparam><type>string</type><parameter>section</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Извлекает конкретную секцию тела сообщения.
Секции сообщения в этой функции не декодируются.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&imap.imap-stream.description;
<varlistentry>
<term><parameter>msg_number</parameter></term>
<listitem>
<para>
Номер сообщения
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>section</parameter></term>
<listitem>
<para>
Номер секции сообщения. Строка целых чисел, разделенных точками,
определяющая часть тела сообщения в соответствии со спецификацией IMAP4
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>options</parameter></term>
<listitem>
<para>
Битовая маска из одной или нескольких опций:
<itemizedlist>
<listitem>
<simpara>
<constant>FT_UID</constant> - параметр <parameter>msg_number</parameter> является UID
</simpara>
</listitem>
<listitem>
<simpara>
<constant>FT_PEEK</constant> - Не устанавливать флаг \Seen, если он уже
не установлен
</simpara>
</listitem>
<listitem>
<simpara>
<constant>FT_INTERNAL</constant> - возвращать строку во внутреннем
формате, без преобразования концов строк к CRLF.
</simpara>
</listitem>
</itemizedlist>
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Возвращает конкретную секцию тела сообщения в виде строки.
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>imap_savebody</function></member>
<member><function>imap_fetchstructure</function></member>
</simplelist>
</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:"~/.phpdoc/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
-->