Text_Plain_Longtoipv4.php 875 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Text Plain Long To IPv4 Transformations plugin for phpMyAdmin
  5. *
  6. * @package PhpMyAdmin-Transformations
  7. * @subpackage LongToIPv4
  8. */
  9. namespace PhpMyAdmin\Plugins\Transformations;
  10. use PhpMyAdmin\Plugins\Transformations\Abs\LongToIPv4TransformationsPlugin;
  11. /**
  12. * Handles the long to ipv4 transformation for text plain
  13. *
  14. * @package PhpMyAdmin-Transformations
  15. * @subpackage LongToIPv4
  16. */
  17. // @codingStandardsIgnoreLine
  18. class Text_Plain_Longtoipv4 extends LongToIPv4TransformationsPlugin
  19. {
  20. /**
  21. * Gets the plugin`s MIME type
  22. *
  23. * @return string
  24. */
  25. public static function getMIMEType()
  26. {
  27. return "Text";
  28. }
  29. /**
  30. * Gets the plugin`s MIME subtype
  31. *
  32. * @return string
  33. */
  34. public static function getMIMESubtype()
  35. {
  36. return "Plain";
  37. }
  38. }