Get Class Name of an Instance in Mootools

Have you ever wanted to get the class name of an object, similar to PHP’s “__CLASSNAME__”, maybe to check what instance it is of, or maybe to use the name for something? I was in need of exactly that, so I set out to do so last night.

DIRECT LINK »

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>