Text_Plain_Link.php 692 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /**
  3. * Text Plain Link Transformations plugin for phpMyAdmin
  4. */
  5. declare(strict_types=1);
  6. namespace PhpMyAdmin\Plugins\Transformations;
  7. use PhpMyAdmin\Plugins\Transformations\Abs\TextLinkTransformationsPlugin;
  8. /**
  9. * Handles the link transformation for text plain
  10. */
  11. // @codingStandardsIgnoreLine
  12. class Text_Plain_Link extends TextLinkTransformationsPlugin
  13. {
  14. /**
  15. * Gets the plugin`s MIME type
  16. *
  17. * @return string
  18. */
  19. public static function getMIMEType()
  20. {
  21. return 'Text';
  22. }
  23. /**
  24. * Gets the plugin`s MIME subtype
  25. *
  26. * @return string
  27. */
  28. public static function getMIMESubtype()
  29. {
  30. return 'Plain';
  31. }
  32. }