by mgkimsal · 14y ago · 0 comments
I'm assuming you could put a static $validationRules on a model and grab it in a controller for validation, but that it's not described/recommended/defaulting to that behaviour is a bit disappointing.
There's no reason to tie a validation system into a model. That's enough justification for it not to be done. You have the flexibility to implement it easily in whatever way you see fit.
Hell - why have models? There's no reason to tie a model in to a framework - just be flexible and do it however you want, right?