<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.fdf.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'function.fdf-set-value.php',
    1 => 'fdf_set_value',
    2 => 'フィールドの値を設定する',
  ),
  'up' => 
  array (
    0 => 'ref.fdf.php',
    1 => 'FDF 関数',
  ),
  'prev' => 
  array (
    0 => 'function.fdf-set-target-frame.php',
    1 => 'fdf_set_target_frame',
  ),
  'next' => 
  array (
    0 => 'function.fdf-set-version.php',
    1 => 'fdf_set_version',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/fdf/functions/fdf-set-value.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.fdf-set-value" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">fdf_set_value</h1>
  <p class="verinfo">(PHP 4, PHP 5 &lt; 5.3.0, PECL fdf SVN)</p><p class="refpurpose"><span class="refname">fdf_set_value</span> &mdash; <span class="dc-title">フィールドの値を設定する</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.fdf-set-value-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>fdf_set_value</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$fdf_document</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$fieldname</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$value</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$isName</code><span class="initializer"> = ?</span></span><br>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="simpara">
   指定したフィールドに値 <code class="parameter">value</code> を設定します。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.fdf-set-value-parameters">
  <h3 class="title">パラメータ</h3>
  <dl>
   
    <dt><code class="parameter">fdf_document</code></dt>
    <dd>
     <span class="simpara">
      <span class="function"><a href="function.fdf-create.php" class="function">fdf_create()</a></span>、
      <span class="function"><a href="function.fdf-open.php" class="function">fdf_open()</a></span> あるいは <span class="function"><a href="function.fdf-open-string.php" class="function">fdf_open_string()</a></span>
      が返す FDF ドキュメントハンドル。
     </span>
    </dd>
   
   
    <dt><code class="parameter">fieldname</code></dt>
    <dd>
     <span class="simpara">
      FDF フィールド名を表す文字列。
     </span>
    </dd>
   
   
    <dt><code class="parameter">value</code></dt>
    <dd>
     <span class="simpara">
      このパラメータは、配列形式でない限り文字列で保存されます。
      配列の場合は、配列のすべての要素が配列として保存されます。
     </span>
    </dd>
   
   
    <dt><code class="parameter">isName</code></dt>
    <dd>
     <blockquote class="note"><p><strong class="note">注意</strong>: 
      <span class="simpara">
       FDF ツールキットの古いバージョンでは、最後のパラメータは
       フィールドの値を PDF Name に変換する
       (= 1) か、PDF String に設定する
       (= 0) かを定義します。
      </span>
      <span class="simpara">
       ツールキットの現在のバージョン 5.0 では、もはやこのパラメータは
       使用されません。互換性を確保するためにこのパラメータが
       オプションとして残されていますが、内部ではこのパラメータは無視されます。
      </span>
     </p></blockquote>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.fdf-set-value-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="simpara">
   成功した場合に <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> を、失敗した場合に <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> を返します。
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.fdf-set-value-seealso">
  <h3 class="title">参考</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.fdf-get-value.php" class="function" rel="rdfs-seeAlso">fdf_get_value()</a> - フィールドの値を得る</span></li>
   <li><span class="function"><a href="function.fdf-remove-item.php" class="function" rel="rdfs-seeAlso">fdf_remove_item()</a> - フォームのターゲットフレームを設定する</span></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>