"get_controller()", "get_function()" and "get_parameters()" are missing.
Shuro opened this issue · comments
Hey Steven,
thank you for your great work, but I've got one problem:
https://github.com/sjlu/CodeIgniter-Bootstrap/wiki/URL
AFAIK you describe three functions that are missing:
- get_controller()
- get_function()
- get_parameters()
As a beginner with CI I wanted to use them to highlight my navbar, do you know an another way to do this?
Use the is_active
method that I provide. That helps you identify if the current path matches your site_url
method in your href.
So wrap is_active
with and if statement and provide a CSS class if so.
Okay, thanks. I had been spoiled by the functions of the symphony-framework. :)