Text_Plain_Dateformat.php 693 B

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