Welcome Guest, Not a member yet? Register   Sign In
Run another function in controller class - Background process
#15

[eluser]Negligence[/eluser]
You might be able to do something like this in your Main index function, but play around with the code, I haven't tested it.

Code:
public function index()
{
   include('path/to/otherController.php');
   $controllerObj = new ControllerName();

   call_user_func(array($controllerObj, 'index'));
}


Messages In This Thread
Run another function in controller class - Background process - by El Forum - 12-11-2007, 08:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB