phpmyadmin/libraries/plugins/transformations/TransformationTextPlainLongToIPv4.class.php
2012-06-07 14:57:14 +03:00

57 lines
1.1 KiB
PHP

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Text Plain Long To IPv4 Transformations plugin for phpMyAdmin
*
* @package PhpMyAdmin-Transformations
* @subpackage Long To IPv4
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/* Get the long to ipv4 transformations interface */
require_once "libraries/plugins/abstract/LongToIPv4TransformationsPlugin.class.php";
/**
* Handles the long to ipv4 transformation for text plain
*
* @package PhpMyAdmin
*/
class TransformationTextPlainLongToIPv4
extends LongToIPv4TransformationsPlugin
{
/**
* Gets the transformation description of the specific plugin
*
* @return string
*/
public function getInfo()
{
return __(
'Converts an (IPv4) Internet network address into a string in'
. ' Internet standard dotted format.'
);
}
/**
* Gets the plugin`s MIME type
*
* @return string
*/
public function getMIMEType()
{
return "Text";
}
/**
* Gets the plugin`s MIME subtype
*
* @return string
*/
public function getMIMESubtype()
{
return "Plain";
}
}
?>