2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Application OctetStream Download Transformations plugin for phpMyAdmin
6 * @package PhpMyAdmin-Transformations
9 if (! defined('PHPMYADMIN')) {
12 /* Get the download transformations interface */
13 require_once 'abstract/DownloadTransformationsPlugin.class.php';
16 * Handles the download transformation for application octetstream
18 * @package PhpMyAdmin-Transformations
19 * @subpackage Download
21 class Application_Octetstream_Download
extends DownloadTransformationsPlugin
24 * Gets the plugin`s MIME type
28 public static function getMIMEType()
34 * Gets the plugin`s MIME subtype
38 public static function getMIMESubtype()
45 * Function to call Application_Octetstream_Download::getInfo();
47 * Temporary workaround for bug #3783 :
48 * Calling a method from a variable class is not possible before PHP 5.3.
50 * This function is called by PMA_getTransformationDescription()
51 * in libraries/transformations.lib.php using a variable to construct it's name.
52 * This function then calls the static method.
54 * Don't use this function unless you are affected by the same issue.
55 * Call the static method directly instead.
58 * @return string Info about transformation class
60 function Application_Octetstream_Download_getInfo()
62 return Application_Octetstream_Download
::getInfo();