DMZ 1.7.1 (DataMapper OverZealous Edition) |
[eluser]OverZealous[/eluser]
@lsemel I don't know if you are aware, but DMZ already uses the CodeIgniter Form_Validation library. Any rules under Form_Validation are available to DMZ models. You shouldn't use Form_Validation the way you have, because DMZ has internal validation routines that are called on every save. It means you don't have to manually check the rules ever. The normal usage is this: Code: $object = new Object(); |
Welcome Guest, Not a member yet? Register Sign In |