Upgraded phpmyadmin to 4.0.4 (All Languages) - No modifications yet
[openemr.git] / phpmyadmin / libraries / plugins / transformations / Application_Octetstream_Hex.class.php
blobf876abbe3071e6c08b690fcd92d833e525833455
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Application OctetStream Hex Transformations plugin for phpMyAdmin
6 * @package PhpMyAdmin-Transformations
7 * @subpackage Hex
8 */
9 if (! defined('PHPMYADMIN')) {
10 exit;
13 /* Get the hex transformations interface */
14 require_once 'abstract/HexTransformationsPlugin.class.php';
16 /**
17 * Handles the hex transformation for application octetstream
19 * @package PhpMyAdmin-Transformations
20 * @subpackage Hex
22 class Application_Octetstream_Hex extends HexTransformationsPlugin
24 /**
25 * Gets the plugin`s MIME type
27 * @return string
29 public static function getMIMEType()
31 return "Application";
34 /**
35 * Gets the plugin`s MIME subtype
37 * @return string
39 public static function getMIMESubtype()
41 return "OctetStream";
45 /**
46 * Function to call Application_Octetstream_Hex::getInfo();
48 * Temporary workaround for bug #3783 :
49 * Calling a method from a variable class is not possible before PHP 5.3.
51 * This function is called by PMA_getTransformationDescription()
52 * in libraries/transformations.lib.php using a variable to construct it's name.
53 * This function then calls the static method.
55 * Don't use this function unless you are affected by the same issue.
56 * Call the static method directly instead.
58 * @deprecated
59 * @return string Info about transformation class
61 function Application_Octetstream_Hex_getInfo()
63 return Application_Octetstream_Hex::getInfo();