38 lines
718 B
PHP
38 lines
718 B
PHP
<?php
|
|
/**
|
|
* Text Plain Long To IPv4 Transformations plugin for phpMyAdmin
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Plugins\Transformations;
|
|
|
|
use PhpMyAdmin\Plugins\Transformations\Abs\LongToIPv4TransformationsPlugin;
|
|
|
|
/**
|
|
* Handles the long to ipv4 transformation for text plain
|
|
*/
|
|
// @codingStandardsIgnoreLine
|
|
class Text_Plain_Longtoipv4 extends LongToIPv4TransformationsPlugin
|
|
{
|
|
/**
|
|
* 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';
|
|
}
|
|
}
|