Aleksander Machniak
2015-06-07 a9587489473baf3854999e711083be212ca0c1c4
program/include/rcmail_output_json.php
@@ -1,6 +1,6 @@
<?php
/*
/**
 +-----------------------------------------------------------------------+
 | program/include/rcmail_output_json.php                                |
 |                                                                       |
@@ -18,7 +18,6 @@
 | Author: Aleksander Machniak <alec@alec.pl>                            |
 +-----------------------------------------------------------------------+
*/
/**
 * View class to produce JSON responses
@@ -52,7 +51,6 @@
        $this->command('set_pagetitle', empty($name) ? $title : $name.' :: '.$title);
    }
    /**
     * Register a template object handler
     *
@@ -64,7 +62,6 @@
        // ignore
    }
    /**
     * Register a list of template object handlers
     *
@@ -74,7 +71,6 @@
    {
        // ignore
    }
    /**
     * Call a client method
@@ -92,7 +88,6 @@
          $this->commands[] = $cmd;
    }
    /**
     * Add a localized label to the client environment
     */
@@ -106,7 +101,6 @@
            $this->texts[$name] = $this->app->gettext($name);
        }
    }
    /**
     * Invoke display_message command
@@ -135,7 +129,6 @@
        }
    }
    /**
     * Delete all stored env variables and commands
     */
@@ -145,7 +138,6 @@
        $this->texts = array();
        $this->commands = array();
    }
    /**
     * Redirect to a certain url
@@ -162,7 +154,6 @@
        exit;
    }
    /**
     * Send an AJAX response to the client.
     */
@@ -171,7 +162,6 @@
        $this->remote_response();
        exit;
    }
    /**
     * Show error page and terminate script execution
@@ -190,7 +180,6 @@
        $this->remote_response();
        exit;
    }
    /**
     * Send an AJAX response with executable JS code
@@ -241,7 +230,6 @@
        echo self::json_serialize($response);
    }
    /**
     * Return executable javascript code for all registered commands