| | |
| | | * @uses self::$js_commands |
| | | * @uses self::$object_handlers |
| | | */ |
| | | public public function reset() |
| | | public function reset() |
| | | { |
| | | $this->env = array(); |
| | | $this->js_env = array(); |
| | |
| | | |
| | | |
| | | /** |
| | | * Redirect to a certain url |
| | | * |
| | | * @param mixed Either a string with the action or url parameters as key-value pairs |
| | | * @see rcmail::url() |
| | | */ |
| | | public function redirect($p = array()) |
| | | { |
| | | $location = $this->app->url($p); |
| | | header('Location: ' . $location); |
| | | exit; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * Send the request output to the client. |
| | | * This will either parse a skin tempalte or send an AJAX response |
| | | * |