Text_Plain_Link.php 863 B

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