Hi,
I'm searching for a way to get the name of the function I'm actually in.
I need this to write a logfile
e.g. I got a user class
class User extends BaseBean
{
$var name;
function setName($my_name)
{
$this->name = $my_name;
logData(get_class($this), $function_I_need())
}
}
the result shold be a print out like
date: User --> setName
in the logfile
but I don't know how to get the name of this function ($function_I_need())
plz help me...!