Upgraded phpmyadmin to 4.0.4 (All Languages) - No modifications yet
[openemr.git] / phpmyadmin / libraries / plugins / transformations / Text_Plain_Append.class.php
blob8a102cbfdbe63b473a26cb72603c6c876b117363
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Text Plain Append Transformations plugin for phpMyAdmin
6 * @package PhpMyAdmin-Transformations
7 * @subpackage Append
8 */
9 if (! defined('PHPMYADMIN')) {
10 exit;
13 /* Get the append transformations interface */
14 require_once 'abstract/AppendTransformationsPlugin.class.php';
16 /**
17 * Handles the append transformation for text plain.
18 * Has one option: the text to be appended (default '')
20 * @package PhpMyAdmin-Transformations
21 * @subpackage Append
23 class Text_Plain_Append extends AppendTransformationsPlugin
25 /**
26 * Gets the plugin`s MIME type
28 * @return string
30 public static function getMIMEType()
32 return "Text";
35 /**
36 * Gets the plugin`s MIME subtype
38 * @return string
40 public static function getMIMESubtype()
42 return "Plain";
46 /**
47 * Function to call Text_Plain_Append::getInfo();
49 * Temporary workaround for bug #3783 :
50 * Calling a method from a variable class is not possible before PHP 5.3.
52 * This function is called by PMA_getTransformationDescription()
53 * in libraries/transformations.lib.php using a variable to construct it's name.
54 * This function then calls the static method.
56 * Don't use this function unless you are affected by the same issue.
57 * Call the static method directly instead.
59 * @deprecated
60 * @return string Info about transformation class
62 function Text_Plain_Append_getInfo()
64 return Text_Plain_Append::getInfo();