pahlcon:循环调度(Dispatch Loop)或跳转

循环调度将会在分发器执行,直到没有action需要执行为止。在上面的例子中,只有一个action 被执行到。现在让我们来看下“forward”(转发)怎样才能在循环调度里提供一个更加复杂的操作流,从而将执行转发到 另一个controller/action。

$this->dispatcher->forward(array(
            "controller" => "users",
            "action" => "signin"
        ));

  

 跳转

$this->response->redirect("checkin/index");

  

原文地址:https://www.cnblogs.com/achengmu/p/6285400.html