mirror of
https://github.com/bcit-ci/CodeIgniter.git
synced 2025-02-20 11:13:29 +08:00
...
parent
7263c7b400
commit
86ed6559a4
@ -1,7 +1,7 @@
|
||||
DrF Reverse Routing is an extension of the URL Helper that overrides the site_url function to provide a reverse lookup. If a custom route can be found that matches the given "standard CodeIgniter URI", a custom route URI will be created and returned. Otherwise, a standard site_url will be returned.
|
||||
|
||||
[h2]Overview[/h2]
|
||||
- Translates a "standard CodeIgniter URI" into a custom route if possible
|
||||
- Translates a "standard CodeIgniter URI" into a custom route if possible. Standard, in this case, means 'controller/function/param1/param2/.../paramN'
|
||||
- Fails gracefully, providing a standard site_url if no route can be found/translated
|
||||
- Works automatically with all of URL Helper's functions
|
||||
- Idea inspired by CakePHP's reverse routing
|
||||
|
Loading…
x
Reference in New Issue
Block a user