Hi,
I'd like to get the name of the class & method I'm using.
For example :
class myclass{
function myfunction()
{
echo "class name : " . get_class($this ) ;
echo "method name : " . ?????? ;
}
}
How can I get it ?
Many thanks in advance,
--
Alex
I'd like to get the name of the class & method I'm using.
For example :
class myclass{
function myfunction()
{
echo "class name : " . get_class($this ) ;
echo "method name : " . ?????? ;
}
}
How can I get it ?
Many thanks in advance,
--
Alex
Comment