Welcome Guest, Not a member yet? Register   Sign In
Does all controller should have index()?
#2

[eluser]Otemu[/eluser]
I normally have an index in all my controllers, however this isn't a requirement if your not concerned with the first segment of the URL.
Quote:The "index" function is always loaded by default if the second segment of the URI is empty.
check out the guide for more info on controllers


Messages In This Thread
Does all controller should have index()? - by El Forum - 05-31-2012, 01:37 AM
Does all controller should have index()? - by El Forum - 05-31-2012, 01:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB