I posted this to the notes page of the COM PHP documentation... I will
post an update there if I find a solution here.
I have need for a commercial COM/DOTNET class library that requires a
paramater to be passed when the object is created.
It does not appear as though PHP allows for the instantiation of
COM/DOTNET objects that require a parameter to be passed to their
constructor... I am not sure if I am being clear, but suppose to create
a new Mercedes you would use:
$car = new COM("Car.Mercedes");
What if the constructor for that class required that you specified a
model of the car in order to instantiate it?
e.g.:
$car = new COM("Car.Mercedes('SL600')");
....or something like that. Is it possible? Is there a work-around?
Thanks,
Matt