Upgraded phpmyadmin to 4.0.4 (All Languages) - No modifications yet
[openemr.git] / phpmyadmin / libraries / plugins / transformations / Application_Octetstream_Download.class.php
blob46bda7045208c49e0a8b25b932db02eb39d24473
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Application OctetStream Download Transformations plugin for phpMyAdmin
6 * @package PhpMyAdmin-Transformations
7 * @subpackage Download
8 */
9 if (! defined('PHPMYADMIN')) {
10 exit;
12 /* Get the download transformations interface */
13 require_once 'abstract/DownloadTransformationsPlugin.class.php';
15 /**
16 * Handles the download transformation for application octetstream
18 * @package PhpMyAdmin-Transformations
19 * @subpackage Download
21 class Application_Octetstream_Download extends DownloadTransformationsPlugin
23 /**
24 * Gets the plugin`s MIME type
26 * @return string
28 public static function getMIMEType()
30 return "Application";
33 /**
34 * Gets the plugin`s MIME subtype
36 * @return string
38 public static function getMIMESubtype()
40 return "OctetStream";
44 /**
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.
57 * @deprecated
58 * @return string Info about transformation class
60 function Application_Octetstream_Download_getInfo()
62 return Application_Octetstream_Download::getInfo();