使用Code Igniter创建导航痕迹的最佳方法是什么? [英] What is the best way to make a breadcrumb with Code Igniter?

查看:151
本文介绍了使用Code Igniter创建导航痕迹的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



1:使用网址检索字符串



例如: $ this-> uri-> segment(2)



你知道另一种方法吗?



我真的想要你的意见

解决方案

使用网址区段专用于您的网址结构,但不一定是1:1匹配。



http://forum.codeigniter.com/thread25372.html?highlight=137949


I wonder what a best way to make a breadcrumb with Code Igniter.

1 : Retrieve the strings with URL

example : $this->uri->segment(2)

2 : Do you know another way ?

I'd really like to have your opinion

解决方案

Using URL segments is specific to how you have your URL structured - there is not always a 1:1 match.

http://forum.codeigniter.com/thread-25372.html?highlight=137949

这篇关于使用Code Igniter创建导航痕迹的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆