Welcome Guest, Not a member yet? Register   Sign In
Extending Form validation Constructor Error
#2

[eluser]Pascal Kriete[/eluser]
The config array associated with the class is automatically passed to the constructor. Since your rules are probably stored in the config file, you need to account for that array:
Code:
class MY_Form_validation extends CI_Form_validation {

    function MY_Form_validation($config = array())
    {
        parent::CI_Form_validation($config);
    }
}


Messages In This Thread
Extending Form validation Constructor Error - by El Forum - 11-15-2008, 05:32 AM
Extending Form validation Constructor Error - by El Forum - 11-15-2008, 06:02 AM
Extending Form validation Constructor Error - by El Forum - 11-15-2008, 10:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB