TransformationsInterface.int.php 875 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Interface for the transformations plugins
  5. *
  6. * @package PhpMyAdmin
  7. */
  8. if (! defined('PHPMYADMIN')) {
  9. exit;
  10. }
  11. /**
  12. * Provides a common interface that will have to be implemented by all of the
  13. * transformations plugins.
  14. *
  15. * @package PhpMyAdmin
  16. */
  17. interface TransformationsInterface
  18. {
  19. /**
  20. * Gets the transformation description
  21. *
  22. * @return string
  23. */
  24. public static function getInfo();
  25. /**
  26. * Gets the specific MIME type
  27. *
  28. * @return string
  29. */
  30. public static function getMIMEType();
  31. /**
  32. * Gets the specific MIME subtype
  33. *
  34. * @return string
  35. */
  36. public static function getMIMESubtype();
  37. /**
  38. * Gets the transformation name of the specific plugin
  39. *
  40. * @return string
  41. */
  42. public static function getName();
  43. }
  44. ?>