[eluser]ch5i[/eluser]
Hello,
I know this has been asked several times already, but I have not been able to find any good examples for this the forums.
Basically I want to make controller functions available to more than one controller, eg. generic listings or forms, so the way to do it would be to create own models/libraries (I guess).
I would like to shift form validation to a model or library so that I do not have to duplicate code.
Are there any good examples (using CI's validation class)?
Should I use models or libraries for this?
Thanks for any hints!