Re: [PHP] Change object state

2003-06-04 Thread Lars Torben Wilson
On Tue, 2003-06-03 at 14:34, [EMAIL PROTECTED] wrote: > Is there any way I can change the state of an already instantiated object? > > ex: > > $thisone = new Object(); > > $content = something; > > $thisone -> SetContent($content); > > $thisone -> Display(); > > > That creates the object. N

[PHP] Change object state

2003-06-04 Thread [EMAIL PROTECTED]
Is there any way I can change the state of an already instantiated object? ex: $thisone = new Object(); $content = something; $thisone -> SetContent($content); $thisone -> Display(); That creates the object. Now if I want to change its content: $content = something different; $thisone ->