Re: [PHP] question regarding subclasses, is this possible to do

2003-12-01 Thread Curt Zirzow
* Thus wrote Luke ([EMAIL PROTECTED]): > > $test->windows->showID(); > $test->windows("Window3")->showID(); > ?> > ---end php code-- You might want to read: http://php.net/oop Curt -- If eval() is the answer, you're almost certainly asking the wrong question. -- R

[PHP] question regarding subclasses, is this possible to do

2003-12-01 Thread Luke
Hi, i was wondering if the last line of the following code is possible somehow (the second last works perfect) but say i wanted to automatically get the id (or anything else for that particular window) would it be possible? or would i have to include a new function in windows called setID or someth