Text_Plain_Bool2Text.php 943 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Text Plain Bool2Text Transformations plugin for phpMyAdmin
  5. *
  6. * @package PhpMyAdmin-Transformations
  7. * @subpackage Bool2Text
  8. */
  9. namespace PhpMyAdmin\Plugins\Transformations\Output;
  10. use PhpMyAdmin\Plugins\Transformations\Abs\Bool2TextTransformationsPlugin;
  11. /**
  12. * Handles the Boolean to Text transformation for text plain.
  13. * Has one option: the output format (default 'T/F')
  14. * or 'Y/N'
  15. *
  16. * @package PhpMyAdmin-Transformations
  17. * @subpackage Bool2Text
  18. */
  19. // @codingStandardsIgnoreLine
  20. class Text_Plain_Bool2Text extends Bool2TextTransformationsPlugin
  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. }