Text_Plain_Substring.class.php 874 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Text Plain Substring Transformations plugin for phpMyAdmin
  5. *
  6. * @package PhpMyAdmin-Transformations
  7. * @subpackage Substring
  8. */
  9. if (! defined('PHPMYADMIN')) {
  10. exit;
  11. }
  12. /* Get the substring transformations interface */
  13. require_once 'abstract/SubstringTransformationsPlugin.class.php';
  14. /**
  15. * Handles the substring transformation for text plain
  16. *
  17. * @package PhpMyAdmin-Transformations
  18. * @subpackage Substring
  19. */
  20. class Text_Plain_Substring extends SubstringTransformationsPlugin
  21. {
  22. /**
  23. * Gets the plugin`s MIME type
  24. *
  25. * @return string
  26. */
  27. public static function getMIMEType()
  28. {
  29. return "Text";
  30. }
  31. /**
  32. * Gets the plugin`s MIME subtype
  33. *
  34. * @return string
  35. */
  36. public static function getMIMESubtype()
  37. {
  38. return "Plain";
  39. }
  40. }
  41. ?>