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;
  }
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;
  }
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 ; }
Redirects the client to a specified module and action.

@param  string $module
@param  string $action
@return void
Redirects the client to a specified module and action .