Welcome Guest, Not a member yet? Register   Sign In
preparing vs validating
#4

[eluser]plainas[/eluser]
I tried and it works perfectly. One function can validate and return false if whatever validation rules are not matched, and return the prepared data otherwise.

I love this validation class. Pipping validation and preparing functions in such fashion is f... elegant. And the callback thing is damn practical.
This framework rocks.

Thank you for the quick replies and for the kick ass piece of software that CI is.


Messages In This Thread
preparing vs validating - by El Forum - 08-11-2008, 08:13 PM
preparing vs validating - by El Forum - 08-11-2008, 09:26 PM
preparing vs validating - by El Forum - 08-11-2008, 11:45 PM
preparing vs validating - by El Forum - 08-12-2008, 04:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB