![]() |
Setting Variable within form_validation from XXX extends form_validation - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Setting Variable within form_validation from XXX extends form_validation (/showthread.php?tid=14257) |
Setting Variable within form_validation from XXX extends form_validation - El Forum - 12-24-2008 [eluser]amites[/eluser] Hello, I am attempting to build a function to add multiple groups of config rules for a single run, what I have here works, it sets $this->_form_data properly Code: class MultiValid extends CI_Form_validation { trick is that when I reference form_validation it doesn't acknowledge the changes from this child class, ex: I can reference $this->multidata->_form_data filled with values when I reference $this->form_validation->_form_data empty any ideas? |