Sha256: 913c650acb54d5a7659eedbf1072d6162153849bc38a62bfbf773ed391638e19

Contents?: true

Size: 964 Bytes

Versions: 2

Compression:

Stored size: 964 Bytes

Contents

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Text Plain File Upload Input Transformations plugin for phpMyAdmin
 *
 * @package    PhpMyAdmin-Transformations
 * @subpackage TextFileUpload
 */
if (! defined('PHPMYADMIN')) {
    exit;
}

/* Get the text file upload transformations class */
require_once 'libraries/plugins/transformations/abstract/'
    . 'TextFileUploadTransformationsPlugin.class.php';

/**
 * 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";
    }
}
?>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simpletool-0.0.3 lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/input/Text_Plain_Fileupload.class.php
simpletool-0.0.2 lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/input/Text_Plain_Fileupload.class.php