TransformationsInterface.php 859 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. namespace PhpMyAdmin\Plugins;
  9. /**
  10. * Provides a common interface that will have to be implemented by all of the
  11. * transformations plugins.
  12. *
  13. * @package PhpMyAdmin
  14. */
  15. interface TransformationsInterface
  16. {
  17. /**
  18. * Gets the transformation description
  19. *
  20. * @return string
  21. */
  22. public static function getInfo();
  23. /**
  24. * Gets the specific MIME type
  25. *
  26. * @return string
  27. */
  28. public static function getMIMEType();
  29. /**
  30. * Gets the specific MIME subtype
  31. *
  32. * @return string
  33. */
  34. public static function getMIMESubtype();
  35. /**
  36. * Gets the transformation name of the specific plugin
  37. *
  38. * @return string
  39. */
  40. public static function getName();
  41. }