mirror of
https://github.com/YunoHost-Apps/phpmyadmin_ynh.git
synced 2024-09-03 19:56:46 +02:00
43 lines
No EOL
917 B
PHP
43 lines
No EOL
917 B
PHP
<?php
|
|
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
|
/**
|
|
* Application OctetStream Download Transformations plugin for phpMyAdmin
|
|
*
|
|
* @package PhpMyAdmin-Transformations
|
|
* @subpackage Download
|
|
*/
|
|
if (! defined('PHPMYADMIN')) {
|
|
exit;
|
|
}
|
|
/* Get the download transformations interface */
|
|
require_once 'abstract/DownloadTransformationsPlugin.class.php';
|
|
|
|
/**
|
|
* Handles the download transformation for application octetstream
|
|
*
|
|
* @package PhpMyAdmin-Transformations
|
|
* @subpackage Download
|
|
*/
|
|
class Application_Octetstream_Download extends DownloadTransformationsPlugin
|
|
{
|
|
/**
|
|
* Gets the plugin`s MIME type
|
|
*
|
|
* @return string
|
|
*/
|
|
public static function getMIMEType()
|
|
{
|
|
return "Application";
|
|
}
|
|
|
|
/**
|
|
* Gets the plugin`s MIME subtype
|
|
*
|
|
* @return string
|
|
*/
|
|
public static function getMIMESubtype()
|
|
{
|
|
return "OctetStream";
|
|
}
|
|
}
|
|
?>
|