Change object state
| From: | Info@Best-IT | Date: | Tue, 03 Jun 2003 21:34:12 +0000 |
| Subject: | Change object state | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-150079@lists.php.net to get a copy of this message | ||
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 -> SetContent($content);
$thisone -> Display();
This does not work but it illustrates what I want to do. I need to change
the content property of the "thisone" object.
R/T