summaryrefslogtreecommitdiff
path: root/hugo/libraries/plugins/TransformationsInterface.int.php
diff options
context:
space:
mode:
authorTristan Zur <tzur@web.web.ccwn.org>2014-03-27 22:27:47 +0100
committerTristan Zur <tzur@web.web.ccwn.org>2014-03-27 22:27:47 +0100
commitb62676ca5d3d6f6ba3f019ea3f99722e165a98d8 (patch)
tree86722cb80f07d4569f90088eeaea2fc2f6e2ef94 /hugo/libraries/plugins/TransformationsInterface.int.php
Initial commit of intern.ccwn.org contentsHEADmaster
Diffstat (limited to '')
-rw-r--r--hugo/libraries/plugins/TransformationsInterface.int.php49
1 files changed, 49 insertions, 0 deletions
diff --git a/hugo/libraries/plugins/TransformationsInterface.int.php b/hugo/libraries/plugins/TransformationsInterface.int.php
new file mode 100644
index 0000000..1bcb8af
--- /dev/null
+++ b/hugo/libraries/plugins/TransformationsInterface.int.php
@@ -0,0 +1,49 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Interface for the transformations plugins
+ *
+ * @package PhpMyAdmin
+ */
+if (! defined('PHPMYADMIN')) {
+ exit;
+}
+
+/**
+ * Provides a common interface that will have to be implemented by all of the
+ * transformations plugins.
+ *
+ * @package PhpMyAdmin
+ */
+interface TransformationsInterface
+{
+ /**
+ * Gets the transformation description
+ *
+ * @return string
+ */
+ public static function getInfo();
+
+ /**
+ * Gets the specific MIME type
+ *
+ * @return string
+ */
+ public static function getMIMEType();
+
+ /**
+ * Gets the specific MIME subtype
+ *
+ * @return string
+ */
+ public static function getMIMESubtype();
+
+ /**
+ * Gets the transformation name of the specific plugin
+ *
+ * @return string
+ */
+ public static function getName();
+}
+
+?>