【发布时间】:2015-03-12 07:58:58
【问题描述】:
我必须从一个控制器调用一个函数到另一个控制器。
我需要从 testController 中的 testAction() 调用另一个控制器中的 indexAction() 函数。
我怎么称呼那个。我试过下面的。但这似乎不起作用。请给我建议。
$this->_redirect("./admin/another/index", array("group_id" => $group_id));
$this->_forward($action = 'indexAction', $controller = 'adminhtml_another', $module = 'custommodule');
【问题讨论】:
标签: magento redirect module controller