Get the name of the function ?? |
[eluser]falkencreative[/eluser]
Technically, I'm not sure if that is possible... However, if that function name is part of the URL (yoursite.com/controller/function/variables), you could grab that using the URI class's segment() function: http://ellislab.com/codeigniter/user-gui...s/uri.html Will that work? Otherwise, one other option is to pass in the name of the function as an argument: function hello($function_name) {} and to call the function: function("hello"); |
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
|