MLUG: Re: [MLUG] PHP OOP Question
Re: [MLUG] PHP OOP Question
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I'm writing a library to create websites in an object
oriented environment within PHP (a website compiler of
sorts).  When I create a button and produce the HTML I
also want to create a javascript function named
(buton_name)_onClick().  I would like button_name to
be the name of the instance they created.

 --- Mark Rages <EMAIL:PROTECTED> schrieb:
> On Tue, Sep 09, 2003 at 10:43:33PM +0200, Robert
> West wrote:
> > How would I retrieve the variable name of an
> instance
> > of a class.
> > 
> > eg.  $classname = new whateverclass();
> > 
> > How would I retrieve $classname from inside the
> whateverclass()?
> 
> Why?
> 
> Regards,
> Mark
> EMAIL:PROTECTED
> _______________________________________________
> members mailing list
> EMAIL:PROTECTED
> http://mlug.missouri.edu/mailman/listinfo/members 

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members