On Tue, 30 Sep 2003 19:00:18 -0400
"Geoff Hellstrand" <[EMAIL PROTECTED]> wrote:

> 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
> 

$a->$b->$c->method();

--
Raquel
============================================================
We must learn to live together as brothers or perish together as
fools.
  --Martin Luther King, Jr.

--
Raquel
============================================================
We must learn to live together as brothers or perish together as
fools.
  --Martin Luther King, Jr.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to