How to stop CI from continuing? |
[eluser]sophistry[/eluser]
sorry to harp on _remap() again, but it does have some pretty nice uses. i think you might like this example of using _remap() in an extended controller this controller's purpose is to help you migrate an existing site, but it shows a key technique: using _remap() to transparently map to methods at any level of class heirarchy (without changing the URL). i tend to agree with the people who criticize hooks because the code becomes invisible; using _remap() in your parent controller lets you do any kind of routing in there. in my case, i needed to easily drop-in an existing (largely static, but some inline PHP) website right into a CI install and have it work properly without major mods to the code base. |
Messages In This Thread |
How to stop CI from continuing? - by El Forum - 11-19-2008, 01:52 PM
How to stop CI from continuing? - by El Forum - 11-19-2008, 02:53 PM
How to stop CI from continuing? - by El Forum - 11-19-2008, 03:06 PM
How to stop CI from continuing? - by El Forum - 11-19-2008, 04:50 PM
How to stop CI from continuing? - by El Forum - 11-19-2008, 04:59 PM
How to stop CI from continuing? - by El Forum - 11-19-2008, 05:49 PM
How to stop CI from continuing? - by El Forum - 11-19-2008, 06:51 PM
How to stop CI from continuing? - by El Forum - 11-19-2008, 07:17 PM
How to stop CI from continuing? - by El Forum - 11-19-2008, 07:18 PM
How to stop CI from continuing? - by El Forum - 11-20-2008, 05:51 AM
How to stop CI from continuing? - by El Forum - 11-20-2008, 07:46 AM
How to stop CI from continuing? - by El Forum - 11-20-2008, 08:29 AM
How to stop CI from continuing? - by El Forum - 04-11-2009, 03:11 PM
|