I have extended CI's baked in form validation, however I'm having issues loading a language files. I have the following code:
class MY_Form_validation extends CI_Form_validation {
public function __construct() {
parent :: __construct();
$this->load->lang('raf');
}
However this throws the error:
Call to a member function lang() on a non-object
Can anyone spot the issue here?