Welcome Guest, Not a member yet? Register   Sign In
call functions in two controller problem
#1

[eluser]Unknown[/eluser]
I hava a question here that I want to call a function in Controller A, but the function itself is in Controller B,how to deal with it?Help~
#2

[eluser]John_Betong_002[/eluser]
Try searching for MY_Controller.

Basically your common function resides in MY_Controller and both Controller_A and Controller_B inherit MY_Controller.
 
 
#3

[eluser]CroNiX[/eluser]
Either that or make a library with the common functions.




Theme © iAndrew 2016 - Forum software by © MyBB