Welcome Guest, Not a member yet? Register   Sign In
forwarding the request from the controller
#1

[eluser]Unknown[/eluser]
Hello,

I have a situation like, I need to call another controller function for controller. Both have nothing in common.

ex : Controller A{

function task1(){
loading view1;
}
}

Controller B{
function tast2(){
// do something here then
// call controller A:task1() here

}


Thanks in advance for you valuable suggestions.

Regards
Sri
}
#2

[eluser]InsiteFX[/eluser]
If both have nothing in common then why are you trying to do that?

If you find that you need something in different places think about creating a library or helper!

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB