diff --git a/reference/com/book.xml b/reference/com/book.xml
index 804452b615..98a622175c 100644
--- a/reference/com/book.xml
+++ b/reference/com/book.xml
@@ -58,6 +58,9 @@
&reference.com.constants;
&reference.com.error-handling;
&reference.com.examples;
+ &reference.com.com;
+ &reference.com.dotnet;
+ &reference.com.variant;
&reference.com.reference;
diff --git a/reference/com/functions/class.com.xml b/reference/com/com.xml
similarity index 92%
rename from reference/com/functions/class.com.xml
rename to reference/com/com.xml
index 035543ad43..92ed3db95c 100644
--- a/reference/com/functions/class.com.xml
+++ b/reference/com/com.xml
@@ -1,25 +1,25 @@
-
-
- COM
- COM class
-
-
- $obj = new COM("Application.ID")
-
-
+
+ COM
+ The COM class
+
+
+
Description
The COM class allows you to instantiate an OLE compatible COM object and
call its methods and access its properties.
-
-
+
+ $obj = new COM("Application.ID")
+
+
+
Methods
- comCOM::COM
+ COM::COM
stringmodule_name
mixedserver_name
intcodepage
@@ -151,9 +151,9 @@
-
+
-
+
Overloaded Methods
The returned object is an overloaded object, which means that PHP does
@@ -172,9 +172,9 @@
of the class to wrap the
byref parameters.
-
+
-
+
Pseudo Methods
In PHP versions prior to 5, a number of not very pleasant hacks meant that
@@ -183,7 +183,7 @@
determine how to fix your scripts. These magic method names are case
insensitive.
-
+
voidCOM::AddRef
@@ -196,7 +196,7 @@
to the Release() method below.
-
+
voidCOM::Release
@@ -210,8 +210,8 @@
they should.
-
-
+
+
Pseudo Methods for Iterating
These pseudo methods are only available if
@@ -220,7 +220,7 @@
COM object. These methods have all been eliminated in PHP 5, and you
should use instead.
-
+
variantCOM::All
@@ -230,7 +230,7 @@
return an array containing all the elements from the iterator, but was
never completed. Do not use.
-
+
variantCOM::Next
@@ -238,22 +238,22 @@
Returns a variant representing the next element available from
the iterator, or &false; when there are no more elements.
-
+
variantCOM::Prev
Returns a variant representing the previous element available from
the iterator, or &false; when there are no more elements.
-
+
voidCOM::Reset
Rewinds the iterator back to the start.
-
-
+
+
COM examples
@@ -326,8 +326,10 @@ $conn = null;
-
-
+
+
+
+
-
-
- DOTNET
- DOTNET class
-
-
- $obj = new DOTNET("assembly", "classname")
-
-
+
+ DOTNET
+ The DOTNET class
+
+
+
Description
The DOTNET class allows you to instantiate a class from a .Net assembly and
call its methods and access its properties.
-
-
+
+ $obj = new DOTNET("assembly", "classname")
+
+
+
Methods
- stringDOTNET::DOTNET
+ DOTNET::DOTNET
stringassembly_name
stringclass_name
intcodepage
@@ -63,8 +63,10 @@
of this feature.
-
-
+
+
+
+
-
-
- VARIANT
- VARIANT class
-
-
- $vVar = new VARIANT($var)
-
-
+
+ VARIANT
+ VARIANT class
+
+
+
Description
The VARIANT is COM's equivalent of the PHP zval; it is a structure that
@@ -16,11 +13,14 @@
class provided by the COM extension allows you to have more control over
the way that PHP passes values to and from COM.
-
-
+
+ $vVar = new VARIANT($var)
+
+
+
Methods
- objectVARIANT::VARIANT
+ VARIANT::VARIANT
mixedvalue
inttype
intcodepage
@@ -125,8 +125,10 @@ print "The value is " . $v . "
";
See also variant_get_type.
-
-
+
+
+
+