~ubuntu-branches/ubuntu/utopic/phpmyadmin/utopic

« back to all changes in this revision

Viewing changes to libraries/plugins/transformations/Text_Plain_Append.class.php

  • Committer: Package Import Robot
  • Author(s): Michal Čihař
  • Date: 2014-05-10 16:31:42 UTC
  • mfrom: (1.2.55)
  • Revision ID: package-import@ubuntu.com-20140510163142-z03w5qirp4nnfoiy
Tags: 4:4.2.0-1
* New upstream release.
* Upgrade database for current phpMyAdmin configuration storage and
  in the configuration (Closes: #746956).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
/* vim: set expandtab sw=4 ts=4 sts=4: */
3
 
/**
4
 
 * Text Plain Append Transformations plugin for phpMyAdmin
5
 
 *
6
 
 * @package    PhpMyAdmin-Transformations
7
 
 * @subpackage Append
8
 
 */
9
 
if (! defined('PHPMYADMIN')) {
10
 
    exit;
11
 
}
12
 
 
13
 
/* Get the append transformations interface */
14
 
require_once 'abstract/AppendTransformationsPlugin.class.php';
15
 
 
16
 
/**
17
 
 * Handles the append transformation for text plain.
18
 
 * Has one option: the text to be appended (default '')
19
 
 *
20
 
 * @package    PhpMyAdmin-Transformations
21
 
 * @subpackage Append
22
 
 */
23
 
class Text_Plain_Append extends AppendTransformationsPlugin
24
 
{
25
 
    /**
26
 
     * Gets the plugin`s MIME type
27
 
     *
28
 
     * @return string
29
 
     */
30
 
    public static function getMIMEType()
31
 
    {
32
 
        return "Text";
33
 
    }
34
 
 
35
 
    /**
36
 
     * Gets the plugin`s MIME subtype
37
 
     *
38
 
     * @return string
39
 
     */
40
 
    public static function getMIMESubtype()
41
 
    {
42
 
        return "Plain";
43
 
    }
44
 
}
45
 
?>
 
 
b'\\ No newline at end of file'