array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.fdf-set-value.php', 1 => 'fdf_set_value', ), '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' => 'en', 'path' => 'reference/fdf/functions/fdf-set-value.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5 < 5.3.0, PECL fdf SVN)
fdf_set_value — Set the value of a field
Sets the value
for the given field.
fdf_document
The FDF document handle, returned by fdf_create(), fdf_open() or fdf_open_string().
fieldname
Name of the FDF field, as a string.
value
This parameter will be stored as a string unless it is an array. In this case all array elements will be stored as a value array.
isName
注意:
In older versions of the FDF toolkit last parameter determined if the field value was to be converted to a PDF Name (= 1) or set to a PDF String (= 0).
The value is no longer used in the current toolkit version 5.0. For compatibility reasons it is still supported as an optional parameter, but ignored internally.