RE: [PHP] PHP OOP
| From: | Daniel Purdy | Date: | Wed, 01 Oct 2003 20:52:57 +0000 |
| Subject: | RE: [PHP] PHP OOP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-164626@lists.php.net to get a copy of this message | ||
[snip]I'm working for the first time with object orientated programming
in php and I can't figure out how to access elements or methods when you
place objects inside objects inside other objects.
my origonal idea was to use the following syntax:
$a->b->c
but this just returns:
$a->b . "->c"
Please, need advice on the finer points of OOP in PHP
[/snip]
Here is a link to an article that helped get me started on oop in php
http://www.phpbuilder.com/columns/luis20000420.php3
Daniel