Welcome Guest, Not a member yet? Register   Sign In
Exit on if-statement inside controller function?
#5

[eluser]sorenchr[/eluser]
Okay, I guess I could make it something like InsiteFX suggested. (Thanks btw)
This raises a bonus question however, what if I want want to validate some data with a bunch of models and different methods inside of my controller? Wouldn't that create an ugly piece of code nested inside of 3000 if-statements?


Messages In This Thread
Exit on if-statement inside controller function? - by El Forum - 03-05-2010, 07:29 PM
Exit on if-statement inside controller function? - by El Forum - 03-05-2010, 08:10 PM
Exit on if-statement inside controller function? - by El Forum - 03-05-2010, 08:44 PM
Exit on if-statement inside controller function? - by El Forum - 03-05-2010, 11:07 PM
Exit on if-statement inside controller function? - by El Forum - 03-06-2010, 03:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB