In such case you may use the following syntax:
Code: Select all
$controller = new AnotherController();
$result = $controller->ActionName();
Moderators: alexandrleonenko, alexmst
Code: Select all
$controller = new AnotherController();
$result = $controller->ActionName();