Re: [PHP] PHP4: calling method on returned object

2006-03-30 Thread Jasper Bryant-Greene
Karl Glennon wrote: [snip] I expected to have the ability to get the url of a location's map with the floowing statement: print $this->Location->GetMap()->GetUrl(); [snip] Is there any other syntax in PHP4 to allow me to concisely call a method on a return object? eg. ($this->Location->GetMap

Re: [PHP] PHP4: calling method on returned object

2006-03-30 Thread Petar Nedyalkov
On Thursday 30 March 2006 14:05, Karl Glennon wrote: > Hi there, > > I have an object structure, whereby a location object contains a method > to return it's map object. The map object contains a method to return > it's URL. > > I expected to have the ability to get the url of a location's map with

[PHP] PHP4: calling method on returned object

2006-03-30 Thread Karl Glennon
Hi there, I have an object structure, whereby a location object contains a method to return it's map object. The map object contains a method to return it's URL. I expected to have the ability to get the url of a location's map with the floowing statement: print $this->Location->GetMap()->