• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.