Welcome Guest, Not a member yet? Register   Sign In
Where to put form callback functions?
#11

[eluser]gtech[/eluser]
the form call back mechanism always calls the CI instance after stripping off the callback_ bit..

You could create a base controller in the library directory call it My_Controller and extend from controller.. and put your callback functions in the My_Controller library

so when you create your controller extend from MY_Controller and those callback functions will be available in the CI instnace.

does that make sense?




Theme © iAndrew 2016 - Forum software by © MyBB