10-26-2010, 12:02 PM
[eluser]mdvaldosta[/eluser]
I feel stupid for asking this, but I just can't find any practical examples of structuring a controller's functions to work with URI segments. Wouldn't this be better than routing them? Does anyone have any practical examples for using this very basic CI feature? I'm used to using plain old GET.
What specifically I'm after is creating a /controller/function/parameter url and working with it seemlessly in a "best practice" sort of way through the controller and views.
I feel stupid for asking this, but I just can't find any practical examples of structuring a controller's functions to work with URI segments. Wouldn't this be better than routing them? Does anyone have any practical examples for using this very basic CI feature? I'm used to using plain old GET.
What specifically I'm after is creating a /controller/function/parameter url and working with it seemlessly in a "best practice" sort of way through the controller and views.