aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/libraries/classes/Plugins/TransformationsInterface.php
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-01-09 10:55:03 +0100
committerCharles <sircharlesaze@gmail.com>2020-01-09 13:09:38 +0100
commit04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa (patch)
tree5c691241355c943a3c68ddb06b8cf8c60aa11319 /srcs/phpmyadmin/libraries/classes/Plugins/TransformationsInterface.php
parent7e0d85db834d6351ed85d01e5126ac31dc510b86 (diff)
downloadft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.tar.gz
ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.tar.bz2
ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.zip
phpmyadmin working
Diffstat (limited to 'srcs/phpmyadmin/libraries/classes/Plugins/TransformationsInterface.php')
-rw-r--r--srcs/phpmyadmin/libraries/classes/Plugins/TransformationsInterface.php47
1 files changed, 47 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/libraries/classes/Plugins/TransformationsInterface.php b/srcs/phpmyadmin/libraries/classes/Plugins/TransformationsInterface.php
new file mode 100644
index 0000000..2d16d39
--- /dev/null
+++ b/srcs/phpmyadmin/libraries/classes/Plugins/TransformationsInterface.php
@@ -0,0 +1,47 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * Interface for the transformations plugins
+ *
+ * @package PhpMyAdmin
+ */
+declare(strict_types=1);
+
+namespace PhpMyAdmin\Plugins;
+
+/**
+ * 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();
+}