Callbacks: Your own Validation Functions |
it can only call public functions in Form Validation. can not call private function.
is it a bug?
It's not a bug - it's a feature ;)
Try to use CI private function as workaround: PHP Code: public function _my_callback() {}
michalsn.dev - mostly about CodeIgniter
IMHO in use Callbacks Form Validation is a bad practice and it doesn't make any sense. Better extends the Form Validation Library and create your own validation rules.
|
Welcome Guest, Not a member yet? Register Sign In |