Re: [PHP-GTK] GtkDialog Part 2
[email protected] (Andrei Zmievski)
| Newsgroups | php.gtk |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 22 Jul 2001, Rich Payne wrote: > > If I do that then I get: > > <br> > <b>Fatal error</b>: Class 'compose_window' does not support overloaded > method calls in <b>/home/rdp/rdp_projects/teak/compose_class.php</b> on > line <b>61</b><br> > > which comes from this line: > > $this->send_button->add($send_box); > > $send_box is just a GtkHbox. This is currently a limitation of the Zend engine. Basically, there is no way to invoke a function on a class property that is part of the overloaded property chain. You'd have to do this: $send_button = $this->send_button; $send_button->add($send_box); -Andrei * What were the first 15 billion years of the universe like for you? *