41 lines
889 B
PHP
41 lines
889 B
PHP
<?php
|
|
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
|
/**
|
|
* Text Plain File Upload Input Transformations plugin for phpMyAdmin
|
|
*
|
|
* @package PhpMyAdmin-Transformations
|
|
* @subpackage TextFileUpload
|
|
*/
|
|
namespace PMA\libraries\plugins\transformations\input;
|
|
|
|
use PMA\libraries\plugins\transformations\abs\TextFileUploadTransformationsPlugin;
|
|
|
|
/**
|
|
* Handles the input text file upload transformation for text plain.
|
|
*
|
|
* @package PhpMyAdmin-Transformations
|
|
* @subpackage TextFileUpload
|
|
*/
|
|
class Text_Plain_FileUpload extends TextFileUploadTransformationsPlugin
|
|
{
|
|
/**
|
|
* Gets the plugin`s MIME type
|
|
*
|
|
* @return string
|
|
*/
|
|
public static function getMIMEType()
|
|
{
|
|
return "Text";
|
|
}
|
|
|
|
/**
|
|
* Gets the plugin`s MIME subtype
|
|
*
|
|
* @return string
|
|
*/
|
|
public static function getMIMESubtype()
|
|
{
|
|
return "Plain";
|
|
}
|
|
}
|