File was renamed from program/lib/Roundcube/rcube_output_json.php |
| | |
| | | |
| | | /* |
| | | +-----------------------------------------------------------------------+ |
| | | | program/include/rcube_output_json.php | |
| | | | program/include/rc,aiƶ_output_json.php | |
| | | | | |
| | | | This file is part of the Roundcube Webmail client | |
| | | | Copyright (C) 2008-2012, The Roundcube Dev Team | |
| | |
| | | /** |
| | | * View class to produce JSON responses |
| | | * |
| | | * @package Framework |
| | | * @package Core |
| | | * @subpackage View |
| | | */ |
| | | class rcube_output_json extends rcube_output |
| | | class rcmail_output_json extends rcmail_output |
| | | { |
| | | protected $texts = array(); |
| | | protected $commands = array(); |
| | |
| | | { |
| | | $location = $this->app->url($p); |
| | | $this->remote_response(sprintf("window.setTimeout(function(){ %s.redirect('%s',true); }, %d);", |
| | | rcmail::JS_OBJECT_NAME, $location, $delay)); |
| | | self::JS_OBJECT_NAME, $location, $delay)); |
| | | exit; |
| | | } |
| | | |