[thelist] OO PHP call a method on class when instantiated

Simon Perry thelist at si-designs.co.uk
Wed Jun 15 05:01:08 CDT 2005


Hi,

I would like to call a method of my class when an instance of the class 
is instantiated but I'm at a loss as to how to do this. I have googled 
without joy. The method populates various vars that will always be 
required. At the moment I create an instance and then call the method  
but that seem inefficient. I'm sure I'm missing something very simple 
here...

Simon


More information about the thelist mailing list