Welcome Guest, Not a member yet? Register   Sign In
Horizontal navigation bar, how?
#2

[eluser]pistolPete[/eluser]
[quote author="gawronzo" date="1256237049"]I think, that I need assign descriptions to controllers and functions. Do you know any elegant solution (for example plugin) having similar functionality?[/quote]

I'd extend the Controller class: http://codeigniter.com/wiki/MY_Controlle...ontroller/

[quote author="gawronzo" date="1256237049"]how to get controller name and his function name calling from controller's function body?[/quote]

Either use the URI or use the Router class:
Code:
$controller = $this->router->class;
$function = $this->router->method;

You should also search the forum for "breadcrumb".


Messages In This Thread
Horizontal navigation bar, how? - by El Forum - 10-22-2009, 07:44 AM
Horizontal navigation bar, how? - by El Forum - 10-22-2009, 08:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB