mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-26 18:02:17 +01:00
119 lines
3.4 KiB
XML
119 lines
3.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 3a16221dd925e5dfbb913b33d7fef03bc445795b Maintainer: yannick Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
|
|
<refentry xml:id="function.fdf-set-value" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>fdf_set_value</refname>
|
|
<refpurpose>Modifie la valeur d'un champ FDF</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>bool</type><methodname>fdf_set_value</methodname>
|
|
<methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>fieldname</parameter></methodparam>
|
|
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
|
|
<methodparam choice="opt"><type>int</type><parameter>isName</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Modifie la valeur d'un champ FDF.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>fdf_document</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
Le gestionnaire de document FDF, retourné par la fonction
|
|
<function>fdf_create</function>, la fonction
|
|
<function>fdf_open</function> ou la fonction
|
|
<function>fdf_open_string</function>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>fieldname</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
Nom du champ FDF, sous la forme d'une &string;.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>value</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
Ce paramètre devra être stocké comme une chaîne de caractères
|
|
même si c'est un tableau. Dans ce cas, tous les éléments du tableau
|
|
seront stockés comme un tableau de valeur.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>isName</parameter></term>
|
|
<listitem>
|
|
<note>
|
|
<para>
|
|
Dans les anciennes versions de la suite FDF, le dernier paramètre déterminait si la valeur
|
|
du champs devait être convertie en un nom PDF (<parameter>isname</parameter> = 1)
|
|
ou positionnée comme une chaîne de caractères (<parameter>isname</parameter> = 0).
|
|
</para>
|
|
<para>
|
|
La valeur n'est plus dans la suite actuelle, version 5.0. Pour des raisons de compatibilité,
|
|
cela est toujours supporté comme un paramètre optionnel, mais ignoré en
|
|
interne.
|
|
</para>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
&return.success;
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member><function>fdf_get_value</function></member>
|
|
<member><function>fdf_remove_item</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
|
|
-->
|