Re: class instance name
| From: | Nate | Date: | Tue, 02 Apr 2002 00:06:55 +0000 |
| Subject: | Re: class instance name | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91048@lists.php.net to get a copy of this message | ||
No because it isn't the name of the class I want it is the name of the
instance of the class...
"Martin Towell" <martin.towell@world.net> wrote in message
news:6416776FCC55D511BC4E0090274EFEF508A129@exchange.world.net...
> or are you referring to this?
>
> http://www.php.net/manual/en/function.get-class.php
>
> (a function that I keep forgetting about....)
>
> Martin
>
> -----Original Message-----
> From: Erik Price [mailto:pricee@hhbrown.com]
> Sent: Tuesday, April 02, 2002 9:53 AM
> To: Nate
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] class instance name
>
>
>
> On Monday, April 1, 2002, at 06:24 PM, Nate wrote:
>
> > How do you determine the class instance name from within the class?
>
> Isn't it $this ?
>
>
>
> ----
>
> Erik Price
> Web Developer Temp
> Media Lab, H.H. Brown
> pricee@hhbrown.com
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php