Source of: /manual/zh/function.imap-bodystruct.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.imap.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'zh',
),
'this' =>
array (
0 => 'function.imap-bodystruct.php',
1 => 'imap_bodystruct',
),
'up' =>
array (
0 => 'ref.imap.php',
1 => 'IMAP 函数',
),
'prev' =>
array (
0 => 'function.imap-body.php',
1 => 'imap_body',
),
'next' =>
array (
0 => 'function.imap-check.php',
1 => 'imap_check',
),
'alternatives' =>
array (
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="function.imap-bodystruct" class="refentry">
<div class="refnamediv">
<h1 class="refname">imap_bodystruct</h1>
<p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">imap_bodystruct</span> — <span class="dc-title">Read the structure of a specified body section of a specific message</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.imap-bodystruct-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="type">object</span> <span class="methodname"><strong>imap_bodystruct</strong></span>
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$imap_stream</code></span>
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$msg_number</code></span>
, <span class="methodparam"><span class="type">string</span> <code class="parameter">$section</code></span>
)</div>
<p class="para rdfs-comment">
Read the structure of a specified body section of a specific message.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.imap-bodystruct-parameters">
<h3 class="title">参数</h3>
<p class="para">
<dl>
<dt>
<span class="term"><em><code class="parameter">
imap_stream</code></em></span><dd>
<p class="para">由 <span class="function"><a href="function.imap-open.php" class="function">imap_open()</a></span> 返回的 IMAP 流。</p></dd>
</dt>
<dt>
<span class="term"><em><code class="parameter">msg_number</code></em></span>
<dd>
<p class="para">
The message number
</p>
</dd>
</dt>
<dt>
<span class="term"><em><code class="parameter">section</code></em></span>
<dd>
<p class="para">
The body section to read
</p>
</dd>
</dt>
</dl>
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.imap-bodystruct-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
Returns the information in an object, for a detailed description
of the object structure and properties see
<span class="function"><a href="function.imap-fetchstructure.php" class="function">imap_fetchstructure()</a></span>.
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.imap-bodystruct-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"> <span class="function"><a href="function.imap-fetchstructure.php" class="function" rel="rdfs-seeAlso">imap_fetchstructure()</a> - Read the structure of a particular message</span></li>
</ul>
</p>
</div>
</div><?php manual_footer(); ?>