mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-04-24 00:58:12 +02:00
14a38b9fd1
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@162926 c90b9560-bf6c-de11-be94-00142212c4b1
69 lines
2.2 KiB
XML
69 lines
2.2 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.7 $ -->
|
|
<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready -->
|
|
<refentry id="function.pg-lo-import">
|
|
<refnamediv>
|
|
<refname>pg_lo_import</refname>
|
|
<refpurpose>Importe un objet de grande taille depuis un fichier</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>pg_lo_import</methodname>
|
|
<methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>pathname</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Dans les versions antérieures à &php; 4.2.0, la syntaxe de cette fonction
|
|
était différente. Voici la définition :
|
|
</para>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>pg_lo_import</methodname>
|
|
<methodparam><type>string</type><parameter>pathname</parameter></methodparam>
|
|
<methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<parameter>pathname</parameter> est le chemin jusqu'à un fichier
|
|
qui servira de source pour créer un objet de grande taille.
|
|
<function>pg_lo_import</function> retourne &false; en cas d'erreur, et sinon
|
|
un identifiant d'objet, créé directement à la bonne taille.
|
|
</para>
|
|
<para>
|
|
Pour utiliser un objet de grande taille (<literal>lo</literal>), il est
|
|
nécessaire de le faire dans une transaction.
|
|
</para>
|
|
¬e.sm.uidcheck;
|
|
<note>
|
|
<para>
|
|
Auparavant, cette fonction s'appelait <literal>pg_loimport()</literal>.
|
|
</para>
|
|
</note>
|
|
<para>
|
|
Voir aussi
|
|
<function>pg_lo_export</function> et
|
|
<function>pg_lo_open</function>.
|
|
</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
|
|
-->
|