2002-04-15 00:12:54 +00:00
|
|
|
<?xml version='1.0' encoding='iso-8859-1' ?>
|
2003-06-02 16:43:27 +00:00
|
|
|
<!-- $Revision: 1.3 $ -->
|
2002-04-15 00:12:54 +00:00
|
|
|
<!-- splitted from ./en/functions/hwapi.xml, last change in rev 1.1 -->
|
|
|
|
<refentry id="function.hwapi-insert">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>hw_api->insert</refname>
|
2003-06-02 16:43:27 +00:00
|
|
|
<refpurpose>Insère un nouvel objet</refpurpose>
|
2002-04-15 00:12:54 +00:00
|
|
|
</refnamediv>
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
<methodsynopsis>
|
|
|
|
<type>object</type><methodname>insert</methodname>
|
|
|
|
<methodparam><type>array</type><parameter>parameter</parameter></methodparam>
|
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
2003-06-02 16:43:27 +00:00
|
|
|
<function>hw_api->insert</function> insère un nouvel objet. Le type
|
|
|
|
d'objet peut être user, group, document ou anchor. Suivant le type
|
|
|
|
de l'autre objet, des attributs supplémentaires doivent être assignés.
|
|
|
|
Le paramètre <parameter>parameter</parameter> est un tableau qui contient
|
|
|
|
les élément obligatoires 'object' et 'content' (si l'objet est un
|
|
|
|
document) et les éléments optionnels 'parameters', 'mode' et 'attributeSelector'.
|
|
|
|
'object' doit contenir tous les attributs de l'objet.
|
|
|
|
'parameters' est un objet, qu contient les attributs supplémentaires,
|
|
|
|
comme ceux de destination (attribut 'Parent'). 'content' est une
|
|
|
|
combinaison des constantes suivantes :
|
2002-04-15 00:12:54 +00:00
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
2003-06-02 16:43:27 +00:00
|
|
|
<term><constant>HW_API_INSERT_NORMAL</constant></term>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2003-06-02 16:43:27 +00:00
|
|
|
L'object est inseré sur le serveur.
|
2002-04-15 00:12:54 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
2003-06-02 16:43:27 +00:00
|
|
|
<term><constant>HW_API_INSERT_FORCE-VERSION-CONTROL</constant></term>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
2003-06-02 16:43:27 +00:00
|
|
|
<term><constant>HW_API_INSERT_AUTOMATIC-CHECKOUT</constant></term>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
2003-06-02 16:43:27 +00:00
|
|
|
<term><constant>HW_API_INSERT_PLAIN</constant></term>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
2003-06-02 16:43:27 +00:00
|
|
|
<term><constant>HW_API_INSERT_KEEP_TIME_MODIFIED</constant></term>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
2003-06-02 16:43:27 +00:00
|
|
|
<term><constant>HW_API_INSERT_DELAY_INDEXING</constant></term>
|
2002-04-15 00:12:54 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</para>
|
|
|
|
<para>
|
2003-06-02 16:43:27 +00:00
|
|
|
Voir aussi
|
|
|
|
<function>hwapi_replace</function>.
|
2002-04-15 00:12:54 +00:00
|
|
|
</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:"../../../../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
|
|
|
|
-->
|