original_string: protected function redirect($module, $action = "index", $params = array())
    {
      $module = $this->app->getModuleKey() . "=" . $module;
      $action = $action != "index" ? '&' . $this->app->getActionKey() . "=" . $action : "";
  
      foreach($params as $key => $val)
      {
        $action .= "&" . $key . "=" . $val;
      }
  
      header("Location: " . TeamSpeak3_Helper_Uri::getBaseUri() . "?" . $module . $action);
  
      exit;
    }
code: protected function redirect($module, $action = "index", $params = array())
    {
      $module = $this->app->getModuleKey() . "=" . $module;
      $action = $action != "index" ? '&' . $this->app->getActionKey() . "=" . $action : "";
  
      foreach($params as $key => $val)
      {
        $action .= "&" . $key . "=" . $val;
      }
  
      header("Location: " . TeamSpeak3_Helper_Uri::getBaseUri() . "?" . $module . $action);
  
      exit;
    }
code_tokens: protected function redirect ( $ module , $ action = "index" , $ params = array ( ) ) { $ module = $ this -> app -> getModuleKey ( ) . "=" . $ module ; $ action = $ action != "index" ? '&' . $ this -> app -> getActionKey ( ) . "=" . $ action : "" ; foreach ( $ params as $ key => $ val ) { $ action .= "&" . $ key . "=" . $ val ; } header ( "Location: " . TeamSpeak3_Helper_Uri :: getBaseUri ( ) . "?" . $ module . $ action ) ; exit ; }
docstring: Redirects the client to a specified module and action.
  
  @param  string $module
  @param  string $action
  @return void
docstring_tokens: Redirects the client to a specified module and action .