[eluser]Brandon Taylor[/eluser]
Hi everyone,
I'm primarily a Django developer, and am having some trouble understanding how to do a couple of things in CI...
1. I have a form that is for a model. I would like to place the form validation in the model, rather than the controller for re-use. I haven't seen an example of how to do this in CI.
2. I need to write a custom validator to verify the uniqueness of email addresses. I'm assuming you can write your own validator functions, I just need to know where to put them, and then how to call it from my model on an insert or update.
I'm pretty pleased with Code Igniter compared to other PHP frameworks I've seen so far. My PHP is fairly rusty, so please bear with me as I get my bearings back.
TIA,
Brandon