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?


Messages In This Thread
Where to put form callback functions? - by El Forum - 06-15-2009, 08:53 AM
Where to put form callback functions? - by El Forum - 06-15-2009, 08:57 AM
Where to put form callback functions? - by El Forum - 06-15-2009, 09:04 AM
Where to put form callback functions? - by El Forum - 06-15-2009, 09:08 AM
Where to put form callback functions? - by El Forum - 06-15-2009, 09:38 AM
Where to put form callback functions? - by El Forum - 06-15-2009, 09:52 AM
Where to put form callback functions? - by El Forum - 06-15-2009, 09:53 AM
Where to put form callback functions? - by El Forum - 06-15-2009, 09:54 AM
Where to put form callback functions? - by El Forum - 06-15-2009, 10:04 AM
Where to put form callback functions? - by El Forum - 06-15-2009, 10:26 AM
Where to put form callback functions? - by El Forum - 06-15-2009, 10:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB