1- <?xml version =" 1.0" encoding =" UTF-8" ?>
2- <!-- splitted from ./it/functions/com.xml, last change in rev 1.1 -->
3- <!-- last change to 'com-load-typelib' in en/ tree in rev 1.27 -->
4- <!-- EN-Revision: n/a Maintainer: cucinato Status: ready -->
5- <!-- OLD-Revision: 1.32/EN.1.27 -->
6- <refentry xml : id =' function.com-load-typelib' xmlns =" http://docbook.org/ns/docbook" >
7- <refnamediv >
8- <refname >com_load_typelib</refname >
9- <refpurpose >Carica una Typelib</refpurpose >
10- </refnamediv >
11- <refsect1 >
12- <title >Descrizione</title >
13- <methodsynopsis >
14- <type >void</type ><methodname >com_load_typelib</methodname >
15- <methodparam ><type >string</type ><parameter >nome_typelib</parameter ></methodparam >
16- <methodparam choice =" opt" ><type >int</type ><parameter >ignora_maiuscole</parameter ></methodparam >
17- </methodsynopsis >
18- <para >
19- &warn.undocumented.func;
20- </para >
21- </refsect1 >
22- </refentry >
23-
1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <!-- EN-Revision: b9043112d87ec0ca6db17276d7013acc2368ed33 Maintainer: pastore Status: ready -->
3+ <!-- CREDITS: cucinato -->
4+ <refentry xml : id =" function.com-load-typelib" xmlns =" http://docbook.org/ns/docbook" >
5+ <refnamediv >
6+ <refname >com_load_typelib</refname >
7+ <refpurpose >Carica una Typelib</refpurpose >
8+ </refnamediv >
9+ <refsect1 role =" description" >
10+ &reftitle.description;
11+ <methodsynopsis >
12+ <type >bool</type ><methodname >com_load_typelib</methodname >
13+ <methodparam ><type >string</type ><parameter >typelib</parameter ></methodparam >
14+ <methodparam choice =" opt" ><type >bool</type ><parameter >case_insensitive</parameter ><initializer >&true; </initializer ></methodparam >
15+ </methodsynopsis >
16+ <para >
17+ Carica una type-library e registra le sue costanti nel motore, come se
18+ fossero definite usando <function >define</function >.
19+ </para >
20+ <para >
21+ Nota che è molto più efficiente utilizzare l'impostazione <link
22+ linkend =" ini.com.typelib-file" >com.typelib-file</link > in &php.ini; per pre-caricare e
23+ registrare le costanti, anche se non è così flessibile.
24+ </para >
25+ <para >
26+ Se <link linkend =" ini.com.autoregister-typelib" >com.autoregister-typelib</link > è attivo, allora
27+ PHP tenterà di registrare automaticamente le costanti associate a un
28+ oggetto COM quando lo si istanzia. Questo dipende dalle interfacce
29+ fornite dall’oggetto COM stesso e potrebbe non essere sempre possibile.
30+ </para >
31+ </refsect1 >
32+ <refsect1 role =" parameters" >
33+ &reftitle.parameters;
34+ <para >
35+ <variablelist >
36+ <varlistentry >
37+ <term ><parameter >typelib</parameter ></term >
38+ <listitem >
39+ <para >
40+ <parameter >typelib</parameter > può essere uno dei seguenti:
41+ <itemizedlist >
42+ <listitem >
43+ <para >
44+ Il nome del file di un <literal >.tlb</literal > o del modulo eseguibile
45+ che contiene la type-library.
46+ </para >
47+ </listitem >
48+ <listitem >
49+ <para >
50+ Il GUID della type-library, seguito dal numero di versione, ad esempio
51+ <literal >{00000200-0000-0010-8000-00AA006D2EA4},2,0</literal >.
52+ </para >
53+ </listitem >
54+ <listitem >
55+ <para >
56+ Il nome della type-library, ad esempio <literal >Microsoft OLE DB ActiveX Data
57+ Objects 1.0 Library</literal >.
58+ </para >
59+ </listitem >
60+ </itemizedlist >
61+ PHP tenterà di risolvere la type-library in questo ordine, poiché
62+ il processo diventa sempre più costoso man mano che si scende nella lista;
63+ la ricerca della type-library per nome viene effettuata enumerando fisicamente
64+ il registro fino a trovare una corrispondenza.
65+ </para >
66+ </listitem >
67+ </varlistentry >
68+ <varlistentry >
69+ <term ><parameter >case_insensitive</parameter ></term >
70+ <listitem >
71+ <para >
72+ Il parametro <parameter >case_insensitive</parameter > si comporta inversamente
73+ rispetto al parametro <literal >$case_insensitive</literal > nella funzione
74+ <function >define</function >.
75+ </para >
76+ </listitem >
77+ </varlistentry >
78+ </variablelist >
79+ </para >
80+ </refsect1 >
81+ <refsect1 role =" returnvalues" >
82+ &reftitle.returnvalues;
83+ <para >
84+ &return.success;
85+ </para >
86+ </refsect1 >
87+ </refentry >
2488<!-- Keep this comment at the end of the file
2589Local variables:
2690mode: sgml
40104vim600: syn=xml fen fdm=syntax fdl=2 si
41105vim: et tw=78 syn=sgml
42106vi: ts=1 sw=1
43- -->
107+ -->
0 commit comments