[PHP] Calling object variables is untidy and lengthy - any other ideas?

2003-10-20 Thread chris . neale
Here's the problem. I have a php script which generates a Year-on-Year change graph, works fine, does the job. I want to turn it into an object. Unfortunately I have to rename all references to variables in the object to $this-width for example. Is there a way I can just refer to them as before.

Re: [PHP] Calling object variables is untidy and lengthy - any other ideas?

2003-10-20 Thread Tom Rogers
Hi, Tuesday, October 21, 2003, 1:46:14 AM, you wrote: cnscu Here's the problem. I have a php script which generates a Year-on-Year cnscu change graph, works fine, does the job. I want to turn it into an object. cnscu Unfortunately I have to rename all references to variables in the object to

Re: [PHP] Calling object variables is untidy and lengthy - any other ideas?

2003-10-20 Thread Robert Cummings
On Mon, 2003-10-20 at 11:46, [EMAIL PROTECTED] wrote: Here's the problem. I have a php script which generates a Year-on-Year change graph, works fine, does the job. I want to turn it into an object. Unfortunately I have to rename all references to variables in the object to $this-width for