Welcome Guest, Not a member yet? Register   Sign In
Custom validation callback technique
#1

[eluser]CodeOfficer[/eluser]
This is a question regarding CI's custom validation callback technique. As far as I can tell, validation callback methods need to be in the controller class ... which is bad in my case, as multiple controllers might deal with this sort of validation potentially.

Another way I can think to get this stuff out of my controller is to extend the validation class and put them in my custom version ... yet even that doesn't seem an attractive idea at the moment. Are there other popular methods for handling this?###


Messages In This Thread
Custom validation callback technique - by El Forum - 08-30-2007, 12:59 AM
Custom validation callback technique - by El Forum - 08-30-2007, 02:44 AM
Custom validation callback technique - by El Forum - 08-30-2007, 12:30 PM
Custom validation callback technique - by El Forum - 08-30-2007, 02:41 PM
Custom validation callback technique - by El Forum - 08-30-2007, 03:54 PM
Custom validation callback technique - by El Forum - 08-30-2007, 05:24 PM
Custom validation callback technique - by El Forum - 08-30-2007, 05:34 PM
Custom validation callback technique - by El Forum - 08-30-2007, 05:59 PM
Custom validation callback technique - by El Forum - 08-30-2007, 08:17 PM
Custom validation callback technique - by El Forum - 08-31-2007, 05:51 AM
Custom validation callback technique - by El Forum - 08-31-2007, 08:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB