TEMPLATE 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. // vim: expandtab sw=4 ts=4 sts=4:
  3. /**
  4. * This file contains the basic structure for a specific MIME Type and Subtype
  5. * transformations class.
  6. * For instructions, read the documentation
  7. *
  8. * @package PhpMyAdmin-Transformations
  9. * @subpackage [TransformationName]
  10. */
  11. if (! defined('PHPMYADMIN')) {
  12. exit;
  13. }
  14. /* Get the [TransformationName] transformations interface */
  15. require_once 'abstract/[TransformationName]TransformationsPlugin.class.php';
  16. /**
  17. * Handles the [TransformationName] transformation for [MIMEType] - [MIMESubtype]
  18. *
  19. * @package PhpMyAdmin
  20. */
  21. class [MIMEType]_[MIMESubtype]_[TransformationName]
  22. extends [TransformationName]TransformationsPlugin
  23. {
  24. /**
  25. * Gets the plugin`s MIME type
  26. *
  27. * @return string
  28. */
  29. public static function getMIMEType()
  30. {
  31. return "[MIMEType]";
  32. }
  33. /**
  34. * Gets the plugin`s MIME subtype
  35. *
  36. * @return string
  37. */
  38. public static function getMIMESubtype()
  39. {
  40. return "[MIMESubtype]";
  41. }
  42. }
  43. ?>