Welcome Guest, Not a member yet? Register   Sign In
Get the name of the function ??
#7

[eluser]flaky[/eluser]
[quote author="chefnelone" date="1275683603"]Hello

It might sound extrange but I need to dinamically grab the function name in a controller.
Something like:

Code:
function hello(){

$data['function_name'] =  ..... //here I need to dinamically grab the name of this function (which is 'hello')
}
[/quote]

Code:
$this->router->fetch_method();


Messages In This Thread
Get the name of the function ?? - by El Forum - 06-04-2010, 09:33 AM
Get the name of the function ?? - by El Forum - 06-04-2010, 09:53 AM
Get the name of the function ?? - by El Forum - 06-04-2010, 10:04 AM
Get the name of the function ?? - by El Forum - 06-04-2010, 10:09 AM
Get the name of the function ?? - by El Forum - 06-04-2010, 12:58 PM
Get the name of the function ?? - by El Forum - 06-04-2010, 03:39 PM
Get the name of the function ?? - by El Forum - 06-05-2010, 07:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB