コード例 #1
0
 /**
  * Convenience method to make invocation of forward() helper less verbose.
  *
  * @param string $controller Controller to invoke
  * @param string $action     Action to invoke
  * @param array  $params     Extra parameters for the RouteMatch object (no
  * need to provide action here, since $action takes care of that)
  *
  * @return mixed
  */
 public function forwardTo($controller, $action, $params = [])
 {
     $this->getRequest()->getQuery()->set('combined', 1);
     return parent::forwardTo($controller, $action, $params);
 }