Form Validation > Extend CI Base |
[eluser]Multisnet[/eluser]
When I tried to extend the Form Validation CI base class I faced a problem that I would like to share with you. Perhaps this could be useful to someone, I lost a few hours trying to solve it. Extending Form_validation CI base class in the usual way won’t work with the rules in a config file.So we need to do this: Code: function MO_Form_validation($rules = array()) I've discussed this topic in another post UPDATED!! |
Messages In This Thread |
Form Validation > Extend CI Base - by El Forum - 06-25-2009, 06:22 AM
Form Validation > Extend CI Base - by El Forum - 06-25-2009, 08:00 AM
Form Validation > Extend CI Base - by El Forum - 06-25-2009, 08:38 AM
Form Validation > Extend CI Base - by El Forum - 06-25-2009, 09:03 AM
|