OOP -- passing messages between objects
| From: | Sandy Keathley | Date: | Mon, 11 Oct 2004 23:21:45 +0000 |
| Subject: | OOP -- passing messages between objects | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-199239@lists.php.net to get a copy of this message | ||
Can someone tell me the proper syntax for accessing a method in
one class from another class?
I used this, where $obj and $page are instantiated objects:
(From the $page class)
obj::getData($id);
It worked in an application on one server, failed in another
application on another server.
Thanks,
Sandy Keathley