Text_Plain_PreApPend.php 961 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Text Plain Prepend/Append Transformations plugin for phpMyAdmin
  5. *
  6. * @package PhpMyAdmin-Transformations
  7. * @subpackage PreApPend
  8. */
  9. namespace PhpMyAdmin\Plugins\Transformations;
  10. use PhpMyAdmin\Plugins\Transformations\Abs\PreApPendTransformationsPlugin;
  11. /**
  12. * Handles the prepend and/or append transformation for text plain.
  13. * Has two options: the text to be prepended and appended (if any, default '')
  14. *
  15. * @package PhpMyAdmin-Transformations
  16. * @subpackage PreApPend
  17. */
  18. // @codingStandardsIgnoreLine
  19. class Text_Plain_PreApPend extends PreApPendTransformationsPlugin
  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. }