2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Image PNG Inline Transformations plugin for phpMyAdmin
6 * @package PhpMyAdmin-Transformations
9 if (! defined('PHPMYADMIN')) {
13 /* Get the inline transformations interface */
14 require_once 'abstract/InlineTransformationsPlugin.class.php';
17 * Handles the inline transformation for image png
19 * @package PhpMyAdmin-Transformations
22 class Image_PNG_Inline
extends InlineTransformationsPlugin
25 * Gets the plugin`s MIME type
29 public static function getMIMEType()
35 * Gets the plugin`s MIME subtype
39 public static function getMIMESubtype()
46 * Function to call Image_PNG_Inline::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.
59 * @return string Info about transformation class
61 function Image_PNG_Inline_getInfo()
63 return Image_PNG_Inline
::getInfo();