reference/com/functions/com-load-typelib.xml
b9043112d87ec0ca6db17276d7013acc2368ed33
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xml:id='function.com-load-typelib' xmlns="http://docbook.org/ns/docbook">
3
+
<refentry xml:id="function.com-load-typelib" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>com_load_typelib</refname>
6
6
<refpurpose>Loads a Typelib</refpurpose>
...
...
@@ -9,20 +9,20 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>bool</type><methodname>com_load_typelib</methodname>
12
-
<methodparam><type>string</type><parameter>typelib_name</parameter></methodparam>
13
-
<methodparam choice="opt"><type>bool</type><parameter>case_insensitive</parameter><initializer>true</initializer></methodparam>
12
+
<methodparam><type>string</type><parameter>typelib</parameter></methodparam>
13
+
<methodparam choice="opt"><type>bool</type><parameter>case_insensitive</parameter><initializer>&true;</initializer></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Loads a type-library and registers its constants in the engine, as though
17
17
they were defined using <function>define</function>.
18
18
</para>
19
19
<para>
20
-
Note that it is much more efficient to use the <xref
21
-
linkend="ini.com.typelib-file"/> configuration setting to pre-load and
20
+
Note that it is much more efficient to use the <link
21
+
linkend="ini.com.typelib-file">com.typelib-file</link> &php.ini; setting to pre-load and
22
22
register the constants, although not so flexible.
23
23
</para>
24
24
<para>
25
-
If you have turned on <xref linkend="ini.com.autoregister-typelib"/>, then
25
+
If <link linkend="ini.com.autoregister-typelib">com.autoregister-typelib</link> is turned on, then
26
26
PHP will attempt to automatically register the constants associated with a
27
27
COM object when you instantiate it. This depends on the interfaces
28
28
provided by the COM object itself, and may not always be possible.
...
...
@@ -33,10 +33,10 @@
33
33
<para>
34
34
<variablelist>
35
35
<varlistentry>
36
-
<term><parameter>typelib_name</parameter></term>
36
+
<term><parameter>typelib</parameter></term>
37
37
<listitem>
38
38
<para>
39
-
<parameter>typelib_name</parameter> can be one of the following:
39
+
<parameter>typelib</parameter> can be one of the following:
40
40
<itemizedlist>
41
41
<listitem>
42
42
<para>
...
...
@@ -68,8 +68,8 @@
68
68
<term><parameter>case_insensitive</parameter></term>
69
69
<listitem>
70
70
<para>
71
-
The <parameter>case_insensitive</parameter> behaves in the same way as
72
-
the parameter with the same name in the <function>define</function>
71
+
The <parameter>case_insensitive</parameter> behaves inversely to
72
+
the parameter <literal>$case_insensitive</literal> in the <function>define</function>
73
73
function.
74
74
</para>
75
75
</listitem>
...
...
@@ -84,7 +84,6 @@
84
84
</para>
85
85
</refsect1>
86
86
</refentry>
87
-

88
87
<!-- Keep this comment at the end of the file
89
88
Local variables:
90
89
mode: sgml
91
90