📄 function.fdf-get-value.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Get the value of a field</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.fdf-get-status.html">fdf_get_status</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.fdf-get-version.html">fdf_get_version</a></div> <div class="up"><a href="ref.fdf.html">FDF Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.fdf-get-value" class="refentry"> <div class="refnamediv"> <h1 class="refname">fdf_get_value</h1> <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">fdf_get_value</span> — <span class="dc-title">Get the value of a field</span></p> </div> <div class="refsect1 description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><b><b>fdf_get_value</b></b></span> ( <span class="methodparam"><span class="type">resource</span> <tt class="parameter">$fdf_document</tt></span> , <span class="methodparam"><span class="type">string</span> <tt class="parameter">$fieldname</tt></span> [, <span class="methodparam"><span class="type">int</span> <tt class="parameter">$which</tt></span> ] )</div> <p class="para rdfs-comment"> Gets the value for the requested field. </p> </div> <div class="refsect1 parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><i><tt class="parameter">fdf_document</tt></i></span> <dd> <p class="para"> The FDF document handle, returned by <a href="function.fdf-create.html" class="function">fdf_create()</a>, <a href="function.fdf-open.html" class="function">fdf_open()</a> or <a href="function.fdf-open-string.html" class="function">fdf_open_string()</a>. </p> </dd> </dt> <dt> <span class="term"><i><tt class="parameter">fieldname</tt></i></span> <dd> <p class="para"> Name of the FDF field, as a string. </p> </dd> </dt> <dt> <span class="term"><i><tt class="parameter">which</tt></i></span> <dd> <p class="para"> Elements of an array field can be retrieved by passing this optional parameter, starting at zero. For non-array fields, this parameter will be ignored. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns the field value. </p> </div> <div class="refsect1 changelog"> <h3 class="title">ChangeLog</h3> <p class="para"> <table class="informaltable"> <colgroup> <thead valign="middle"> <tr valign="middle"> <th colspan="1">Version</th> <th colspan="1">Description</th> </tr> </thead> <tbody valign="middle" class="tbody"> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">4.3.0</td> <td colspan="1" rowspan="1" align="left"> Support for arrays and the <i><tt class="parameter">which</tt></i> parameter were added. </td> </tr> </tbody> </colgroup> </table> </p> </div> <div class="refsect1 seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"><a href="function.fdf-set-value.html" class="function" rel="rdfs-seeAlso">fdf_set_value()</a></li> </ul> </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.fdf-get-status.html">fdf_get_status</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.fdf-get-version.html">fdf_get_version</a></div> <div class="up"><a href="ref.fdf.html">FDF Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -