37 lines
733 B
PHP
37 lines
733 B
PHP
<?php
|
|
/**
|
|
* Application OctetStream Download Transformations plugin for phpMyAdmin
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Plugins\Transformations\Output;
|
|
|
|
use PhpMyAdmin\Plugins\Transformations\Abs\DownloadTransformationsPlugin;
|
|
|
|
/**
|
|
* Handles the download transformation for application octetstream
|
|
*/
|
|
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';
|
|
}
|
|
}
|