Re: [PHP] can you get the name of an object from within it's own class?

2002-09-17 Thread Simon McKenna
Yeah, my brain is broke enough already, i'll just give the class an optional 'name' property. Thanks all! "Will Steffen" <[EMAIL PROTECTED]> wrote in message 003101c25e34$2a049950$8000a8c0@william">news:003101c25e34$2a049950$8000a8c0@william... > Hehe why break your brain- give the class an id

RE: [PHP] can you get the name of an object from within it's own class?

2002-09-17 Thread Will Steffen
wots that?) hey im also a n00b so don't take my word on it - actual mileage may vary :-P Cheers Will > -Original Message- > From: Marek Kilimajer [mailto:[EMAIL PROTECTED]] > Sent: 17 September 2002 11:49 AM > To: PHP > Subject: Re: [PHP] can you get the name of an

Re: [PHP] can you get the name of an object from within it's own class?

2002-09-17 Thread lallous
even more... what if I create $c1 as a global instance and then $c1 as a local instance (inside a function) ? won't c1.log overwrite c1.log ? Elias "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > It's not possible, imagine > > $firstname = ne