unsetting an instance from within its class
| From: | Erik Price | Date: | Wed, 10 Apr 2002 16:04:24 +0000 |
| Subject: | unsetting an instance from within its class | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-92414@lists.php.net to get a copy of this message | ||
Is there a way to unset or destroy an object instance from a method within its class? I'm trying to write a method that destroys its instance but I'm not sure how to refer to the object itself from within the class.
Erik
----
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
pricee@hhbrown.com