Function for getting name of method being executed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello;

I have begun to use get_class($this) in __construct method
to establish a way to construct custom error messages to be
returned from member methods.

Is there a similar function to get the name of the method in which
the error might occur? (to save having to hard code it in every
place where it might be necessary)

Thanks for time and attention;
JK

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux