Welcome Guest, Not a member yet? Register   Sign In
Get and Override Default Controller Programmatically
#6

[eluser]TWP Marketing[/eluser]
[quote author="NeoArc" date="1343851828"]Make the necessary changes in the config/routes.php file[/quote]

This doesn't address the question.

How can we read the $routes array from the controller?

Say I wanted to do a conditional action based on the value of $routes['default_controller'].
How can I read that value?


Messages In This Thread
Get and Override Default Controller Programmatically - by El Forum - 07-31-2012, 04:42 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 07:46 AM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 07:53 AM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 10:13 AM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 01:10 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 01:42 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 01:51 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 02:00 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 02:08 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 02:12 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 02:17 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 02:24 PM
Get and Override Default Controller Programmatically - by El Forum - 08-01-2012, 02:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB